aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-16 23:57:40 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-16 23:57:40 +0000
commit7db2245d0ec38f3ed2d0143a9ca78d134b5a11e0 (patch)
treeeb4d41a614ffab4fe716678258ab05692bd8fb50
parent059715a41cf67834c1ce153caa245c394abb82e0 (diff)
downloadffmpeg-7db2245d0ec38f3ed2d0143a9ca78d134b5a11e0.tar.gz
> 2GB file fix
Originally committed as revision 5173 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--qt-faststart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-faststart.c b/qt-faststart.c
index b4eba7bb56..535dde3655 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) &&