From ca3ed63e1582e60d76b17c71a856b6f1e3618068 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Sun, 6 Jul 2008 10:00:12 +0000 Subject: [PATCH] Remove inaccurate computation of pts for audio packets and rely on libavformat to generate them. patch by Gregory Montoir, cyx users sourceforge net Originally committed as revision 14085 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/tiertexseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/tiertexseq.c b/libavformat/tiertexseq.c index f9c9be1796..00dcb5e232 100644 --- a/libavformat/tiertexseq.c +++ b/libavformat/tiertexseq.c @@ -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;