Mercurial > libavcodec.hg
changeset 3300:798f64f1263c libavcodec
fix a crash on x86_64
author | lorenm |
---|---|
date | Thu, 11 May 2006 00:06:50 +0000 |
parents | 32e634e0d5cc |
children | 89af006ac42d |
files | vorbis.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vorbis.c Wed May 10 11:59:09 2006 +0000 +++ b/vorbis.c Thu May 11 00:06:50 2006 +0000 @@ -473,7 +473,7 @@ } 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]); }