mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-02 09:57:44 +00:00
fix to vorbis decoder for book==0
Originally committed as revision 6328 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
97a9195feb
commit
0e3cb7a1ff
1 changed files with 1 additions and 1 deletions
|
@ -1186,7 +1186,7 @@ static uint_fast8_t vorbis_floor1_decode(vorbis_context *vc, vorbis_floor_data *
|
|||
AV_DEBUG("book %d Cbits %d cval %d bits:%d \n", book, cbits, cval, get_bits_count(gb));
|
||||
|
||||
cval=cval>>cbits;
|
||||
if (book>0) {
|
||||
if (book>-1) {
|
||||
floor1_Y[offset+j]=get_vlc2(gb, vc->codebooks[book].vlc.table,
|
||||
vc->codebooks[book].nb_bits, 3);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue