]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove inaccurate computation of pts for audio packets and rely on
authordiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 6 Jul 2008 10:00:12 +0000 (10:00 +0000)
committerdiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 6 Jul 2008 10:00:12 +0000 (10:00 +0000)
libavformat to generate them.
patch by Gregory Montoir, cyx users sourceforge net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14085 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/tiertexseq.c

index f9c9be179680ffd3723a7e94a08cee6ed77eb3f1..00dcb5e2329ca7211fe28c4b52780b12692e6616 100644 (file)
@@ -285,7 +285,7 @@ static int seq_read_packet(AVFormatContext *s, AVPacket *pkt)
         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;