|
From: Jean-Francois P. <pan...@co...> - 2004-07-06 07:39:02
|
Currently, the mdat atom at the head of a QuickTime file generated by
oqt has a 32 bit size field,
limiting the file size to 4GB. By default, Apple QuickTime uses a 64 bit
mdat atom in case the
file grows larger than 4GB: this only adds 8 bytes to a file and is
probably what you want to do.
Here's a patch for lib/openquicktime.c which does this and seems to work
(there was already support
for 64 bit atoms in the code, but it didn't seem to be used).
JF
--- openquicktime.c.orig 2004-07-06 00:33:33.000000000 -0700
+++ openquicktime.c 2004-07-06 00:33:44.000000000 -0700
@@ -378,7 +378,7 @@
}
// Start the mdat atom
- oqt_atom_write_header(file, &file->mdat.atom, "mdat");
+ oqt_atom_write_header64(file, &file->mdat.atom, "mdat");
return 0; // Success
}
|