Commit 9d2b5762 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/avf_a3dscope: fix crash when using vflip filter

parent 9c8b977c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment