diff tscc.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 07eeefc2825f
children a4104482ceef
line wrap: on
line diff
--- a/tscc.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/tscc.c	Fri Mar 21 03:11:20 2008 +0000
@@ -253,7 +253,7 @@
  * Init tscc decoder
  *
  */
-static int decode_init(AVCodecContext *avctx)
+static av_cold int decode_init(AVCodecContext *avctx)
 {
     CamtasiaContext * const c = avctx->priv_data;
     int zret; // Zlib return code
@@ -316,7 +316,7 @@
  * Uninit tscc decoder
  *
  */
-static int decode_end(AVCodecContext *avctx)
+static av_cold int decode_end(AVCodecContext *avctx)
 {
     CamtasiaContext * const c = avctx->priv_data;