1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

hevc_ps: expose pps_extension_present_flag

This commit is contained in:
Lynne 2022-12-07 12:49:45 +01:00
parent d0b02c3aff
commit 4e1f3ab184
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
2 changed files with 3 additions and 1 deletions

View File

@ -1956,7 +1956,8 @@ int ff_hevc_decode_nal_pps(GetBitContext *gb, AVCodecContext *avctx,
pps->slice_header_extension_present_flag = get_bits1(gb);
if (get_bits1(gb)) { // pps_extension_present_flag
pps->pps_extension_present_flag = get_bits1(gb);
if (pps->pps_extension_present_flag) {
pps->pps_range_extensions_flag = get_bits1(gb);
pps->pps_multilayer_extension_flag = get_bits1(gb);
pps->pps_3d_extension_flag = get_bits1(gb);

View File

@ -340,6 +340,7 @@ typedef struct HEVCPPS {
int num_extra_slice_header_bits;
uint8_t slice_header_extension_present_flag;
uint8_t log2_max_transform_skip_block_size;
uint8_t pps_extension_present_flag;
uint8_t pps_range_extensions_flag;
uint8_t pps_multilayer_extension_flag;
uint8_t pps_3d_extension_flag;