[FFmpeg-cvslog] r18733 - in trunk: libavcodec/qtrleenc.c libavcodec/sp5xdec.c libavformat/mtv.c
banan
subversion
Sun May 3 11:32:41 CEST 2009
Author: banan
Date: Sun May 3 11:32:40 2009
New Revision: 18733
Log:
Remove dead assignments found by CSA
Modified:
trunk/libavcodec/qtrleenc.c
trunk/libavcodec/sp5xdec.c
trunk/libavformat/mtv.c
Modified: trunk/libavcodec/qtrleenc.c
==============================================================================
--- trunk/libavcodec/qtrleenc.c Sun May 3 07:42:51 2009 (r18732)
+++ trunk/libavcodec/qtrleenc.c Sun May 3 11:32:40 2009 (r18733)
@@ -200,7 +200,6 @@ static void qtrle_encode_line(QtrleEncCo
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);
Modified: trunk/libavcodec/sp5xdec.c
==============================================================================
--- trunk/libavcodec/sp5xdec.c Sun May 3 07:42:51 2009 (r18732)
+++ trunk/libavcodec/sp5xdec.c Sun May 3 11:32:40 2009 (r18733)
@@ -41,7 +41,7 @@ static int sp5x_decode_frame(AVCodecCont
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(AVCodecCont
return -1;
buf_ptr = buf;
- buf_end = buf + buf_size;
#if 1
recoded = av_mallocz(buf_size + 1024);
Modified: trunk/libavformat/mtv.c
==============================================================================
--- trunk/libavformat/mtv.c Sun May 3 07:42:51 2009 (r18732)
+++ trunk/libavformat/mtv.c Sun May 3 11:32:40 2009 (r18733)
@@ -133,8 +133,6 @@ static int mtv_read_packet(AVFormatConte
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);
More information about the ffmpeg-cvslog
mailing list