diff options
author | Mans Rullgard <mans@mansr.com> | 2011-10-08 02:09:42 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-10-08 02:41:58 +0100 |
commit | ac6eab1496aad6f8b09deabbef4fe5fd829e142d (patch) | |
tree | 48f34a0725a7da2f72dfe757bdf90f1a1f6d0dfc /libavformat/rtpdec_mpeg4.c | |
parent | 98ef887a759c66febcb612407c6bb361c4d50bcb (diff) | |
download | ffmpeg-ac6eab1496aad6f8b09deabbef4fe5fd829e142d.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>
Diffstat (limited to 'libavformat/rtpdec_mpeg4.c')
0 files changed, 0 insertions, 0 deletions