[FFmpeg-devel] [FFmpeg-cvslog] vf_yadif: silence a warning.

Nicolas George nicolas.george at normalesup.org
Thu Feb 14 14:32:14 CET 2013


Le sextidi 26 pluviôse, an CCXXI, James Darnley a écrit :
> Is it ugly enough that you would be willing to commit a revert?  Or are
> these changes wanted because the existing line (quoted below) wasn't
> enough to make that compiler be quiet.
> > yadif->filter_line = (void*)filter_line_c_16bit;

I am not sure whether this can be the problem, but I notice that in strict
conformance with the C standard, (void *) is not a valid cast for a function
pointer. Casting filter_line_c_16bit to the exact type of filter_line may be
better.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130214/06fbc28c/attachment.asc>


More information about the ffmpeg-devel mailing list