changeset 3541:b50bdfaf90f5 libavformat

Remove inaccurate computation of pts for audio packets and rely on libavformat to generate them. patch by Gregory Montoir, cyx users sourceforge net
author diego
date Sun, 06 Jul 2008 10:00:12 +0000
parents 3dfb35d2ac51
children cc1ef5259069
files tiertexseq.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;