mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/cbs_av1: add valid range of values for num_units_in_decoding_tick
The spec states "num_units_in_decoding_tick shall be greater than 0". Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
66175c2dca
commit
6759983bdc
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ static int FUNC(decoder_model_info)(CodedBitstreamContext *ctx, RWContext *rw,
|
|||
int err;
|
||||
|
||||
fb(5, buffer_delay_length_minus_1);
|
||||
fb(32, num_units_in_decoding_tick);
|
||||
fc(32, num_units_in_decoding_tick, 1, MAX_UINT_BITS(32));
|
||||
fb(5, buffer_removal_time_length_minus_1);
|
||||
fb(5, frame_presentation_time_length_minus_1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue