[FFmpeg-devel] [PATCH 1/2] Fix clashes with 'I' and 'complex' defined in complex.h
protogonoi at gmail.com
Wed May 7 15:42:23 CEST 2014
complex.h creates defines for 'I' and 'complex' which clash with several
identically named variables used within FFmpeg. This is only an issue when
including complex.h which previously has never been done (hence no problem
previously). However complex.h is included automatically by icl's math.h
header which breaks compilation with icl (and math.h is included almost
This patch simply renames the offending variables. i.e. 'I' -> 'i' etc.
Only difference is in vp8/vp9 where 'I' was used for "Internal Difference"
to keep all things consistent with the capitalisation of the other
variables this was changed to 'D' (for Difference). The exact renaming is
not important but the chosen values seemed the most suitable.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 26054 bytes
Desc: not available
More information about the ffmpeg-devel