10l to michael for breaking gcc 2.95 compile :)
authorD Richard Felker III <dalias@aerifal.cx>
Tue, 20 Dec 2005 23:07:25 +0000 (23:07 +0000)
committerD Richard Felker III <dalias@aerifal.cx>
Tue, 20 Dec 2005 23:07:25 +0000 (23:07 +0000)
Originally committed as revision 4760 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mjpeg.c

index 3322bcc8386f95d95487643a471b7db4a8459d07..835328713a55a82213a33e989ecb158001ac964e 100644 (file)
@@ -1484,6 +1484,7 @@ static int mjpeg_decode_sos(MJpegDecodeContext *s)
     int len, nb_components, i, h, v, predictor, point_transform;
     int vmax, hmax, index, id;
     const int block_size= s->lossless ? 1 : 8;
+    int ilv;
 
     /* XXX: verify len field validity */
     len = get_bits(&s->gb, 16);
@@ -1547,7 +1548,7 @@ static int mjpeg_decode_sos(MJpegDecodeContext *s)
     }
 
     predictor= get_bits(&s->gb, 8); /* JPEG Ss / lossless JPEG predictor /JPEG-LS NEAR */
-    int ilv= get_bits(&s->gb, 8);    /* JPEG Se / JPEG-LS ILV */
+    ilv= get_bits(&s->gb, 8);    /* JPEG Se / JPEG-LS ILV */
     skip_bits(&s->gb, 4); /* Ah */
     point_transform= get_bits(&s->gb, 4); /* Al */