summaryrefslogtreecommitdiff
path: root/libavformat/tiertexseq.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-01-19 23:01:53 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-03-03 17:03:27 -0500
commitf9cf91d8224eb9081e50b6cee55423ccb0bf9e90 (patch)
treea6c721474950208a6fb2f24cddc9e84521347e2b /libavformat/tiertexseq.c
parent0883109b27a9d2edf9528506e2605a5e0b8eef95 (diff)
tiertexseq: set audio stream start time to 0
Update FATE test to reflect delayed video due to the file having audio-only frames prior to the first frame with video.
Diffstat (limited to 'libavformat/tiertexseq.c')
-rw-r--r--libavformat/tiertexseq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/tiertexseq.c b/libavformat/tiertexseq.c
index 194c83abc1..16af084b39 100644
--- a/libavformat/tiertexseq.c
+++ b/libavformat/tiertexseq.c
@@ -224,6 +224,7 @@ static int seq_read_header(AVFormatContext *s)
if (!st)
return AVERROR(ENOMEM);
+ st->start_time = 0;
avpriv_set_pts_info(st, 32, 1, SEQ_SAMPLE_RATE);
seq->audio_stream_index = st->index;
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;