[Ffmpeg-devel] Ffplay: streaming in ogg and asf container bro ken

Klaas-Pieter Vlieg vlieg
Sun Feb 18 11:41:47 CET 2007


> From: Michael Niedermayer [mailto:michaelni at gmx.at] 
> Sent: 18 February 2007 01:07
> > 
> > Asf streams quit immediate with an open file error. Ogg 
> streams eventually segfault in ogg_read_page() (ogg2.c) after 
> av_malloc() has failed.
> why does it fail? slowly allocating many small blocks, or one large?
> which malloc whats the line number, gdb output ...
It slowly allocates more memory in line 311:
uint8_t *nb = av_malloc (os->bufsize *= 2);

It finally segfaults in line 312:
memcpy (nb, os->buf, os->bufpos);

Klaas-Pieter Vlieg

PS: Michael your posts to this list always have a mail attachment which in turn has a text attachment. It's a bit cumbersome to read and reply your posts. Why is that?

More information about the ffmpeg-devel mailing list