aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-08-06 16:10:42 +0000
committerAlex Converse <alex.converse@gmail.com>2010-08-06 16:10:42 +0000
commit51aaf51143825112b0c499a48212e6f086c1a580 (patch)
tree4d481f3a0d2f298e749dab1145936797b9ca2001
parent3447f12d6640ad9c5af122a9813c5b714de43839 (diff)
downloadffmpeg-51aaf51143825112b0c499a48212e6f086c1a580.tar.gz
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
-rw-r--r--libavcodec/vorbis_dec.c2
1 files changed, 1 insertions, 1 deletions
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];