Make the MJPEG decoder return -1 when no image was decoded so that decode
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 4 Jul 2009 18:22:33 +0000 (18:22 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 4 Jul 2009 18:22:33 +0000 (18:22 +0000)
commit1496b04c28ba9ef291bef1936641bff364484075
tree6e930897738a5c22b801f5426b38e3787d11f47a
parent643fd8a198ddb67225f5edd503f8f151d13635a3
Make the MJPEG decoder return -1 when no image was decoded so that decode
errors are actually recognizable as such.

Originally committed as revision 19343 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpegdec.c