diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-04-17 13:03:56 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-04-17 13:03:56 +0000 |
commit | 806d5e61dc4b9c85b22a656c1f1da41a851b2f78 (patch) | |
tree | 5ab13b8fb8f51d459a57a9d82f84a71052d94b01 | |
parent | c2394854edf85af75c36ef974fa85433b0c15fc0 (diff) | |
download | ffmpeg-806d5e61dc4b9c85b22a656c1f1da41a851b2f78.tar.gz |
Remove unused variables from ff_mjpeg_decode_sos() found by CSA.
Originally committed as revision 18548 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mjpegdec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 1463d115d3..150e835269 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -885,7 +885,7 @@ static int mjpeg_decode_scan_progressive_ac(MJpegDecodeContext *s, int ss, int s int ff_mjpeg_decode_sos(MJpegDecodeContext *s) { int len, nb_components, i, h, v, predictor, point_transform; - int vmax, hmax, index, id; + int index, id; const int block_size= s->lossless ? 1 : 8; int ilv, prev_shift; @@ -897,8 +897,6 @@ int ff_mjpeg_decode_sos(MJpegDecodeContext *s) av_log(s->avctx, AV_LOG_ERROR, "decode_sos: invalid len (%d)\n", len); return -1; } - vmax = 0; - hmax = 0; for(i=0;i<nb_components;i++) { id = get_bits(&s->gb, 8) - 1; av_log(s->avctx, AV_LOG_DEBUG, "component: %d\n", id); |