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/libdiracdec.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/libdiracdec.c')
-rw-r--r-- | libavcodec/libdiracdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libdiracdec.c b/libavcodec/libdiracdec.c index 784592be1a..2c484a410c 100644 --- a/libavcodec/libdiracdec.c +++ b/libavcodec/libdiracdec.c @@ -63,7 +63,7 @@ static enum PixelFormat GetFfmpegChromaFormat(dirac_chroma_t dirac_pix_fmt) return PIX_FMT_NONE; } -static int libdirac_decode_init(AVCodecContext *avccontext) +static av_cold int libdirac_decode_init(AVCodecContext *avccontext) { FfmpegDiracDecoderParams *p_dirac_params = avccontext->priv_data ; @@ -174,7 +174,7 @@ static int libdirac_decode_frame(AVCodecContext *avccontext, } -static int libdirac_decode_close(AVCodecContext *avccontext) +static av_cold int libdirac_decode_close(AVCodecContext *avccontext) { FfmpegDiracDecoderParams *p_dirac_params = avccontext->priv_data; dirac_decoder_close (p_dirac_params->p_decoder); |