summaryrefslogtreecommitdiff
path: root/libavcodec/argo.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-02-09 14:17:41 +0100
committerPaul B Mahol <onemda@gmail.com>2021-02-09 14:18:46 +0100
commit483cf7a1834edeb96cd8907521d2aa3530368081 (patch)
tree6d9289ffff2218e889a0dbaa3d1c2997a0c3895d /libavcodec/argo.c
parentcfcc36240f5019c7645134c7da6503430db9268d (diff)
avcodec/argo: fix linesize for RLE? in PAL8 mode
Diffstat (limited to 'libavcodec/argo.c')
-rw-r--r--libavcodec/argo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/argo.c b/libavcodec/argo.c
index 6b4d449935..7358d102e3 100644
--- a/libavcodec/argo.c
+++ b/libavcodec/argo.c
@@ -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;