summaryrefslogtreecommitdiff
path: root/libavcodec/sp5xdec.c
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2009-05-03 09:32:40 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2009-05-03 09:32:40 +0000
commit6b71ed1678e83017e7d6f4531ff68041e2949e91 (patch)
tree533eb603b6df7ddb8ef9dbd61a13da99d13d6749 /libavcodec/sp5xdec.c
parent66311f86d4dec618eeab5af36e96408eb16cd6a5 (diff)
downloadffmpeg-6b71ed1678e83017e7d6f4531ff68041e2949e91.tar.gz
Remove dead assignments found by CSA
Originally committed as revision 18733 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sp5xdec.c')
-rw-r--r--libavcodec/sp5xdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c
index 62214aadd3..93f98f1a3e 100644
--- a/libavcodec/sp5xdec.c
+++ b/libavcodec/sp5xdec.c
@@ -41,7 +41,7 @@ static int sp5x_decode_frame(AVCodecContext *avctx,
MJpegDecodeContext *s = avctx->priv_data;
#endif
const int qscale = 5;
- const uint8_t *buf_ptr, *buf_end;
+ const uint8_t *buf_ptr;
uint8_t *recoded;
int i = 0, j = 0;
@@ -49,7 +49,6 @@ static int sp5x_decode_frame(AVCodecContext *avctx,
return -1;
buf_ptr = buf;
- buf_end = buf + buf_size;
#if 1
recoded = av_mallocz(buf_size + 1024);