More av_cold for infrequently called functions.

Originally committed as revision 21179 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Zuxy Meng 2010-01-13 02:16:00 +00:00
parent e1e949026e
commit 0752cd39d2
7 changed files with 8 additions and 8 deletions

View file

@ -662,7 +662,7 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
return ret;
}
int avcodec_close(AVCodecContext *avctx)
av_cold int avcodec_close(AVCodecContext *avctx)
{
/* If there is a user-supplied mutex locking routine, call it. */
if (ff_lockmgr_cb) {