comparison 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
comparison
equal deleted inserted replaced
9006:37ac731fe32c 9007:043574c5c153
133 } 133 }
134 } 134 }
135 return PIX_FMT_NONE; 135 return PIX_FMT_NONE;
136 } 136 }
137 137
138 static int libschroedinger_decode_init(AVCodecContext *avccontext) 138 static av_cold int libschroedinger_decode_init(AVCodecContext *avccontext)
139 { 139 {
140 140
141 FfmpegSchroDecoderParams *p_schro_params = avccontext->priv_data ; 141 FfmpegSchroDecoderParams *p_schro_params = avccontext->priv_data ;
142 /* First of all, initialize our supporting libraries. */ 142 /* First of all, initialize our supporting libraries. */
143 schro_init(); 143 schro_init();
323 } 323 }
324 return buf_size; 324 return buf_size;
325 } 325 }
326 326
327 327
328 static int libschroedinger_decode_close(AVCodecContext *avccontext) 328 static av_cold int libschroedinger_decode_close(AVCodecContext *avccontext)
329 { 329 {
330 FfmpegSchroDecoderParams *p_schro_params = avccontext->priv_data; 330 FfmpegSchroDecoderParams *p_schro_params = avccontext->priv_data;
331 /* Free the decoder. */ 331 /* Free the decoder. */
332 schro_decoder_free (p_schro_params->decoder); 332 schro_decoder_free (p_schro_params->decoder);
333 av_freep(&p_schro_params->format); 333 av_freep(&p_schro_params->format);