From efaa2e01e6d2642d0551f7c30baf8ddf77e66865 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 11 May 2013 15:51:27 +0200 Subject: [PATCH] vf_copy: silence "incompatible pointer type" warning Signed-off-by: Michael Niedermayer --- libavfilter/vf_copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_copy.c b/libavfilter/vf_copy.c index df7ec3120d..b9859c41b6 100644 --- a/libavfilter/vf_copy.c +++ b/libavfilter/vf_copy.c @@ -37,7 +37,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) return AVERROR(ENOMEM); } av_frame_copy_props(out, in); - av_image_copy(out->data, out->linesize, in->data, in->linesize, + av_image_copy(out->data, out->linesize, (const uint8_t**) in->data, in->linesize, in->format, in->width, in->height); av_frame_free(&in);