aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacdec.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-10-08 02:09:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-04 00:59:53 +0100
commit4c5cdb493c25a0ffb05022e7afa001725e0adc62 (patch)
tree647041f43d98361790bc3c6a6189824c60c62ccb /libavcodec/aacdec.c
parent06b15b371539cb2f05f717b228d9173d4aee991d (diff)
downloadffmpeg-4c5cdb493c25a0ffb05022e7afa001725e0adc62.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: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aacdec.c')
0 files changed, 0 insertions, 0 deletions