[FFmpeg-cvslog] r24994 - trunk/libavcodec/vorbis_dec.c
conrad
subversion
Tue Aug 31 00:34:09 CEST 2010
Author: conrad
Date: Tue Aug 31 00:34:09 2010
New Revision: 24994
Log:
vorbisdec: Use int instead of uint16_fast_t for index variables
uint16_fast_t is unsigned int (or long) on Linux, which when compared
with int results in an unsigned compare.
Modified:
trunk/libavcodec/vorbis_dec.c
Modified: trunk/libavcodec/vorbis_dec.c
==============================================================================
--- trunk/libavcodec/vorbis_dec.c Mon Aug 30 23:17:34 2010 (r24993)
+++ trunk/libavcodec/vorbis_dec.c Tue Aug 31 00:34:09 2010 (r24994)
@@ -467,7 +467,7 @@ static uint_fast8_t vorbis_floor1_decode
static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
{
GetBitContext *gb = &vc->gb;
- uint_fast16_t i,j,k;
+ int i,j,k;
vc->floor_count = get_bits(gb, 6) + 1;
More information about the ffmpeg-cvslog
mailing list