avcodec/mjpegdec: Do not try to detect last scan but apply idct after all scans for...
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 2 May 2016 10:45:14 +0000 (12:45 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 2 May 2016 21:59:14 +0000 (23:59 +0200)
commit342b6d371895cd036a626d6dc8cf17650e8ffc0a
tree7ac24b39511a8acf2efd61b550ba645e5342a65a
parent74b8c4a60bb9af340773b82b7c64833af15ae612
avcodec/mjpegdec: Do not try to detect last scan but apply idct after all scans for progressive jpeg

Fixes: IMG-20160418-WA0002.jpg

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit deaf58abf236e09fc9b97db29f1edd064e4b5ad4)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mjpegdec.c