Commit 24efb5e5 authored by Loren Merritt's avatar Loren Merritt
Browse files

fix a crash on x86_64

Originally committed as revision 5360 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b451719e
......@@ -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) {
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]);
}
......
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