mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fix a crash on x86_64
Originally committed as revision 5360 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b451719e07
commit
24efb5e51b
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user