changeset 2976:b5e8b6821274 libavcodec

10l to michael for breaking gcc 2.95 compile :)
author rfelker
date Tue, 20 Dec 2005 23:07:25 +0000
parents 18e7ecf83aa2
children 49c6f104a76f
files mjpeg.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mjpeg.c	Mon Dec 19 18:26:17 2005 +0000
+++ b/mjpeg.c	Tue Dec 20 23:07:25 2005 +0000
@@ -1484,6 +1484,7 @@
     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 @@
     }
 
     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 */