1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

h264_ps: expose max_dec_frame_buffering

This commit is contained in:
Lynne
2022-12-14 00:06:04 +01:00
parent 1f66e3347d
commit de6fce727c
2 changed files with 2 additions and 1 deletions

View File

@@ -176,7 +176,7 @@ static inline int decode_vui_parameters(GetBitContext *gb, void *logctx,
get_ue_golomb_31(gb); /* log2_max_mv_length_horizontal */
get_ue_golomb_31(gb); /* log2_max_mv_length_vertical */
sps->num_reorder_frames = get_ue_golomb_31(gb);
get_ue_golomb_31(gb); /*max_dec_frame_buffering*/
sps->max_dec_frame_buffering = get_ue_golomb_31(gb);
if (get_bits_left(gb) < 0) {
sps->num_reorder_frames = 0;

View File

@@ -80,6 +80,7 @@ typedef struct SPS {
int32_t offset_for_ref_frame[256];
int bitstream_restriction_flag;
int num_reorder_frames;
int max_dec_frame_buffering;
int scaling_matrix_present;
uint8_t scaling_matrix4[6][16];
uint8_t scaling_matrix8[6][64];