lavc/mjpegdec: Only read JFIF thumbnail size if the segment is long enough.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 3 Sep 2016 12:21:46 +0000 (14:21 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 3 Sep 2016 12:21:46 +0000 (14:21 +0200)
commite82b181f8096d20a163b054b8117838437d6b694
tree623cb6d1ba048ad5e68dd1ff59a6808f6d4dbde2
parentb4d7c1f84b0229b481ce16302ff1a5fe879ec940
lavc/mjpegdec: Only read JFIF thumbnail size if the segment is long enough.

Fixes ticket #5805.
libavcodec/mjpegdec.c
libavcodec/version.h