From 2982b02b799d6073833a662e2d7e089d27f92cba Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 18 Oct 2011 23:58:41 +0200 Subject: [PATCH] vsrc_buffer: FIx incompatible pointer type warning Signed-off-by: Michael Niedermayer --- libavfilter/vsrc_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c index 715bd9dee2..6ce2490211 100644 --- a/libavfilter/vsrc_buffer.c +++ b/libavfilter/vsrc_buffer.c @@ -105,7 +105,7 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter, c->picref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE, picref->video->w, picref->video->h); av_image_copy(c->picref->data, c->picref->linesize, - picref->data, picref->linesize, + (void*)picref->data, picref->linesize, picref->format, picref->video->w, picref->video->h); avfilter_copy_buffer_ref_props(c->picref, picref);