[FFmpeg-devel] [PATCH 5/6] lavc: update pkt_duration for skipped samples.

Nicolas George nicolas.george at normalesup.org
Thu Jul 19 16:10:56 CEST 2012

Le nonidi 29 messidor, an CCXX, Michael Niedermayer a écrit :
> > +                    if (frame->pkt_duration > 0)
> > +                        frame->pkt_duration -= diff_ts;
> this should check that pkt_duration stays >= 0

Changed into:

	if (frame->pkt_duration >= diff_ts)

I can change it to use FFMIN instead if you prefer; otherwise I will push it
along with the rest of the series once the rest is ok.



  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120719/2a004a18/attachment.asc>

More information about the ffmpeg-devel mailing list