[FFmpeg-cvslog] avcodec/argo: fix linesize for RLE? in PAL8 mode

Paul B Mahol git at videolan.org
Tue Feb 9 15:18:59 EET 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Feb  9 14:17:41 2021 +0100| [483cf7a1834edeb96cd8907521d2aa3530368081] | committer: Paul B Mahol

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=483cf7a1834edeb96cd8907521d2aa3530368081
---

 libavcodec/argo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 



More information about the ffmpeg-cvslog mailing list