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:
Michael Niedermayer 2011-11-15 17:12:52 +01:00
parent 53cb0de25b
commit 4c52adad69
1 changed files with 1 additions and 1 deletions

View File

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