diff dsputil.c @ 10867:bf309c7ce615 libavcodec

More av_cold for infrequently called functions.
author zuxy
date Wed, 13 Jan 2010 02:16:00 +0000
parents 5cca4b6c459d
children a8620b001ed3
line wrap: on
line diff
--- a/dsputil.c	Wed Jan 13 01:59:19 2010 +0000
+++ b/dsputil.c	Wed Jan 13 02:16:00 2010 +0000
@@ -4452,7 +4452,7 @@
 static void just_return(void *mem av_unused, int stride av_unused, int h av_unused) { return; }
 
 /* init static data */
-void dsputil_static_init(void)
+av_cold void dsputil_static_init(void)
 {
     int i;
 
@@ -4489,7 +4489,7 @@
     return 0;
 }
 
-void dsputil_init(DSPContext* c, AVCodecContext *avctx)
+av_cold void dsputil_init(DSPContext* c, AVCodecContext *avctx)
 {
     int i;