lavfi/yadif: remove unnecessary cast
authorJames Darnley <james.darnley@gmail.com>
Fri, 15 Feb 2013 22:48:30 +0000 (23:48 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 15 Feb 2013 23:32:02 +0000 (00:32 +0100)
Finish what 99162f8 started

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_yadif.c

index 56bd61a..0adad55 100644 (file)
@@ -201,7 +201,7 @@ static int return_frame(AVFilterContext *ctx, int is_second)
     if (!yadif->csp)
         yadif->csp = av_pix_fmt_desc_get(link->format);
     if (yadif->csp->comp[0].depth_minus1 / 8 == 1)
-        yadif->filter_line = (void*)filter_line_c_16bit;
+        yadif->filter_line = filter_line_c_16bit;
 
     filter(ctx, yadif->out, tff ^ !is_second, tff);