diff options
author | Mark Thompson <sw@jkqxz.net> | 2019-05-06 22:02:19 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-07-07 13:29:50 +0100 |
commit | c1a430885dc7a7c7fc305e9bbe7fbd6a50e90ecf (patch) | |
tree | 56992f474d6bca8be7e88a6ba69638474718ecb6 /libavcodec/h265_profile_level.h | |
parent | ca576833e46ca5657b41a29849ac2cbc775ccfda (diff) | |
download | ffmpeg-c1a430885dc7a7c7fc305e9bbe7fbd6a50e90ecf.tar.gz |
lavc/h265_profile_level: Fix DPB size calculation
The maxDpbPicBuf value which is used in the DPB size calculation depends
on the profile (it's usually 6, but 7 for screen-extended profiles).
Diffstat (limited to 'libavcodec/h265_profile_level.h')
-rw-r--r-- | libavcodec/h265_profile_level.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h265_profile_level.h b/libavcodec/h265_profile_level.h index 12c00f0077..2d5bebaecd 100644 --- a/libavcodec/h265_profile_level.h +++ b/libavcodec/h265_profile_level.h @@ -66,6 +66,7 @@ typedef struct H265ProfileDescriptor { uint16_t cpb_nal_factor; float format_capability_factor; float min_cr_scale_factor; + uint8_t max_dpb_pic_buf; } H265ProfileDescriptor; |