mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-21 15:00:27 +00:00
ape: Use the proper variable type
Avoid an unsigned underflow. Bug-Id: 1041122 CC: libav-stable@libav.org
This commit is contained in:
parent
b4cda0a999
commit
e1a57cbb1c
@ -40,7 +40,7 @@ static int ape_tag_read_field(AVFormatContext *s)
|
|||||||
{
|
{
|
||||||
AVIOContext *pb = s->pb;
|
AVIOContext *pb = s->pb;
|
||||||
uint8_t key[1024], *value;
|
uint8_t key[1024], *value;
|
||||||
uint32_t size, flags;
|
int64_t size, flags;
|
||||||
int i, c;
|
int i, c;
|
||||||
|
|
||||||
size = avio_rl32(pb); /* field size */
|
size = avio_rl32(pb); /* field size */
|
||||||
|
Loading…
Reference in New Issue
Block a user