diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2006-05-11 00:06:50 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2006-05-11 00:06:50 +0000 |
commit | 24efb5e51b97e0f84c6cb62e6f2d6a469431fa55 (patch) | |
tree | fbe7beebb827a932a5c36a0d4061ee9afa2f4d2e /libavcodec | |
parent | b451719e07a0bc10ae879a0959483b4ac2ff7017 (diff) | |
download | ffmpeg-24efb5e51b97e0f84c6cb62e6f2d6a469431fa55.tar.gz |
fix a crash on x86_64
Originally committed as revision 5360 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vorbis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbis.c b/libavcodec/vorbis.c index 0deda82b97..cbf4fea156 100644 --- a/libavcodec/vorbis.c +++ b/libavcodec/vorbis.c @@ -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]); } |