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

Wolfram Gloger wmglo
Tue Mar 20 19:19:32 CET 2007


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..
What about pkt->duration at this point?

Regards,
Wolfram.




More information about the ffmpeg-devel mailing list