diff options
author | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-21 03:11:20 +0000 |
---|---|---|
committer | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-21 03:11:20 +0000 |
commit | 98a6fff98c3f2e963783e52fb193529bdc14e040 (patch) | |
tree | d950fcf03110d5716c0d348f0ffbbc5f459b71aa /libavcodec/g726.c | |
parent | 77ab59eb7ff28d8183ea51c5a46aab3b430edd9c (diff) | |
download | ffmpeg-98a6fff98c3f2e963783e52fb193529bdc14e040.tar.gz |
Apply 'cold' attribute to init/uninit functions in libavcodec
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r-- | libavcodec/g726.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c index d0073c1b4d..14cc9a42ec 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -266,7 +266,7 @@ static inline int16_t g726_iterate(G726Context* c, int16_t I) return av_clip(re_signal << 2, -0xffff, 0xffff); } -static int g726_reset(G726Context* c, int bit_rate) +static av_cold int g726_reset(G726Context* c, int bit_rate) { int i; @@ -319,7 +319,7 @@ typedef struct AVG726Context { int code_size; } AVG726Context; -static int g726_init(AVCodecContext * avctx) +static av_cold int g726_init(AVCodecContext * avctx) { AVG726Context* c = (AVG726Context*)avctx->priv_data; @@ -346,7 +346,7 @@ static int g726_init(AVCodecContext * avctx) return 0; } -static int g726_close(AVCodecContext *avctx) +static av_cold int g726_close(AVCodecContext *avctx) { av_freep(&avctx->coded_frame); return 0; |