[MPlayer-dev-eng] [PATCH] Ignore 0-len packets for muxer prebuffering
Tobias Diedrich
ranma at tdiedrich.de
Sun Jun 26 21:38:42 CEST 2011
Reimar Döffinger wrote:
> Thanks for taking care of it.
>
> On Thu, Jun 23, 2011 at 11:26:13PM +0200, Tobias Diedrich wrote:
> > This fixes an issue where the libavformat muxer could not determine the
> > image dimensions while writing the header and subsequently crash with
> > a divison by zero, which is caused by calling muxer_write_header too early.
>
> Can you pinpoint the crash in libavformat? Because IMHO that is a real,
> even somewhat serious bug in libavformat still, even if MPlayer didn't
> feed it quite correct data.
Writing header...
[avi @ 0xa900c0]dimensions not set
Program received signal SIGFPE, Arithmetic exception.
0x00000000006645c2 in av_frac_add (s=0x1485630, st=0x168dcb0,
pkt=0x7fffffffdbb0) at libavformat/utils.c:114
114 f->val += num / den;
(gdb)
--
Tobias PGP: http://8ef7ddba.uguu.de
More information about the MPlayer-dev-eng
mailing list