diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-15 10:15:24 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-21 20:52:42 +0100 |
commit | c453723ad7d14abc5e82677eebaa6025fa598f08 (patch) | |
tree | 525444bc5c740a60c3b3407cf33fcee054ac9ccd /libavcodec/srtdec.c | |
parent | 074c769de93bf12e9f44d77e58a8c7167f9dfb13 (diff) | |
download | ffmpeg-c453723ad7d14abc5e82677eebaa6025fa598f08.tar.gz |
gifdec: check that the image dimensions are non-zero
Also add an error message an return a more suitable error code
(INVALIDDATA, not EINVAL);
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
Diffstat (limited to 'libavcodec/srtdec.c')
0 files changed, 0 insertions, 0 deletions