Commit 572fab11 authored by lorenm's avatar lorenm

fix a crash on x86_64


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5360 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5889121f
...@@ -473,7 +473,7 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc) { ...@@ -473,7 +473,7 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc) {
} }
for(k=0;k<(1<<floor_setup->data.t1.class_subclasses[j]);++k) { for(k=0;k<(1<<floor_setup->data.t1.class_subclasses[j]);++k) {
floor_setup->data.t1.subclass_books[j][k]=get_bits(gb, 8)-1; floor_setup->data.t1.subclass_books[j][k]=(int16_t)get_bits(gb, 8)-1;
AV_DEBUG(" book %d. : %d \n", k, floor_setup->data.t1.subclass_books[j][k]); AV_DEBUG(" book %d. : %d \n", k, floor_setup->data.t1.subclass_books[j][k]);
} }
......
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