diff msvideo1.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 f282270c589f
line wrap: on
line diff
--- a/msvideo1.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/msvideo1.c	Fri Mar 21 03:11:20 2008 +0000
@@ -57,7 +57,7 @@
 
 } Msvideo1Context;
 
-static int msvideo1_decode_init(AVCodecContext *avctx)
+static av_cold int msvideo1_decode_init(AVCodecContext *avctx)
 {
     Msvideo1Context *s = avctx->priv_data;
 
@@ -319,7 +319,7 @@
     return buf_size;
 }
 
-static int msvideo1_decode_end(AVCodecContext *avctx)
+static av_cold int msvideo1_decode_end(AVCodecContext *avctx)
 {
     Msvideo1Context *s = avctx->priv_data;