changeset 9593:b8140a218b1d libavcodec

Remove dead assignments found by CSA
author banan
date Sun, 03 May 2009 09:32:40 +0000
parents 05661d19f6d2
children a0517e3590fd
files qtrleenc.c sp5xdec.c
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/qtrleenc.c	Sun May 03 05:42:51 2009 +0000
+++ b/qtrleenc.c	Sun May 03 09:32:40 2009 +0000
@@ -200,7 +200,6 @@
 
     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);
--- a/sp5xdec.c	Sun May 03 05:42:51 2009 +0000
+++ b/sp5xdec.c	Sun May 03 09:32:40 2009 +0000
@@ -41,7 +41,7 @@
     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 @@
         return -1;
 
     buf_ptr = buf;
-    buf_end = buf + buf_size;
 
 #if 1
     recoded = av_mallocz(buf_size + 1024);