avfilter: Silence warning: passing argument 3 of av_image_copy from incompatible...
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 23 Feb 2013 11:08:05 +0000 (12:08 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 23 Feb 2013 11:08:05 +0000 (12:08 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.c

index 7c0bee6..ffd1b4e 100644 (file)
@@ -690,7 +690,7 @@ static int ff_filter_frame_framed(AVFilterLink *link, AVFilterBufferRef *frame)
 
         switch (link->type) {
         case AVMEDIA_TYPE_VIDEO:
-            av_image_copy(out->data, out->linesize, frame->data, frame->linesize,
+            av_image_copy(out->data, out->linesize, (const uint8_t **)frame->data, frame->linesize,
                           frame->format, frame->video->w, frame->video->h);
             break;
         case AVMEDIA_TYPE_AUDIO: