[FFmpeg-cvslog] mandelbrot: Fix "warning: passing argument 2 of ‘draw_mandelbrot =?UTF-8?Q?=E2=80=99=20from=20incompatible?==?UTF-8?Q?=20pointer=20type?="

Michael Niedermayer git at videolan.org
Tue Nov 15 17:30:14 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov 15 17:12:52 2011 +0100| [4c52adad697f5b1cb8b810ca8c0b2107bcbd9f33] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4c52adad697f5b1cb8b810ca8c0b2107bcbd9f33
---

 libavfilter/vsrc_mandelbrot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index eef3b9e..9ebab01 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -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);



More information about the ffmpeg-cvslog mailing list