aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264dspenc.c
diff options
context:
space:
mode:
authorZuxy Meng <zuxy.meng@gmail.com>2010-01-13 02:16:00 +0000
committerZuxy Meng <zuxy.meng@gmail.com>2010-01-13 02:16:00 +0000
commit0752cd39d27d08cb9530a0450bfa8e54913bfa69 (patch)
tree0a96d715f883577b1bd1775f09700ac92fa25253 /libavcodec/h264dspenc.c
parente1e949026ec552b206306da00bf90fc797542fe5 (diff)
downloadffmpeg-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/h264dspenc.c')
-rw-r--r--libavcodec/h264dspenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264dspenc.c b/libavcodec/h264dspenc.c
index 9dfa01b336..c80e284ba4 100644
--- a/libavcodec/h264dspenc.c
+++ b/libavcodec/h264dspenc.c
@@ -71,7 +71,7 @@ static void h264_dct_c(DCTELEM block[4][4])
H264_DCT_PART2(3);
}
-void ff_h264dspenc_init(DSPContext* c, AVCodecContext *avctx)
+av_cold void ff_h264dspenc_init(DSPContext* c, AVCodecContext *avctx)
{
c->h264_dct = h264_dct_c;
}