summaryrefslogtreecommitdiff
path: root/libavformat/rawdec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-04-25 00:47:40 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-04-25 16:51:27 +0200
commit7f725f234e65cf55146b3ed8d1466c35937d4f9d (patch)
tree5b7bf6b8809328815c19820920c112c5183395bf /libavformat/rawdec.c
parent663d002410f7f4036b6ced77f3cf20d45bd98abb (diff)
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.
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r--libavformat/rawdec.c1
1 files changed, 1 insertions, 0 deletions
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;