[FFmpeg-devel] [RFC] "Likely" and "Unlikely" macros
Diego 'Flameeyes' Pettenò
Wed Oct 8 00:41:58 CEST 2008
M?ns Rullg?rd <mans at mansr.com> writes:
> You should add a proper prefix (ff_ or av_) to the names, and define
> them conditionally. I don't know when they first appeared in gcc,
> probably some time during 3.x.
Actually, they are already present in libavcodec/alpha/asm.h. There the
check is for GCC 2.96.0 (EGCS I guess).
[I remembered since I changed that file for the FF_GCC_ATLEAST check.
Diego "Flameeyes" Petten?
More information about the ffmpeg-devel