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;