[FFmpeg-cvslog] vf_copy: silence "incompatible pointer type" warning

Michael Niedermayer git at videolan.org
Sat May 11 16:59:02 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May 11 15:51:27 2013 +0200| [efaa2e01e6d2642d0551f7c30baf8ddf77e66865] | committer: Michael Niedermayer

vf_copy: silence "incompatible pointer type" warning

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

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

 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 df7ec31..b9859c4 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);



More information about the ffmpeg-cvslog mailing list