OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e94204d
)
vorbisdec: Use int instead of uint16_fast_t for index variables
author
David Conrad
<lessen42@gmail.com>
Mon, 30 Aug 2010 22:34:09 +0000
(22:34 +0000)
committer
David Conrad
<lessen42@gmail.com>
Mon, 30 Aug 2010 22:34:09 +0000
(22:34 +0000)
uint16_fast_t is unsigned int (or long) on Linux, which when compared
with int results in an unsigned compare.
Originally committed as revision 24994 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
be9db1c
..
b44068f
100644
(file)
--- a/
libavcodec/vorbis_dec.c
+++ b/
libavcodec/vorbis_dec.c
@@
-467,7
+467,7
@@
static uint_fast8_t vorbis_floor1_decode(vorbis_context *vc,
static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
{
GetBitContext *gb = &vc->gb;
-
uint_fast16_
t i,j,k;
+
in
t i,j,k;
vc->floor_count = get_bits(gb, 6) + 1;