Re: [FFmpeg-devel] [PATCH] pngdec: check s->last_picture.f->data[0] before using it

2015-05-03 Thread Michael Niedermayer
On Sun, May 03, 2015 at 04:21:39PM +0200, Andreas Cadhalpun wrote: > This check was removed in commit 08aec6f6, but > s->last_picture.f->data[0] is still used in handle_p_frame_apng > unconditionally. > > This fixes a segmentation fault. > > Signed-off-by: Andreas Cadhalpun applied thanks [..

[FFmpeg-devel] [PATCH] pngdec: check s->last_picture.f->data[0] before using it

2015-05-03 Thread Andreas Cadhalpun
This check was removed in commit 08aec6f6, but s->last_picture.f->data[0] is still used in handle_p_frame_apng unconditionally. This fixes a segmentation fault. Signed-off-by: Andreas Cadhalpun --- libavcodec/pngdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcode