diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2009-05-03 09:32:40 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2009-05-03 09:32:40 +0000 |
commit | 6b71ed1678e83017e7d6f4531ff68041e2949e91 (patch) | |
tree | 533eb603b6df7ddb8ef9dbd61a13da99d13d6749 | |
parent | 66311f86d4dec618eeab5af36e96408eb16cd6a5 (diff) | |
download | ffmpeg-6b71ed1678e83017e7d6f4531ff68041e2949e91.tar.gz |
Remove dead assignments found by CSA
Originally committed as revision 18733 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/qtrleenc.c | 1 | ||||
-rw-r--r-- | libavcodec/sp5xdec.c | 3 | ||||
-rw-r--r-- | libavformat/mtv.c | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c index 171ac25b48..3f0cc8735e 100644 --- a/libavcodec/qtrleenc.c +++ b/libavcodec/qtrleenc.c @@ -200,7 +200,6 @@ static void qtrle_encode_line(QtrleEncContext *s, AVFrame *p, int line, uint8_t i=0; this_line = p-> data[0] + line*p->linesize[0]; - prev_line = s->previous_frame.data[0] + line*p->linesize[0]; if (s->rlecode_table[0] == 0) { bytestream_put_byte(buf, s->skip_table[0] + 1); 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); diff --git a/libavformat/mtv.c b/libavformat/mtv.c index dd488ad458..564cb44762 100644 --- a/libavformat/mtv.c +++ b/libavformat/mtv.c @@ -133,8 +133,6 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt) int i; #endif - ret = 0; - if((url_ftell(pb) - s->data_offset + mtv->img_segment_size) % mtv->full_segment_size) { url_fskip(pb, MTV_AUDIO_PADDING_SIZE); |