avcodec/jpeg2000: change flags array type to 16bit
reduce memory needed for flags Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d580255571
commit
d7e224ec24
@ -124,7 +124,7 @@ enum Jpeg2000Quantsty { // quantization style
|
|||||||
|
|
||||||
typedef struct Jpeg2000T1Context {
|
typedef struct Jpeg2000T1Context {
|
||||||
int data[JPEG2000_MAX_CBLKW][JPEG2000_MAX_CBLKH];
|
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;
|
MqcState mqc;
|
||||||
} Jpeg2000T1Context;
|
} Jpeg2000T1Context;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user