Re: [FFmpeg-devel] [PATCH] snow_dwt: Don't try and free members of non-existent arrays

2014-12-15 Thread Michael Niedermayer
On Mon, Dec 15, 2014 at 10:57:28PM +, Derek Buitenhuis wrote: > If allocation fails earlier on, and thd next frame is processed, > the slice buffer could be left in a state where line and data_stack > have already been freed, or are otherwise null pointers. > > Signed-off-by: Derek Buitenhuis

[FFmpeg-devel] [PATCH] snow_dwt: Don't try and free members of non-existent arrays

2014-12-15 Thread Derek Buitenhuis
If allocation fails earlier on, and thd next frame is processed, the slice buffer could be left in a state where line and data_stack have already been freed, or are otherwise null pointers. Signed-off-by: Derek Buitenhuis --- libavcodec/snow_dwt.c | 9 +++-- 1 file changed, 7 insertions(+),