From abe9c54f145166e7e27f3eda85051a188e5c3a93 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 18 Oct 2011 23:59:20 +0200 Subject: [PATCH] yadif: Fix assignment from incompatible pointer type warning Signed-off-by: Michael Niedermayer --- 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 c3fd93c6d0..3d81b94712 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);