Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-24 18:44:30 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-06-24 18:46:37 +0300
commitd7e224ec24f73258e96daa02503fb405b1480a89 (patch)
tree1887cd14b661c6a647cae5c1b893a432c4e27a06 /libavcodec/jpeg2000.h
parentd5802555715549932637889acdf43f52b9334413 (diff)
avcodec/jpeg2000: change flags array type to 16bit
reduce memory needed for flags Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/jpeg2000.h')
-rw-r--r--libavcodec/jpeg2000.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000.h b/libavcodec/jpeg2000.h
index c1303f24d8..24395a24eb 100644
--- a/libavcodec/jpeg2000.h
+++ b/libavcodec/jpeg2000.h
@@ -124,7 +124,7 @@ enum Jpeg2000Quantsty { // quantization style
typedef struct Jpeg2000T1Context {
int data[JPEG2000_MAX_CBLKW][JPEG2000_MAX_CBLKH];
- int flags[JPEG2000_MAX_CBLKW + 2][JPEG2000_MAX_CBLKH + 2];
+ uint16_t flags[JPEG2000_MAX_CBLKW + 2][JPEG2000_MAX_CBLKH + 2];
MqcState mqc;
} Jpeg2000T1Context;