aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/atrac3.c
diff options
context:
space:
mode:
authorDaniel Verkamp2009-02-22 13:48:55 +0000
committerStefano Sabatini2009-02-22 13:48:55 +0000
commit5ef251e50437ce84a00735c5cac8dd836fb032e9 (patch)
treee752d1fdee8e36709b00b5af5005599ccd071375 /libavcodec/atrac3.c
parent50ded3fdb65aa6298253a1522c0981c3e113d022 (diff)
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/atrac3.c')
-rw-r--r--libavcodec/atrac3.c6
1 files changed, 3 insertions, 3 deletions
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;