diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-15 10:15:24 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-01-05 17:00:40 -0500 |
commit | c5c7e3e6f7cf17943c04bd078f260eaf789afbc9 (patch) | |
tree | cb40b5ec195b4ae721bad7a5015028246e74876b /libavformat/rtpdec_qt.c | |
parent | 5e7a5dd70b519121973ca243a802ee4eef4ed961 (diff) | |
download | ffmpeg-c5c7e3e6f7cf17943c04bd078f260eaf789afbc9.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
(cherry picked from commit c453723ad7d14abc5e82677eebaa6025fa598f08)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavformat/rtpdec_qt.c')
0 files changed, 0 insertions, 0 deletions