aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-08-30 22:34:09 +0000
committerDavid Conrad <lessen42@gmail.com>2010-08-30 22:34:09 +0000
commitc740f737e9ef3750a87d8a822973e48d6a316bd8 (patch)
tree0ecfa955674988ea3046b180c34a79b46cb9f4c4
parente94204dfd88b80c21f8756ea354dc12e1c4b206e (diff)
downloadffmpeg-c740f737e9ef3750a87d8a822973e48d6a316bd8.tar.gz
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. Originally committed as revision 24994 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 be9db1c778..b44068fcdc 100644
--- 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;
+ int i,j,k;
vc->floor_count = get_bits(gb, 6) + 1;