From 51aaf51143825112b0c499a48212e6f086c1a580 Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Fri, 6 Aug 2010 16:10:42 +0000 Subject: [PATCH] vorbis_dec: Change partition_class[] to uint8_t. When sizeof(uint_fast8_t) >= sizeof(int) there are unintended size effects. Originally committed as revision 24716 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vorbis_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c index 19f7e1ebdc..be9db1c778 100644 --- a/libavcodec/vorbis_dec.c +++ b/libavcodec/vorbis_dec.c @@ -81,7 +81,7 @@ typedef struct { } 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];