aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/mqc.c
diff options
context:
space:
mode:
authorDiego Biurrun2014-06-13 05:38:44 -0700
committerDiego Biurrun2014-06-17 08:44:07 -0700
commitfe4d5fe9361162f9033ff1bd84bfc1b2091ba785 (patch)
tree138ecf1930d0e8f1d730241dbaf209a1259dc45e /libavcodec/mqc.c
parent71d6551e674c86d07c165439c2bf6613b3892307 (diff)
jpeg2000: Mark static data init functions as av_cold
Diffstat (limited to 'libavcodec/mqc.c')
-rw-r--r--libavcodec/mqc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/mqc.c b/libavcodec/mqc.c
index 60d87ba1a6..01445817cf 100644
--- a/libavcodec/mqc.c
+++ b/libavcodec/mqc.c
@@ -28,6 +28,8 @@
#include <string.h>
#include <stdint.h>
+#include "libavutil/attributes.h"
+
#include "mqc.h"
/* MQ coder context state structure */
@@ -92,7 +94,7 @@ uint16_t ff_mqc_qe [2 * 47];
uint8_t ff_mqc_nlps[2 * 47];
uint8_t ff_mqc_nmps[2 * 47];
-void ff_mqc_init_context_tables(void)
+void av_cold ff_mqc_init_context_tables(void)
{
int i;
for (i = 0; i < 47; i++) {