diff truemotion1.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 20a72aa8179b
children 5df0c730234d
line wrap: on
line diff
--- a/truemotion1.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/truemotion1.c	Fri Mar 21 03:11:20 2008 +0000
@@ -461,7 +461,7 @@
     return header.header_size;
 }
 
-static int truemotion1_decode_init(AVCodecContext *avctx)
+static av_cold int truemotion1_decode_init(AVCodecContext *avctx)
 {
     TrueMotion1Context *s = avctx->priv_data;
 
@@ -877,7 +877,7 @@
     return buf_size;
 }
 
-static int truemotion1_decode_end(AVCodecContext *avctx)
+static av_cold int truemotion1_decode_end(AVCodecContext *avctx)
 {
     TrueMotion1Context *s = avctx->priv_data;