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:
parent
d0b02c3aff
commit
4e1f3ab184
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user