aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorD Richard Felker III <dalias@aerifal.cx>2005-12-20 23:07:25 +0000
committerD Richard Felker III <dalias@aerifal.cx>2005-12-20 23:07:25 +0000
commit762b5cd50ca16676b24aecc458b486b443cb4a78 (patch)
tree7740bf30cab0fa08497f08f3cc2dec4c7749773f /libavcodec
parent1e4668d160ee34dd64a4f8b3a316d5d47e860833 (diff)
downloadffmpeg-762b5cd50ca16676b24aecc458b486b443cb4a78.tar.gz
10l to michael for breaking gcc 2.95 compile :)
Originally committed as revision 4760 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mjpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c
index 3322bcc838..835328713a 100644
--- a/libavcodec/mjpeg.c
+++ b/libavcodec/mjpeg.c
@@ -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 */