diff flashsv.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 0ea69b824ce7
children 01647ac078a7
line wrap: on
line diff
--- a/flashsv.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/flashsv.c	Fri Mar 21 03:11:20 2008 +0000
@@ -79,7 +79,7 @@
 }
 
 
-static int flashsv_decode_init(AVCodecContext *avctx)
+static av_cold int flashsv_decode_init(AVCodecContext *avctx)
 {
     FlashSVContext *s = avctx->priv_data;
     int zret; // Zlib return code
@@ -228,7 +228,7 @@
 }
 
 
-static int flashsv_decode_end(AVCodecContext *avctx)
+static av_cold int flashsv_decode_end(AVCodecContext *avctx)
 {
     FlashSVContext *s = avctx->priv_data;
     inflateEnd(&(s->zstream));