Browse Source

ape: Use the proper variable type

Avoid an unsigned underflow.

Bug-Id: 1041122
CC: libav-stable@libav.org
tags/n2.6
Luca Barbato 10 years ago
parent
commit
e1a57cbb1c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/apetag.c

+ 1
- 1
libavformat/apetag.c View File

@@ -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 */


Loading…
Cancel
Save