diff options
author | Daniel Verkamp <daniel@drv.nu> | 2009-02-22 13:48:55 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-22 13:48:55 +0000 |
commit | 5ef251e50437ce84a00735c5cac8dd836fb032e9 (patch) | |
tree | e752d1fdee8e36709b00b5af5005599ccd071375 /libavcodec/libschroedingerdec.c | |
parent | 50ded3fdb65aa6298253a1522c0981c3e113d022 (diff) | |
download | ffmpeg-5ef251e50437ce84a00735c5cac8dd836fb032e9.tar.gz |
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
Diffstat (limited to 'libavcodec/libschroedingerdec.c')
-rw-r--r-- | libavcodec/libschroedingerdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libschroedingerdec.c b/libavcodec/libschroedingerdec.c index ec1203e775..1512ec79fc 100644 --- a/libavcodec/libschroedingerdec.c +++ b/libavcodec/libschroedingerdec.c @@ -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. */ |