diff zmbv.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 863a6c0ff6ad
children f282270c589f
line wrap: on
line diff
--- a/zmbv.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/zmbv.c	Fri Mar 21 03:11:20 2008 +0000
@@ -589,7 +589,7 @@
  * Init zmbv decoder
  *
  */
-static int decode_init(AVCodecContext *avctx)
+static av_cold int decode_init(AVCodecContext *avctx)
 {
     ZmbvContext * const c = avctx->priv_data;
     int zret; // Zlib return code
@@ -638,7 +638,7 @@
  * Uninit zmbv decoder
  *
  */
-static int decode_end(AVCodecContext *avctx)
+static av_cold int decode_end(AVCodecContext *avctx)
 {
     ZmbvContext * const c = avctx->priv_data;