From 7f725f234e65cf55146b3ed8d1466c35937d4f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Mon, 25 Apr 2011 00:47:40 +0200 Subject: [PATCH] Set start_time to 0 for raw audio files. None of the raw audio files have timestamps, thus setting start_time to 0 should be reasonable. --- libavformat/rawdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 02718e79c0..0387e3d266 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -100,6 +100,7 @@ int ff_raw_audio_read_header(AVFormatContext *s, st->codec->codec_type = AVMEDIA_TYPE_AUDIO; st->codec->codec_id = s->iformat->value; st->need_parsing = AVSTREAM_PARSE_FULL; + st->start_time = 0; /* the parameters will be extracted from the compressed bitstream */ return 0;