diff options
author | Zuxy Meng <zuxy.meng@gmail.com> | 2010-01-13 02:16:00 +0000 |
---|---|---|
committer | Zuxy Meng <zuxy.meng@gmail.com> | 2010-01-13 02:16:00 +0000 |
commit | 0752cd39d27d08cb9530a0450bfa8e54913bfa69 (patch) | |
tree | 0a96d715f883577b1bd1775f09700ac92fa25253 /libavcodec/dsputil.c | |
parent | e1e949026ec552b206306da00bf90fc797542fe5 (diff) | |
download | ffmpeg-0752cd39d27d08cb9530a0450bfa8e54913bfa69.tar.gz |
More av_cold for infrequently called functions.
Originally committed as revision 21179 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 9160ac308f..a2a313abf6 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -4452,7 +4452,7 @@ static void ff_jref_idct1_add(uint8_t *dest, int line_size, DCTELEM *block) 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 @@ int ff_check_alignment(void){ return 0; } -void dsputil_init(DSPContext* c, AVCodecContext *avctx) +av_cold void dsputil_init(DSPContext* c, AVCodecContext *avctx) { int i; |