diff tiertexseq.c @ 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 7a0230981402
children 1d3d17de20ba
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;