[FFmpeg-devel] [PATCH 1/2] lavfi/yadif: remove unnecessary cast

James Darnley james.darnley at gmail.com
Fri Feb 15 23:48:30 CET 2013


Finish what 99162f8 started
---
 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 56bd61a..0adad55 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -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);
 
-- 
1.7.9



More information about the ffmpeg-devel mailing list