diff kmvc.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 dfdff1ca78a7
children 5b3acf9fd50a
line wrap: on
line diff
--- a/kmvc.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/kmvc.c	Fri Mar 21 03:11:20 2008 +0000
@@ -338,7 +338,7 @@
 /*
  * Init kmvc decoder
  */
-static int decode_init(AVCodecContext * avctx)
+static av_cold int decode_init(AVCodecContext * avctx)
 {
     KmvcContext *const c = avctx->priv_data;
     int i;
@@ -390,7 +390,7 @@
 /*
  * Uninit kmvc decoder
  */
-static int decode_end(AVCodecContext * avctx)
+static av_cold int decode_end(AVCodecContext * avctx)
 {
     KmvcContext *const c = avctx->priv_data;