ffmpeg | branch: master | Luca Barbato <[email protected]> | Sat Feb 14 
16:15:37 2015 +0100| [e1a57cbb1c2752feb9315f748836dc44e58d2dc6] | committer: 
Luca Barbato

ape: Use the proper variable type

Avoid an unsigned underflow.

Bug-Id: 1041122
CC: [email protected]

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1a57cbb1c2752feb9315f748836dc44e58d2dc6
---

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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to