[Ffmpeg-devel] [PATCH] Bug in av_estimate_timings_from_pts
Sun Mar 18 18:53:06 CET 2007
On Sun, Mar 18, 2007 at 02:11:13PM -0000, Wolfram Gloger wrote:
> The recent timestamp changes to libavformat/utils.c exposed a
> longstanding bug:
> av_estimate_timings_from_pts() flushes the packet queue but doesn't
> reset the streams' cur_dts values. This can lead to a fatal "error,
> non monotone timestamps ..." message later, because the out-of-date
> cur_dts values are used to compute some packet's dts.
> The appended patch fixes this by calling av_read_frame_flush(), which
> also eliminates code duplication.
> The additional hunk gives more detailed error messages.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the ffmpeg-devel