Re: [FFmpeg-devel] [PATCH] libavformat/avidec: check memory allocation

2020-10-15 Thread Michael Niedermayer
On Tue, Oct 13, 2020 at 02:22:25PM +1100, Chris Miceli wrote: > Memory allocation for AVIOContext should be checked. In this code, > all error conditions are sent to the "goto error". > --- > libavformat/avidec.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) will apply thx [..

[FFmpeg-devel] [PATCH] libavformat/avidec: check memory allocation

2020-10-12 Thread Chris Miceli
Memory allocation for AVIOContext should be checked. In this code, all error conditions are sent to the "goto error". --- libavformat/avidec.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 9765e5e7b2..33e50e9878 100644