summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_vp9.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_vp9.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_vp9.h')
-rw-r--r--libavcodec/cbs_vp9.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_vp9.h b/libavcodec/cbs_vp9.h
index 40e62476ed..af15eb4bac 100644
--- a/libavcodec/cbs_vp9.h
+++ b/libavcodec/cbs_vp9.h
@@ -165,8 +165,8 @@ typedef struct VP9RawFrame {
VP9RawFrameHeader header;
uint8_t *data;
- size_t data_size;
AVBufferRef *data_ref;
+ size_t data_size;
} VP9RawFrame;
typedef struct VP9RawSuperframeIndex {