Re: [FFmpeg-devel] [PATCH 1/2] avcodec/ralf: Move frame allocation after error checks

2022-09-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/ralf.c | 11 +-- > 1 file changed, 5 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/ralf.c b/libavcodec/ralf.c > index 20c5f060d0..8f8e49f535 100644 > --- a/libavcodec/ralf.c > +++ b/libavcodec/ralf.c >

[FFmpeg-devel] [PATCH 1/2] avcodec/ralf: Move frame allocation after error checks

2022-09-07 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/ralf.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/ralf.c b/libavcodec/ralf.c index 20c5f060d0..8f8e49f535 100644 --- a/libavcodec/ralf.c +++ b/libavcodec/ralf.c @@ -451,12 +451,6 @@ static int decode_