diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-05-03 16:21:39 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-05-14 19:08:54 +0200 |
commit | 835037506bc3ca09a28dbbb25f122423f2c74283 (patch) | |
tree | 3f290ca59d54f80ca69b542c27294f2b1eb43b77 /cmdutils_opencl.c | |
parent | 2f290cf8815b66849334453273df64ed1d1b1bfe (diff) | |
download | ffmpeg-835037506bc3ca09a28dbbb25f122423f2c74283.tar.gz |
pngdec: check s->last_picture.f->data[0] before using it
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 <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 287dbb0771d558b336e377d0594e26c0a6291755)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'cmdutils_opencl.c')
0 files changed, 0 insertions, 0 deletions