[FFmpeg-cvslog] avcodec/lcldec: fix decoding with AVFrame's negative linesize
Paul B Mahol
git at videolan.org
Sat Sep 23 00:38:39 EEST 2023
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Sep 22 23:32:01 2023 +0200| [87cf1be90508465674fbdf55e350a03070e0d6af] | committer: Paul B Mahol
avcodec/lcldec: fix decoding with AVFrame's negative linesize
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87cf1be90508465674fbdf55e350a03070e0d6af
---
libavcodec/lcldec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c
index ed78d9d570..11e28683ba 100644
--- a/libavcodec/lcldec.c
+++ b/libavcodec/lcldec.c
@@ -167,7 +167,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *frame,
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
LclDecContext * const c = avctx->priv_data;
- unsigned int pixel_ptr;
+ ptrdiff_t pixel_ptr;
int row, col;
unsigned char *encoded = avpkt->data, *outptr;
uint8_t *y_out, *u_out, *v_out;
More information about the ffmpeg-cvslog
mailing list