X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fjpeg2000.h;h=752feae96bc251df1e6b5a76ce3ee740018af077;hb=439fbb9c8b2a90e97c44c7c57245e01ca84c865d;hp=8a022ad9188a8c1a3b20975267a4833f1e7ab132;hpb=1a4315f24d2c5857ebeb379fe39f0124746ee30a;p=ffmpeg diff --git a/libavcodec/jpeg2000.h b/libavcodec/jpeg2000.h index 8a022ad9188..752feae96bc 100644 --- a/libavcodec/jpeg2000.h +++ b/libavcodec/jpeg2000.h @@ -168,12 +168,12 @@ typedef struct Jpeg2000Cblk { uint16_t lengthinc[JPEG2000_MAX_PASSES]; uint8_t nb_lengthinc; uint8_t lblock; - uint8_t zero; - uint8_t data[8192]; + uint8_t *data; + size_t data_allocated; int nb_terminations; int nb_terminationsinc; int data_start[JPEG2000_MAX_PASSES]; - Jpeg2000Pass passes[JPEG2000_MAX_PASSES]; + Jpeg2000Pass *passes; int coord[2][2]; // border coordinates {{x0, x1}, {y0, y1}} } Jpeg2000Cblk; // code block