1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-28 16:02:17 +02:00

avfilter/avf_a3dscope: fix crash when using vflip filter

This commit is contained in:
Paul B Mahol 2022-11-25 19:29:19 +01:00
parent 9c8b977c1e
commit 9d2b5762d3

View File

@ -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;