[FFmpeg-devel] [qt-faststart] Ever get "could not allocate 0x14 byte for ftyp atom"?

avcoder.net ffmpeg
Fri Mar 14 18:54:58 CET 2008


Dear:

On Fri, Mar 14, 2008 at 11:24 PM, Gilles Dubuc <kouiskas at gmail.com> wrote:

> Mike Melanson <mike <at> multimedia.cx> writes:
>
> >
> > matthieu castet wrote:
> > > May the file has a lot's FTYP atoms.
> > > The code does malloc without checking if ftyp_atom!=NULL in a loop.
> > > This can lead to a great memory DOS for broken files...
> >
> > Interesting theory. Per my understanding, a file should have, at most,
> > one FTYP that's at the beginning. But I guess there is nothing to stop a
> > muxer from adding more.
> >
>
> I've made a sample video file (which encoutners the same bug as the
> previous
> posters) available there:
> http://videoupload.darumazone.com/outbox/1205436652Aluminum7.mov (240 KB)


I compiled the latest FFmpeg
qt-faststart is happay with this file


-- 
-------------------------------------------------
Inspired by http://www.avcoder.net
Your potential. Our passion.




More information about the ffmpeg-devel mailing list