vf_copy: silence "incompatible pointer type" warning
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 11 May 2013 13:51:27 +0000 (15:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 11 May 2013 13:51:27 +0000 (15:51 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_copy.c

index df7ec31..b9859c4 100644 (file)
@@ -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);