Commit e1a57cbb authored by Luca Barbato's avatar Luca Barbato

ape: Use the proper variable type

Avoid an unsigned underflow.

Bug-Id: 1041122
CC: libav-stable@libav.org
parent b4cda0a9
......@@ -40,7 +40,7 @@ static int ape_tag_read_field(AVFormatContext *s)
{
AVIOContext *pb = s->pb;
uint8_t key[1024], *value;
uint32_t size, flags;
int64_t size, flags;
int i, c;
size = avio_rl32(pb); /* field size */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment