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/cavsdsp.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/cavsdsp.c')
-rw-r--r-- | libavcodec/cavsdsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cavsdsp.c b/libavcodec/cavsdsp.c index 69d3bd2323..4ba08bbd2a 100644 --- a/libavcodec/cavsdsp.c +++ b/libavcodec/cavsdsp.c @@ -515,7 +515,7 @@ void ff_avg_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride); void ff_put_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride); void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride); -void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx) { +av_cold void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx) { #define dspfunc(PFX, IDX, NUM) \ c->PFX ## _pixels_tab[IDX][ 0] = ff_ ## PFX ## NUM ## _mc00_c; \ c->PFX ## _pixels_tab[IDX][ 1] = ff_ ## PFX ## NUM ## _mc10_c; \ |