aboutsummaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorGregory Montoir2008-07-06 10:00:12 +0000
committerDiego Biurrun2008-07-06 10:00:12 +0000
commitca3ed63e1582e60d76b17c71a856b6f1e3618068 (patch)
treed7a98b1a59dd68fd6b5882e42620f47fab096866 /libavformat
parentce83d48b2204e52d4a0b8096ae2d14e85d9b1a5b (diff)
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
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/tiertexseq.c2
1 files changed, 1 insertions, 1 deletions
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;