[FFmpeg-cvslog] Remove pointless av_cold attributes in header files

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Feb 24 17:29:23 CET 2013


On Sun, Feb 24, 2013 at 02:37:48PM +0100, Diego Biurrun wrote:
> ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Feb  9 16:19:27 2013 +0100| [94ee7da08d2af875f485d4f784d50726cf3078f4] | committer: Diego Biurrun
> 
> Remove pointless av_cold attributes in header files
> 
> The init functions marked as av_cold have to be executed in any case,
> so there is no gain from trying to mark paths leading to such functions
> as unlikely.

In case someone else doesn't understand this commit message:
It seems these functions are all marked as av_cold in the .c files,
so stuff like grouping them together can be done without having av_cold
in the headers.
The idea then I guess is that any other optimizations the compiler might be
doing are unlikely to be relevant.


More information about the ffmpeg-cvslog mailing list