diff vqavideo.c @ 6517:48759bfbd073 libavcodec

Apply 'cold' attribute to init/uninit functions in libavcodec
author zuxy
date Fri, 21 Mar 2008 03:11:20 +0000
parents 814c8bd77d91
children 6eeb19edcee3
line wrap: on
line diff
--- a/vqavideo.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/vqavideo.c	Fri Mar 21 03:11:20 2008 +0000
@@ -127,7 +127,7 @@
 
 } VqaContext;
 
-static int vqa_decode_init(AVCodecContext *avctx)
+static av_cold int vqa_decode_init(AVCodecContext *avctx)
 {
     VqaContext *s = avctx->priv_data;
     unsigned char *vqa_header;
@@ -592,7 +592,7 @@
     return buf_size;
 }
 
-static int vqa_decode_end(AVCodecContext *avctx)
+static av_cold int vqa_decode_end(AVCodecContext *avctx)
 {
     VqaContext *s = avctx->priv_data;