mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
avformat/dv: Set AVFMTCTX_NOHEADER flag
Audio streams are only added when a packet is read. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
3022f74874
commit
2b787ef766
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user