From 6fee1b90ce3bf4fbdfde7016e0890057c9000487 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 1 Feb 2013 10:31:59 +0100 Subject: avcodec: Add av_cold attributes to init functions missing them --- libavcodec/eac3enc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/eac3enc.c') diff --git a/libavcodec/eac3enc.c b/libavcodec/eac3enc.c index 3c7a611e87..69777fed11 100644 --- a/libavcodec/eac3enc.c +++ b/libavcodec/eac3enc.c @@ -25,6 +25,8 @@ */ #define CONFIG_AC3ENC_FLOAT 1 + +#include "libavutil/attributes.h" #include "ac3enc.h" #include "eac3enc.h" #include "eac3_data.h" @@ -43,7 +45,7 @@ static const AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name, static int8_t eac3_frame_expstr_index_tab[3][4][4][4][4][4]; -void ff_eac3_exponent_init(void) +av_cold void ff_eac3_exponent_init(void) { int i; -- cgit v1.2.3