From c914038d381df57a9b22fb98f8083d6bea2e4856 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Wed, 28 Dec 2011 00:50:32 -0500 Subject: rawdec: 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. Signed-off-by: Anton Khirnov --- libavformat/rawdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/rawdec.c') diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 589cdd5db9..3e2dd05940 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -129,6 +129,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; -- cgit v1.2.3