Module: libav Branch: master Commit: e1a57cbb1c2752feb9315f748836dc44e58d2dc6
Author: Luca Barbato <[email protected]> Committer: Luca Barbato <[email protected]> Date: Sat Feb 14 16:15:37 2015 +0100 ape: Use the proper variable type Avoid an unsigned underflow. Bug-Id: 1041122 CC: [email protected] --- libavformat/apetag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/apetag.c b/libavformat/apetag.c index bd8d0ed..4d65301 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 */ _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
