Commit 51aaf511 authored by Alex Converse's avatar Alex Converse

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
parent 3447f12d
...@@ -81,7 +81,7 @@ typedef struct { ...@@ -81,7 +81,7 @@ typedef struct {
} t0; } t0;
struct vorbis_floor1_s { struct vorbis_floor1_s {
uint_fast8_t partitions; 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_dimensions[16];
uint_fast8_t class_subclasses[16]; uint_fast8_t class_subclasses[16];
uint_fast8_t class_masterbook[16]; uint_fast8_t class_masterbook[16];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment