diff libschroedingerdec.c @ 9007:043574c5c153 libavcodec

Add missing av_cold in static init/close functions. Patch by Daniel Verkamp daniel at drv dot nu.
author stefano
date Sun, 22 Feb 2009 13:48:55 +0000
parents e9d9d946f213
children 54bc8a2727b0
line wrap: on
line diff
--- a/libschroedingerdec.c	Sun Feb 22 11:35:32 2009 +0000
+++ b/libschroedingerdec.c	Sun Feb 22 13:48:55 2009 +0000
@@ -135,7 +135,7 @@
     return PIX_FMT_NONE;
 }
 
-static int libschroedinger_decode_init(AVCodecContext *avccontext)
+static av_cold int libschroedinger_decode_init(AVCodecContext *avccontext)
 {
 
     FfmpegSchroDecoderParams *p_schro_params = avccontext->priv_data ;
@@ -325,7 +325,7 @@
 }
 
 
-static int libschroedinger_decode_close(AVCodecContext *avccontext)
+static av_cold int libschroedinger_decode_close(AVCodecContext *avccontext)
 {
     FfmpegSchroDecoderParams *p_schro_params = avccontext->priv_data;
     /* Free the decoder. */