Commit 4c52adad authored by Michael Niedermayer's avatar Michael Niedermayer

mandelbrot: Fix "warning: passing argument 2 of ‘draw_mandelbrot’ from incompatible pointer type"

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 53cb0de2
......@@ -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);
......
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