Changeset ac6eab14 in ffmpeg

Timestamp:
Oct 8, 2011, 1:41:58 AM (13 years ago)
Author:
Mans Rullgard <mans@mansr.com>
Branches:
master
Children:
24adf783
Parents:
98ef887a
git-author:
Mans Rullgard <mans@mansr.com> (10/08/11 01:09:42)
git-committer:
Mans Rullgard <mans@mansr.com> (10/08/11 01:41:58)
Message:

put_bits: fix invalid shift by 32 in flush_put_bits()

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.