[FFmpeg-cvslog] avformat/mov: Fix integer truncation in mov_read_uuid()

Michael Niedermayer git at videolan.org
Tue Jan 31 00:20:26 EET 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Jan 30 23:03:02 2017 +0100| [06c143e505779efbc1d0b551b2615f010d5eb6fa] | committer: Michael Niedermayer

avformat/mov: Fix integer truncation in mov_read_uuid()

Fixes Ticket6102

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavformat/mov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index b1bfa0a..9ae4f8c 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -4700,7 +4700,7 @@ static int mov_read_uuid(MOVContext *c, AVIOContext *pb, MOVAtom atom)
 {
     AVStream *st;
     MOVStreamContext *sc;
-    int ret;
+    int64_t ret;
     uint8_t uuid[16];
     static const uint8_t uuid_isml_manifest[] = {
         0xa5, 0xd4, 0x0b, 0x30, 0xe8, 0x14, 0x11, 0xdd,



More information about the ffmpeg-cvslog mailing list