diff cyuv.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 c32be43b52b2
children a4104482ceef
line wrap: on
line diff
--- a/cyuv.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/cyuv.c	Fri Mar 21 03:11:20 2008 +0000
@@ -43,7 +43,7 @@
     AVFrame frame;
 } CyuvDecodeContext;
 
-static int cyuv_decode_init(AVCodecContext *avctx)
+static av_cold int cyuv_decode_init(AVCodecContext *avctx)
 {
     CyuvDecodeContext *s = avctx->priv_data;
 
@@ -163,7 +163,7 @@
     return buf_size;
 }
 
-static int cyuv_decode_end(AVCodecContext *avctx)
+static av_cold int cyuv_decode_end(AVCodecContext *avctx)
 {
 /*    CyuvDecodeContext *s = avctx->priv_data;*/