Skip to content

Commit

Permalink
be_padding: pad enough for intermediate states, not only result
Browse files Browse the repository at this point in the history
  • Loading branch information
astiob committed Mar 5, 2021
1 parent 8f98771 commit 0a3b14a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libass/ass_bitmap.c
Expand Up @@ -374,9 +374,7 @@ int be_padding(int be)
return be;
if (be <= 7)
return 4;
if (be <= 123)
return 5;
return FFMAX(128 - be, 0);
return 5;
}

/**
Expand Down

0 comments on commit 0a3b14a

Please sign in to comment.