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/libdiracenc.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/libdiracenc.c')
-rw-r--r-- | libavcodec/libdiracenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libdiracenc.c b/libavcodec/libdiracenc.c index eae3131783..07510c6afc 100644 --- a/libavcodec/libdiracenc.c +++ b/libavcodec/libdiracenc.c @@ -127,7 +127,7 @@ static VideoFormat GetDiracVideoFormatPreset (AVCodecContext *avccontext) ff_dirac_video_formats[idx] : VIDEO_FORMAT_CUSTOM; } -static int libdirac_encode_init(AVCodecContext *avccontext) +static av_cold int libdirac_encode_init(AVCodecContext *avccontext) { FfmpegDiracEncoderParams* p_dirac_params = avccontext->priv_data; @@ -386,7 +386,7 @@ static int libdirac_encode_frame(AVCodecContext *avccontext, return enc_size; } -static int libdirac_encode_close(AVCodecContext *avccontext) +static av_cold int libdirac_encode_close(AVCodecContext *avccontext) { FfmpegDiracEncoderParams* p_dirac_params = avccontext->priv_data; |