summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_vp9.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-10-30 15:41:21 -0300
committerJames Almer <jamrial@gmail.com>2018-10-30 20:55:44 -0300
commit7aaf092f8ce8708bc745e0c27746d3312a2421d5 (patch)
tree95f769128307c26f39d25f19253486f4391be356 /libavcodec/cbs_vp9.h
parentec440339b2cd2b1e9dd306fe69cfcff5d75dcd28 (diff)
avcodec/cbs_vp9: store profile in the private context
Derived from profile_low_bit and profile_high_bit. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_vp9.h')
-rw-r--r--libavcodec/cbs_vp9.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/cbs_vp9.h b/libavcodec/cbs_vp9.h
index dac8171c4a..4c9b2f880d 100644
--- a/libavcodec/cbs_vp9.h
+++ b/libavcodec/cbs_vp9.h
@@ -190,6 +190,8 @@ typedef struct VP9ReferenceFrameState {
} VP9ReferenceFrameState;
typedef struct CodedBitstreamVP9Context {
+ int profile;
+
// Frame dimensions in 8x8 mode info blocks.
uint16_t mi_cols;
uint16_t mi_rows;