diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-11-25 19:29:19 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-11-25 19:40:11 +0100 |
commit | 9d2b5762d3a29e4b2758d3ca1a7d70e362c6febf (patch) | |
tree | fa58414413c8abf0bb46b3b6be21f973fbf1e639 | |
parent | 9c8b977c1ecb62c4591f2391ed9a1d69f54d9a69 (diff) | |
download | ffmpeg-9d2b5762d3a29e4b2758d3ca1a7d70e362c6febf.tar.gz |
avfilter/avf_a3dscope: fix crash when using vflip filter
-rw-r--r-- | libavfilter/avf_a3dscope.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |