diff roqaudioenc.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 7c6a0470eb63
children 5b3acf9fd50a
line wrap: on
line diff
--- a/roqaudioenc.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/roqaudioenc.c	Fri Mar 21 03:11:20 2008 +0000
@@ -37,7 +37,7 @@
     short lastSample[2];
 } ROQDPCMContext_t;
 
-static void roq_dpcm_table_init(void)
+static av_cold void roq_dpcm_table_init(void)
 {
     int i;
 
@@ -158,7 +158,7 @@
     return out - frame;
 }
 
-static int roq_dpcm_encode_close(AVCodecContext *avctx)
+static av_cold int roq_dpcm_encode_close(AVCodecContext *avctx)
 {
     av_freep(&avctx->coded_frame);