diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-02-24 16:56:15 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2013-02-26 20:21:01 +0100 |
commit | c6c4dc69354f72376708ded9bb56af4a58082f1d (patch) | |
tree | f9c07a6b86a6e08f8cafd8eb7354edd3efa5ad06 /libavcodec/qdm2.c | |
parent | 494ddd377ada76ed555f7a3f49391455daa099c9 (diff) | |
download | ffmpeg-c6c4dc69354f72376708ded9bb56af4a58082f1d.tar.gz |
vorbisdec: Accept 0 amplitude_bits
The specification does not prevent an encoder to write the amplitude 0
as 0 amplitude_bits.
Our get_bits() implementation might not support a zero sized read
properly, thus the additional branch.
(cherry picked from commit 23bd9ef4b209c789d5473d75f89a2e411d343d80)
Conflicts:
libavcodec/vorbisdec.c
Diffstat (limited to 'libavcodec/qdm2.c')
0 files changed, 0 insertions, 0 deletions