From e878e92811a2dbfb6b4d3f7b2c357435f56e28db Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期日, 29 九月 2019 10:27:21 +0800 Subject: [PATCH] add trytime --- csrc/ffmpeg/format/FormatOut.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/csrc/ffmpeg/format/FormatOut.cpp b/csrc/ffmpeg/format/FormatOut.cpp index 6bc43df..60efd59 100644 --- a/csrc/ffmpeg/format/FormatOut.cpp +++ b/csrc/ffmpeg/format/FormatOut.cpp @@ -293,7 +293,7 @@ logIt("Failed to copy context from input to output stream codec context\n"); return false; } - out_stream->codecpar->codec_tag = out_stream->codec->codec_tag = 0; + out_stream->codecpar->codec_tag = 0; if(ctx_->oformat->flags & AVFMT_GLOBALHEADER) out_stream->codec->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; -- Gitblit v1.8.0