]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpegaudio_tablegen.h
avcodec/mpegvideo: check that the context is initialized in ff_mpv_common_frame_size_...
[ffmpeg] / libavcodec / mpegaudio_tablegen.h
index f9557c9ae1becde9249f3eca200517d70ac27844..86b2cd32b03eabaee97dd6ab5e9077a4cb57ebe0 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <stdint.h>
 #include <math.h>
+#include "libavutil/attributes.h"
 
 #define TABLE_4_3_SIZE (8191 + 16)*4
 #if CONFIG_HARDCODED_TABLES
@@ -41,7 +42,7 @@ static float expval_table_float[512][16];
 #define FRAC_BITS 23
 #define IMDCT_SCALAR 1.759
 
-static void mpegaudio_tableinit(void)
+static av_cold void mpegaudio_tableinit(void)
 {
     int i, value, exponent;
     for (i = 1; i < TABLE_4_3_SIZE; i++) {