Add missing av_cold in static init/close functions.
Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Stefano Sabatini
parent
50ded3fdb6
commit
5ef251e504
@@ -135,7 +135,7 @@ static enum PixelFormat GetFfmpegChromaFormat(SchroChromaFormat schro_pix_fmt)
|
||||
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_frame(AVCodecContext *avccontext,
|
||||
}
|
||||
|
||||
|
||||
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. */
|
||||
|
||||
Reference in New Issue
Block a user