diff svq1enc.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 493dc59d469a
children 5b3acf9fd50a
line wrap: on
line diff
--- a/svq1enc.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/svq1enc.c	Fri Mar 21 03:11:20 2008 +0000
@@ -479,7 +479,7 @@
     return 0;
 }
 
-static int svq1_encode_init(AVCodecContext *avctx)
+static av_cold int svq1_encode_init(AVCodecContext *avctx)
 {
     SVQ1Context * const s = avctx->priv_data;
 
@@ -554,7 +554,7 @@
     return (put_bits_count(&s->pb) / 8);
 }
 
-static int svq1_encode_end(AVCodecContext *avctx)
+static av_cold int svq1_encode_end(AVCodecContext *avctx)
 {
     SVQ1Context * const s = avctx->priv_data;
     int i;