[FFmpeg-devel] [PATCH] fix crash in ffplay.c #2
Tue Dec 30 01:33:47 CET 2008
On Mon, Dec 29, 2008 at 06:27:54PM -0500, Ronald S. Bultje wrote:
> when av_find_stream_info() completes but not all variables have been
> found, some values (e.g. a channel count) can be left unset (0).
> ffplay.c doesn't take that into account and uses channels as a
> denominator in a division in line 783 (and following). The attached
> patch fixes this (wrongly, but I couldn't think of anything better and
> maybe someone interested can actually do something useful with it :-)
This is certainly not a correct fix ...
And its hard to say how to fix it without any clue about the kind of
file you try to play, or why channels are not set.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel