yadif: Fix assignment from incompatible pointer type warning
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Oct 2011 21:59:20 +0000 (23:59 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Oct 2011 21:59:20 +0000 (23:59 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_yadif.c

index c3fd93c..3d81b94 100644 (file)
@@ -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);