Browse Source

avcodec/qdrw: fix writing past end of row

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.3
Paul B Mahol 9 years ago
parent
commit
4e6b44559a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/qdrw.c

+ 1
- 1
libavcodec/qdrw.c View File

@@ -70,7 +70,7 @@ static int parse_palette(AVCodecContext *avctx, GetByteContext *gbc,

static int decode_rle16(AVCodecContext *avctx, AVFrame *p, GetByteContext *gbc)
{
int offset = avctx->width * 2;
int offset = avctx->width;
uint8_t *outdata = p->data[0];
int i, j;



Loading…
Cancel
Save