summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_jpeg.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-07-27 17:32:17 +0100
committerMark Thompson <sw@jkqxz.net>2020-09-02 00:00:50 +0100
commit1fe77d4a637c4033180a35b6ebf13b5a4707d2a4 (patch)
treed8afba5345efd74aecfab760e08c483aed10cd7b /libavcodec/cbs_jpeg.h
parent0271098e6c9ff8f2a97d65087e424f6d547e53f9 (diff)
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.
Diffstat (limited to 'libavcodec/cbs_jpeg.h')
-rw-r--r--libavcodec/cbs_jpeg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_jpeg.h b/libavcodec/cbs_jpeg.h
index ff1961106f..6305f0ee86 100644
--- a/libavcodec/cbs_jpeg.h
+++ b/libavcodec/cbs_jpeg.h
@@ -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 {