Mercurial > libavcodec.hg
changeset 12374:9999147e9d50 libavcodec
vorbis_dec: Change partition_class[] to uint8_t.
When sizeof(uint_fast8_t) >= sizeof(int) there are unintended size effects.
author | alexc |
---|---|
date | Fri, 06 Aug 2010 16:10:42 +0000 |
parents | 935c524d304b |
children | 98004cbdda4e |
files | vorbis_dec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vorbis_dec.c Fri Aug 06 10:29:14 2010 +0000 +++ b/vorbis_dec.c Fri Aug 06 16:10:42 2010 +0000 @@ -81,7 +81,7 @@ } t0; struct vorbis_floor1_s { uint_fast8_t partitions; - uint_fast8_t partition_class[32]; + uint8_t partition_class[32]; uint_fast8_t class_dimensions[16]; uint_fast8_t class_subclasses[16]; uint_fast8_t class_masterbook[16];