[FFmpeg-devel] [PATCH] Add missing av_cold

Michael Niedermayer michaelni
Sat Feb 21 11:49:04 CET 2009

On Thu, Feb 19, 2009 at 10:15:01PM -0600, Daniel Verkamp wrote:
> Hi,
> Attached patch adds av_cold to a number of functions found with a simple
>   grep "static.*init" *.c | grep -v av_cold
> in libavcodec followed by manual inspection.
> Some of these are unnecessary if the compiler is smart enough to mark
> static functions only called from within cold functions as cold... but
> they probably don't hurt anyway, at least to avoid lazy greppers like
> myself re-reporting them. ;)

looks ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090221/182a7c24/attachment.pgp>

More information about the ffmpeg-devel mailing list