diff dxa.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 8af6a717f905
children 5b3acf9fd50a
line wrap: on
line diff
--- a/dxa.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/dxa.c	Fri Mar 21 03:11:20 2008 +0000
@@ -285,7 +285,7 @@
     return orig_buf_size;
 }
 
-static int decode_init(AVCodecContext *avctx)
+static av_cold int decode_init(AVCodecContext *avctx)
 {
     DxaDecContext * const c = avctx->priv_data;
 
@@ -305,7 +305,7 @@
     return 0;
 }
 
-static int decode_end(AVCodecContext *avctx)
+static av_cold int decode_end(AVCodecContext *avctx)
 {
     DxaDecContext * const c = avctx->priv_data;