If flush_put_bits() is called when the 32-bit buffer is empty, e.g. after writing a multiple of 32 bits, and invalid shift by 32 is performed. Since flush_put_bits() is called infrequently, this additional check should have negligible performance impact. Signed-off-by: Mans Rullgard <mans@mansr.com>pull/2/head
parent
98ef887a75
commit
ac6eab1496
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue