diff vorbis_enc.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 2b72f9bc4f06
children a4104482ceef
line wrap: on
line diff
--- a/vorbis_enc.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/vorbis_enc.c	Fri Mar 21 03:11:20 2008 +0000
@@ -932,7 +932,7 @@
     return 1;
 }
 
-static int vorbis_encode_init(AVCodecContext * avccontext)
+static av_cold int vorbis_encode_init(AVCodecContext * avccontext)
 {
     venc_context_t * venc = avccontext->priv_data;
 
@@ -1015,7 +1015,7 @@
 }
 
 
-static int vorbis_encode_close(AVCodecContext * avccontext)
+static av_cold int vorbis_encode_close(AVCodecContext * avccontext)
 {
     venc_context_t * venc = avccontext->priv_data;
     int i;