1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/argo: fix linesize for RLE? in PAL8 mode

This commit is contained in:
Paul B Mahol 2021-02-09 14:17:41 +01:00
parent cfcc36240f
commit 483cf7a183

View File

@ -565,7 +565,7 @@ static int decode_rle(AVCodecContext *avctx, AVFrame *frame)
GetByteContext *gb = &s->gb;
const int w = frame->width;
const int h = frame->height;
const int l = frame->linesize[0] / 4;
const int l = frame->linesize[0];
uint8_t *dst = frame->data[0];
int pos = 0, y = 0;