Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-02-14 18:15:37 +0300
committerLuca Barbato <lu_zero@gentoo.org>2015-02-15 20:20:54 +0300
commite1a57cbb1c2752feb9315f748836dc44e58d2dc6 (patch)
treef49678ff99470de52276851878a366099bc0ef15 /libavformat
parentb4cda0a999facbddacb95861a67ff61074edc39b (diff)
ape: Use the proper variable type
Avoid an unsigned underflow. Bug-Id: 1041122 CC: libav-stable@libav.org
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/apetag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index bd8d0ed485..4d65301697 100644
--- a/libavformat/apetag.c
+++ b/libavformat/apetag.c
@@ -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 */