From 762b5cd50ca16676b24aecc458b486b443cb4a78 Mon Sep 17 00:00:00 2001 From: D Richard Felker III Date: Tue, 20 Dec 2005 23:07:25 +0000 Subject: [PATCH] 10l to michael for breaking gcc 2.95 compile :) Originally committed as revision 4760 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mjpeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index 3322bcc83..835328713 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 */ -- 2.34.1