diff qtrleenc.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 2265a9c096a4
children 5b3acf9fd50a
line wrap: on
line diff
--- a/qtrleenc.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/qtrleenc.c	Fri Mar 21 03:11:20 2008 +0000
@@ -57,7 +57,7 @@
     uint8_t* skip_table;
 } QtrleEncContext;
 
-static int qtrle_encode_init(AVCodecContext *avctx)
+static av_cold int qtrle_encode_init(AVCodecContext *avctx)
 {
     QtrleEncContext *s = avctx->priv_data;
 
@@ -303,7 +303,7 @@
     return chunksize;
 }
 
-static int qtrle_encode_end(AVCodecContext *avctx)
+static av_cold int qtrle_encode_end(AVCodecContext *avctx)
 {
     QtrleEncContext *s = avctx->priv_data;