[FFmpeg-cvslog] avfilter/avf_a3dscope: fix crash when using vflip filter
Paul B Mahol
git at videolan.org
Fri Nov 25 20:46:39 EET 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Nov 25 19:29:19 2022 +0100| [9d2b5762d3a29e4b2758d3ca1a7d70e362c6febf] | committer: Paul B Mahol
avfilter/avf_a3dscope: fix crash when using vflip filter
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d2b5762d3a29e4b2758d3ca1a7d70e362c6febf
---
libavfilter/avf_a3dscope.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avf_a3dscope.c b/libavfilter/avf_a3dscope.c
index f3bb39feaf..089c8d8c01 100644
--- a/libavfilter/avf_a3dscope.c
+++ b/libavfilter/avf_a3dscope.c
@@ -209,7 +209,7 @@ static void view_matrix(const float eye[3],
static void draw_dot(AVFrame *out, unsigned x, unsigned y, float z,
int r, int g, int b)
{
- const int linesize = out->linesize[0];
+ const ptrdiff_t linesize = out->linesize[0];
uint8_t *dst;
dst = out->data[0] + y * linesize + x * 4;
More information about the ffmpeg-cvslog
mailing list