avcodec/mjpegdec: only run EOI emulation code when there was a scan
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Jan 2014 03:56:13 +0000 (04:56 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 19 Jan 2014 13:38:03 +0000 (14:38 +0100)
commitd81ccf1fb22958041e71d9e6d562a77fb7579d96
tree263f05958befde157451007ce1a9987965023134
parent67d20495f592e120b596dcacf14a7193de2dfb8f
avcodec/mjpegdec: only run EOI emulation code when there was a scan

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 361e27a3d8096baacc45d2551a1ebfcbfdaa6a67)
libavcodec/mjpegdec.c