changeset 10336:a554d7e29e99 libavcodec

lavc MJPEG decoder is capable of decoding some extended sequential Huffman-compressed JPEG files, so make it decode those files (samples are welcome). This fixes issue 1420
author kostya
date Thu, 01 Oct 2009 05:52:38 +0000
parents 3b0a2384ff9f
children d1014913ad1b
files mjpegdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mjpegdec.c	Thu Oct 01 05:46:17 2009 +0000
+++ b/mjpegdec.c	Thu Oct 01 05:52:38 2009 +0000
@@ -1374,6 +1374,7 @@
                     }
                     break;
                 case SOF0:
+                case SOF1:
                     s->lossless=0;
                     s->ls=0;
                     s->progressive=0;
@@ -1451,7 +1452,6 @@
                 case DRI:
                     mjpeg_decode_dri(s);
                     break;
-                case SOF1:
                 case SOF5:
                 case SOF6:
                 case SOF7: