summaryrefslogtreecommitdiff
path: root/libavcodec/jpeg2000.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/jpeg2000.c
parent71d6551e674c86d07c165439c2bf6613b3892307 (diff)
downloadffmpeg-fe4d5fe9361162f9033ff1bd84bfc1b2091ba785.tar.gz
jpeg2000: Mark static data init functions as av_cold
Diffstat (limited to 'libavcodec/jpeg2000.c')
-rw-r--r--libavcodec/jpeg2000.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000.c b/libavcodec/jpeg2000.c
index bf46398361..74e4f15de8 100644
--- a/libavcodec/jpeg2000.c
+++ b/libavcodec/jpeg2000.c
@@ -25,6 +25,7 @@
* JPEG 2000 image encoder and decoder common functions
*/
+#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "avcodec.h"
@@ -157,7 +158,7 @@ static int getsgnctxno(int flag, uint8_t *xorbit)
return ctxlbltab[hcontrib][vcontrib];
}
-void ff_jpeg2000_init_tier1_luts(void)
+void av_cold ff_jpeg2000_init_tier1_luts(void)
{
int i, j;
for (i = 0; i < 256; i++)