From 7db2245d0ec38f3ed2d0143a9ca78d134b5a11e0 Mon Sep 17 00:00:00 2001
From: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Date: Thu, 16 Mar 2006 23:57:40 +0000
Subject: [PATCH] > 2GB file fix

Originally committed as revision 5173 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 qt-faststart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-faststart.c b/qt-faststart.c
index b4eba7bb56d..535dde36550 100644
--- a/qt-faststart.c
+++ b/qt-faststart.c
@@ -99,7 +99,7 @@ int main(int argc, char *argv[])
         if (fread(atom_bytes, ATOM_PREAMBLE_SIZE, 1, infile) != 1) {
             break;
         }
-        atom_size = BE_32(&atom_bytes[0]);
+        atom_size = (uint32_t)BE_32(&atom_bytes[0]);
         atom_type = BE_32(&atom_bytes[4]);
 
         if ((atom_type != FREE_ATOM) &&
-- 
GitLab