mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-24 17:12:34 +02:00
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
This commit is contained in:
parent
e94204dfd8
commit
c740f737e9
@ -467,7 +467,7 @@ static uint_fast8_t vorbis_floor1_decode(vorbis_context *vc,
|
|||||||
static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
|
static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
|
||||||
{
|
{
|
||||||
GetBitContext *gb = &vc->gb;
|
GetBitContext *gb = &vc->gb;
|
||||||
uint_fast16_t i,j,k;
|
int i,j,k;
|
||||||
|
|
||||||
vc->floor_count = get_bits(gb, 6) + 1;
|
vc->floor_count = get_bits(gb, 6) + 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user