[Ffmpeg-devel] Bug in pts computation in compute_pkt_fields() ?

Michael Niedermayer michaelni
Tue Mar 20 19:35:43 CET 2007


Hi

On Tue, Mar 20, 2007 at 06:19:32PM -0000, Wolfram Gloger wrote:
> Hi,
> 
> > Sure, each pair of lines is one call to compute_pkt_fields(), the first
> > line is at the start of compute_pkt_fields(), the second at the end:
> > st->cur_dts 8000000000000000 pkt->pts 8000000000000000 pkt->dts
> > 8000000000000000 33
> > st->cur_dts 0 pkt->pts 0 pkt->dts 0
> > 
> > st->cur_dts 0 pkt->pts 8000000000000000 pkt->dts 8000000000000000 33
> > st->cur_dts 870 pkt->pts 0 pkt->dts 0
> > 
> > st->cur_dts 870 pkt->pts 113e0e706 pkt->dts 113e0e706 33
> > st->cur_dts ffffffff13e0ef76 pkt->pts ffffffff13e0e706 pkt->dts
> > ffffffff13e0e706
> 
> Here is the problem IMO, 

> cur_dts must never become negative..

why?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070320/c12898fa/attachment.pgp>



More information about the ffmpeg-devel mailing list