rl2: remove dead assignment
authorMans Rullgard <mans@mansr.com>
Sun, 1 Jul 2012 12:43:44 +0000 (13:43 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 1 Jul 2012 19:38:14 +0000 (20:38 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/rl2.c

index 9b21bb6..4d1937a 100644 (file)
@@ -64,7 +64,7 @@ static void rl2_rle_decode(Rl2Context *s,const unsigned char* in,int size,
     const unsigned char* back_frame = s->back_frame;
     const unsigned char* in_end = in + size;
     const unsigned char* out_end = out + stride * s->avctx->height;
-    unsigned char* line_end = out + s->avctx->width;
+    unsigned char* line_end;
 
     /** copy start of the background frame */
     for(i=0;i<=base_y;i++){