[FFmpeg-cvslog] avfilter/vf_yadif: fix "incompatible pointer type" warning

Michael Niedermayer git at videolan.org
Thu Sep 5 21:07:55 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Sep  5 19:58:45 2013 +0200| [4ff5b2683cc8458a9de146b07254c778910fa088] | committer: Michael Niedermayer

avfilter/vf_yadif: fix "incompatible pointer type" warning

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

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

 libavfilter/vf_yadif.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index 8f851e7..38b6606 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -302,7 +302,7 @@ static void fixstride(AVFilterLink *link, AVFrame *f)
         return;
     av_frame_copy_props(dst, f);
     av_image_copy(dst->data, dst->linesize,
-                  f->data, f->linesize,
+                  (const uint8_t **)f->data, f->linesize,
                   dst->format, dst->width, dst->height);
     av_frame_unref(f);
     av_frame_move_ref(f, dst);



More information about the ffmpeg-cvslog mailing list