On 9/10/2023 4:00 PM, llyyr wrote:
> Fixes: fc429d785e9e24c5520ce716d4bc3b5547e581eb
> 
> cpb_cnt was initialized to 1 before
> fc429d785e9e24c5520ce716d4bc3b5547e581eb, so cpb_cnt_minus1 should be
> initialized to 0 instead of 1.
> 
> Since we split fixed_rate into a general flag and a within_cvs_flag now,
> check for both in conditional.
> ---
>  libavcodec/hevc_ps.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Should be two commits, I think.

Also, cpb_cnt_minus1 is being passed to decode_sublayer_hrd() below, and needs
a +1 there.

- Derek
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to