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