OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3447f12
)
vorbis_dec: Change partition_class[] to uint8_t.
author
Alex Converse
<alex.converse@gmail.com>
Fri, 6 Aug 2010 16:10:42 +0000
(16:10 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Fri, 6 Aug 2010 16:10:42 +0000
(16:10 +0000)
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
patch
|
blob
|
history
diff --git
a/libavcodec/vorbis_dec.c
b/libavcodec/vorbis_dec.c
index
19f7e1e
..
be9db1c
100644
(file)
--- 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];
+ uint
8_t
partition_class[32];
uint_fast8_t class_dimensions[16];
uint_fast8_t class_subclasses[16];
uint_fast8_t class_masterbook[16];