diff vmnc.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 2084ab75b08f
children 6eeb19edcee3
line wrap: on
line diff
--- a/vmnc.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/vmnc.c	Fri Mar 21 03:11:20 2008 +0000
@@ -456,7 +456,7 @@
  * Init VMnc decoder
  *
  */
-static int decode_init(AVCodecContext *avctx)
+static av_cold int decode_init(AVCodecContext *avctx)
 {
     VmncContext * const c = avctx->priv_data;
 
@@ -496,7 +496,7 @@
  * Uninit VMnc decoder
  *
  */
-static int decode_end(AVCodecContext *avctx)
+static av_cold int decode_end(AVCodecContext *avctx)
 {
     VmncContext * const c = avctx->priv_data;