[FFmpeg-cvslog] r14085 - trunk/libavformat/tiertexseq.c

diego subversion
Sun Jul 6 12:00:12 CEST 2008


Author: diego
Date: Sun Jul  6 12:00:12 2008
New Revision: 14085

Log:
Remove inaccurate computation of pts for audio packets and rely on
libavformat to generate them.
patch by Gregory Montoir, cyx users sourceforge net


Modified:
   trunk/libavformat/tiertexseq.c

Modified: trunk/libavformat/tiertexseq.c
==============================================================================
--- trunk/libavformat/tiertexseq.c	(original)
+++ trunk/libavformat/tiertexseq.c	Sun Jul  6 12:00:12 2008
@@ -285,7 +285,7 @@ static int seq_read_packet(AVFormatConte
         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;




More information about the ffmpeg-cvslog mailing list