# HG changeset patch # User diego # Date 1215338412 0 # Node ID b50bdfaf90f58151faa397b34695c01897b07a2a # Parent 3dfb35d2ac5168b2ff59767ca5ca30a18b9db50e Remove inaccurate computation of pts for audio packets and rely on libavformat to generate them. patch by Gregory Montoir, cyx users sourceforge net diff -r 3dfb35d2ac51 -r b50bdfaf90f5 tiertexseq.c --- a/tiertexseq.c Fri Jul 04 22:04:41 2008 +0000 +++ b/tiertexseq.c Sun Jul 06 10:00:12 2008 +0000 @@ -285,7 +285,7 @@ return rc; pkt->stream_index = seq->audio_stream_index; - pkt->pts = seq->current_frame_pts++; + seq->current_frame_pts++; seq->audio_buffer_full = 0; return 0;