aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv30dsp.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-10-08 02:09:42 +0100
committerReinhard Tartler <siretart@tauware.de>2012-03-18 17:50:35 +0100
commite52e85ac3ab6527a38e950142ea92f203909bf96 (patch)
tree08aa234484f1f33155bcb859694973a538a647d2 /libavcodec/rv30dsp.c
parent4faa00b256bfdecb4ee1c14f332a7d0b2f539e94 (diff)
downloadffmpeg-e52e85ac3ab6527a38e950142ea92f203909bf96.tar.gz
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> (cherry picked from commit ac6eab1496aad6f8b09deabbef4fe5fd829e142d) Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/rv30dsp.c')
0 files changed, 0 insertions, 0 deletions