avcodec/mjpegdec: Dont skip picture allocation if theres no picture allocated
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 19 Jan 2014 15:44:58 +0000 (16:44 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Mon, 20 Jan 2014 21:39:50 +0000 (22:39 +0100)
commitb902ba478c81909422668fa7da7878848d792e52
tree72eefbe563c92971948255a88ec78a3b74c336c1
parentf0fabcc6ed0d6e1db9630ce975afeec2bfa3ede7
avcodec/mjpegdec: Dont skip picture allocation if theres no picture allocated

Fixes Ticket 3245
(cherry picked from commit ad8d063f230c05f8b5efbd05cc5a9f51a2549dcf)
libavcodec/mjpegdec.c