Commit 133c700b authored by Anton Mitrofanov's avatar Anton Mitrofanov

Fix cavlc encoding

parent 0d754ec3
Pipeline #60027 passed with stages
in 8 minutes and 26 seconds
......@@ -91,7 +91,7 @@ static inline int cavlc_block_residual_escape( x264_t *h, int i_suffix_length, i
{
if( h->sps->i_profile_idc >= PROFILE_HIGH )
{
while( i_level_code > 1<<(i_level_prefix-3) )
while( i_level_code >= 1<<(i_level_prefix-3) )
{
i_level_code -= 1<<(i_level_prefix-3);
i_level_prefix++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment