diff utils.c @ 10867:bf309c7ce615 libavcodec

More av_cold for infrequently called functions.
author zuxy
date Wed, 13 Jan 2010 02:16:00 +0000
parents f20726a6d538
children 31bdf73a0330
line wrap: on
line diff
--- a/utils.c	Wed Jan 13 01:59:19 2010 +0000
+++ b/utils.c	Wed Jan 13 02:16:00 2010 +0000
@@ -662,7 +662,7 @@
     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) {