diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-11 18:43:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-11 18:45:30 +0300 |
commit | a6259d4290a5631af9108003cd13bf2848c3a0f6 (patch) | |
tree | 294d31faee7425b78dd0af7bcfba2bccfed9270d /source/blender/imbuf/intern/jp2.c | |
parent | e42e01875ecc48f2da314f9dca27fa4a949fbb77 (diff) |
Avoid static var for OpenEXR
Diffstat (limited to 'source/blender/imbuf/intern/jp2.c')
-rw-r--r-- | source/blender/imbuf/intern/jp2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/jp2.c b/source/blender/imbuf/intern/jp2.c index 82b015b92c8..11733222e2f 100644 --- a/source/blender/imbuf/intern/jp2.c +++ b/source/blender/imbuf/intern/jp2.c @@ -40,8 +40,8 @@ // #define JP2_FILEHEADER_SIZE 14 /* UNUSED */ -static char JP2_HEAD[] = {0x0, 0x0, 0x0, 0x0C, 0x6A, 0x50, 0x20, 0x20, 0x0D, 0x0A, 0x87, 0x0A}; -static char J2K_HEAD[] = {0xFF, 0x4F, 0xFF, 0x51, 0x00}; +static const char JP2_HEAD[] = {0x0, 0x0, 0x0, 0x0C, 0x6A, 0x50, 0x20, 0x20, 0x0D, 0x0A, 0x87, 0x0A}; +static const char J2K_HEAD[] = {0xFF, 0x4F, 0xFF, 0x51, 0x00}; /* We only need this because of how the presets are set */ /* this typedef is copied from 'openjpeg-1.5.0/applications/codec/image_to_j2k.c' */ |