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/zmbvenc.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/zmbvenc.c')
-rw-r--r-- | libavcodec/zmbvenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c index ce62ece4d2..b8455480da 100644 --- a/libavcodec/zmbvenc.c +++ b/libavcodec/zmbvenc.c @@ -231,7 +231,7 @@ static int encode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_size, void /** * Init zmbv encoder */ -static int encode_init(AVCodecContext *avctx) +static av_cold int encode_init(AVCodecContext *avctx) { ZmbvEncContext * const c = avctx->priv_data; int zret; // Zlib return code @@ -297,7 +297,7 @@ static int encode_init(AVCodecContext *avctx) /** * Uninit zmbv encoder */ -static int encode_end(AVCodecContext *avctx) +static av_cold int encode_end(AVCodecContext *avctx) { ZmbvEncContext * const c = avctx->priv_data; |