aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jpeg2000dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-06-13 05:38:44 -0700
committerDiego Biurrun <diego@biurrun.de>2014-06-17 08:44:07 -0700
commitfe4d5fe9361162f9033ff1bd84bfc1b2091ba785 (patch)
tree138ecf1930d0e8f1d730241dbaf209a1259dc45e /libavcodec/jpeg2000dec.c
parent71d6551e674c86d07c165439c2bf6613b3892307 (diff)
downloadffmpeg-fe4d5fe9361162f9033ff1bd84bfc1b2091ba785.tar.gz
jpeg2000: Mark static data init functions as av_cold
Diffstat (limited to 'libavcodec/jpeg2000dec.c')
-rw-r--r--libavcodec/jpeg2000dec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index f6fa2a5ec1..7d081eadd1 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -27,6 +27,7 @@
#include <inttypes.h>
+#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
@@ -1470,7 +1471,7 @@ end:
return ret;
}
-static void jpeg2000_init_static_data(AVCodec *codec)
+static av_cold void jpeg2000_init_static_data(AVCodec *codec)
{
ff_jpeg2000_init_tier1_luts();
ff_mqc_init_context_tables();