From 5ef251e50437ce84a00735c5cac8dd836fb032e9 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Sun, 22 Feb 2009 13:48:55 +0000 Subject: 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 --- libavcodec/atrac3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/atrac3.c') diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index f4390076d6..81d25ec204 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -244,7 +244,7 @@ static int decode_bytes(const uint8_t* inbuffer, uint8_t* out, int bytes){ } -static void init_atrac3_transforms(ATRAC3Context *q) { +static av_cold void init_atrac3_transforms(ATRAC3Context *q) { float enc_window[256]; float s; int i; @@ -275,7 +275,7 @@ static void init_atrac3_transforms(ATRAC3Context *q) { * Atrac3 uninit, free all allocated memory */ -static int atrac3_decode_close(AVCodecContext *avctx) +static av_cold int atrac3_decode_close(AVCodecContext *avctx) { ATRAC3Context *q = avctx->priv_data; @@ -926,7 +926,7 @@ static int atrac3_decode_frame(AVCodecContext *avctx, * @param avctx pointer to the AVCodecContext */ -static int atrac3_decode_init(AVCodecContext *avctx) +static av_cold int atrac3_decode_init(AVCodecContext *avctx) { int i; const uint8_t *edata_ptr = avctx->extradata; -- cgit v1.2.3