Re: [FFmpeg-devel] [PATCH] hevc_ps: fix cpb_cnt_minus1 initialization and fixed_rate check

2023-09-10 Thread Derek Buitenhuis
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_

[FFmpeg-devel] [PATCH] hevc_ps: fix cpb_cnt_minus1 initialization and fixed_rate check

2023-09-10 Thread llyyr
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. --- lib