summaryrefslogtreecommitdiff
path: root/libavcodec/rl2.c
diff options
context:
space:
mode:
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++){