mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
mandelbrot: Fix "warning: passing argument 2 of ‘draw_mandelbrot’ from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
53cb0de25b
commit
4c52adad69
@ -287,7 +287,7 @@ static int request_frame(AVFilterLink *link)
|
||||
picref->pos = -1;
|
||||
|
||||
avfilter_start_frame(link, avfilter_ref_buffer(picref, ~0));
|
||||
draw_mandelbrot(link->src, picref->data[0], picref->linesize[0]/4, picref->pts);
|
||||
draw_mandelbrot(link->src, (uint32_t*)picref->data[0], picref->linesize[0]/4, picref->pts);
|
||||
avfilter_draw_slice(link, 0, mb->h, 1);
|
||||
avfilter_end_frame(link);
|
||||
avfilter_unref_buffer(picref);
|
||||
|
Loading…
x
Reference in New Issue
Block a user