[FFmpeg-cvslog] r10836 - trunk/libavformat/mov.c
Michael Niedermayer
michaelni
Mon Oct 22 23:42:53 CEST 2007
On Mon, Oct 22, 2007 at 04:36:14PM +0200, bcoudurier wrote:
> Author: bcoudurier
> Date: Mon Oct 22 16:36:14 2007
> New Revision: 10836
>
> Log:
> fix issue 225, instead of stoping when wrong atom size is found,
> limit atom size to what is left, assuming container atom has correct size..
> cricket4.3g2 has incorrect moov atom size which indicates that file size should be
> 2 bytes bigger than it is and quicktime reads it correctly though.
[...]
> + if (a.size > atom.size - total_size)
> + a.size = atom.size - total_size;
FFMIN
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20071022/a6b26295/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list