[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil
Tue Mar 18 16:18:22 CET 2008
On Tue, Mar 18, 2008 at 01:09:51PM +0800, Zuxy Meng wrote:
> The attached patch adds proper GCC attributes to functions in
> libavutil, exposing more optimization opportunities to the compiler,
> especially for a lousy client of that lib.
and besides these you should also add
attribute(alloc_size) to av_m/realloc()
and attribute(cold) to all init/uninit functions over lav* :)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel