mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/avf_a3dscope: fix crash when using vflip filter
This commit is contained in:
parent
9c8b977c1e
commit
9d2b5762d3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user