ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Sat Aug 28 12:51:14 2021 +0200| [2b787ef766941a7565ac143f52d2f5954b9db6e9] | committer: Andreas Rheinhardt
avformat/dv: Set AVFMTCTX_NOHEADER flag Audio streams are only added when a packet is read. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2b787ef766941a7565ac143f52d2f5954b9db6e9 --- libavformat/dv.c | 3 +++ 1 file changed, 3 insertions(+) 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; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".