aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorZuxy Meng <zuxy.meng@gmail.com>2008-03-21 03:11:20 +0000
committerZuxy Meng <zuxy.meng@gmail.com>2008-03-21 03:11:20 +0000
commit98a6fff98c3f2e963783e52fb193529bdc14e040 (patch)
treed950fcf03110d5716c0d348f0ffbbc5f459b71aa /libavcodec/vc1.c
parent77ab59eb7ff28d8183ea51c5a46aab3b430edd9c (diff)
downloadffmpeg-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/vc1.c')
-rw-r--r--libavcodec/vc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 77505db119..7621acb751 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -3812,7 +3812,7 @@ static av_always_inline int vc1_unescape_buffer(const uint8_t *src, int size, ui
* @todo TODO: Handle VC-1 IDUs (Transport level?)
* @todo TODO: Decypher remaining bits in extra_data
*/
-static int vc1_decode_init(AVCodecContext *avctx)
+static av_cold int vc1_decode_init(AVCodecContext *avctx)
{
VC1Context *v = avctx->priv_data;
MpegEncContext *s = &v->s;
@@ -4109,7 +4109,7 @@ assert(s->current_picture.pict_type == s->pict_type);
/** Close a VC1/WMV3 decoder
* @warning Initial try at using MpegEncContext stuff
*/
-static int vc1_decode_end(AVCodecContext *avctx)
+static av_cold int vc1_decode_end(AVCodecContext *avctx)
{
VC1Context *v = avctx->priv_data;