You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/qdrw: fix writing past end of row
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user