Commit 0ec655c2 authored by ods15's avatar ods15

fix to vorbis decoder for book==0


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6328 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7094e5e8
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment