Dan Hinsley
unread,Jul 31, 2012, 4:11:21 PM7/31/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mp4v2
I have a file that QT and iTunes will play, but when I try to open it
with MP4Read, it dies. The problem is in ReadChildAtoms->ReadAtom
The atom in question has a null type and a 0 for datasize. So MP4V2
decides that this atom extends to the end of the file, and since it's
only 3MB into a 450MB file, when it tries to execute:
pAtom->AddProperty(new MP4BytesProperty(*pAtom, "data", dataSize));
it ends up trying to allocate 450MB of memory and then fails.
So I'm sure the file is a little non-standard, but Video players seem
to be able to deal with it. I can put the file somewhere up on the
net if someone can take a look at it. Or I can debug into it, if
someone can give me a hint as to what other information I should be
looking for. And I can build the dll, so if someone has an idea of
how to deal with this, I can try the changes as well.
Thanks for the help,
Dan