aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rl2.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-07-01 13:43:44 +0100
committerMans Rullgard <mans@mansr.com>2012-07-01 20:38:14 +0100
commit800ab1bafa0698bdac32061c1bc72d5e04821e96 (patch)
treef48837fbc14a144e6c55f23041d97ad96441801d /libavcodec/rl2.c
parent1c2c64edac4bd2b65b6d2f8d1489eed40f8a5458 (diff)
downloadffmpeg-800ab1bafa0698bdac32061c1bc72d5e04821e96.tar.gz
rl2: remove dead assignment
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/rl2.c')
-rw-r--r--libavcodec/rl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c
index 9b21bb6c68..4d1937a4b4 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++){