[FFmpeg-cvslog] rl2: remove dead assignment

Mans Rullgard git at videolan.org
Mon Jul 2 21:24:10 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jul  1 13:43:44 2012 +0100| [800ab1bafa0698bdac32061c1bc72d5e04821e96] | committer: Mans Rullgard

rl2: remove dead assignment

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=800ab1bafa0698bdac32061c1bc72d5e04821e96
---

 libavcodec/rl2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c
index 9b21bb6..4d1937a 100644
--- a/libavcodec/rl2.c
+++ b/libavcodec/rl2.c
@@ -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++){



More information about the ffmpeg-cvslog mailing list