diff options
Diffstat (limited to 'libavcodec/jpeg2000dec.c')
-rw-r--r-- | libavcodec/jpeg2000dec.c | 3 |
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(); |