diff dnxhddec.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 7fa807dd7958
children a4104482ceef
line wrap: on
line diff
--- a/dnxhddec.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/dnxhddec.c	Fri Mar 21 03:11:20 2008 +0000
@@ -47,7 +47,7 @@
 #define DNXHD_VLC_BITS 9
 #define DNXHD_DC_VLC_BITS 7
 
-static int dnxhd_decode_init(AVCodecContext *avctx)
+static av_cold int dnxhd_decode_init(AVCodecContext *avctx)
 {
     DNXHDContext *ctx = avctx->priv_data;
 
@@ -320,7 +320,7 @@
     return buf_size;
 }
 
-static int dnxhd_decode_close(AVCodecContext *avctx)
+static av_cold int dnxhd_decode_close(AVCodecContext *avctx)
 {
     DNXHDContext *ctx = avctx->priv_data;