diff --git a/libavformat/dv.c b/libavformat/dv.c index 4d27c95d98..77a6ede37b 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -345,6 +345,9 @@ static int dv_init_demux(AVFormatContext *s, DVDemuxContext *c) c->vst->codecpar->bit_rate = 25000000; c->vst->start_time = 0; + /* Audio streams are added later as they are encountered. */ + s->ctx_flags |= AVFMTCTX_NOHEADER; + return 0; }