[FFmpeg-cvslog] yadif: Fix assignment from incompatible pointer type warning

Michael Niedermayer git at videolan.org
Wed Oct 19 00:28:51 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 18 23:59:20 2011 +0200| [abe9c54f145166e7e27f3eda85051a188e5c3a93] | committer: Michael Niedermayer

yadif: Fix assignment from incompatible pointer type warning

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

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

 libavfilter/vf_yadif.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index c3fd93c..3d81b94 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -211,7 +211,7 @@ static void return_frame(AVFilterContext *ctx, int is_second)
     if (!yadif->csp)
         yadif->csp = &av_pix_fmt_descriptors[link->format];
     if (yadif->csp->comp[0].depth_minus1 == 15)
-        yadif->filter_line = filter_line_c_16bit;
+        yadif->filter_line = (void*)filter_line_c_16bit;
 
     filter(ctx, yadif->out, tff ^ !is_second, tff);
 



More information about the ffmpeg-cvslog mailing list