cbs: Ensure that reference fields always follow the associated pointer

Having these together allows us to find both pointers given the address
of only one of them.
This commit is contained in:
Mark Thompson
2020-07-27 17:32:17 +01:00
parent 0271098e6c
commit 1fe77d4a63
6 changed files with 28 additions and 28 deletions

View File

@@ -80,8 +80,8 @@ typedef struct JPEGRawScanHeader {
typedef struct JPEGRawScan {
JPEGRawScanHeader header;
uint8_t *data;
size_t data_size;
AVBufferRef *data_ref;
size_t data_size;
} JPEGRawScan;
typedef struct JPEGRawQuantisationTable {