diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-01-07 08:24:54 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-01-12 09:12:24 +0100 |
commit | 521dc78366c6ea54b7b69426dab302a57231f81e (patch) | |
tree | cb98dd0e8bc071bed5c88c98fd478ef2776e18bd /libavformat | |
parent | fa66237b69c27befa788b100e73783e0f47fe1b7 (diff) |
mux: drop the warning about global headers
The AVStream codec context is often not (and should not be) the actual
encoding context, so this warning will be spurious in many cases.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mux.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c index 7a51578f1c..ddc69f94a5 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -199,12 +199,6 @@ FF_ENABLE_DEPRECATION_WARNINGS codec->codec_tag = av_codec_get_tag(of->codec_tag, codec->codec_id); } - if (of->flags & AVFMT_GLOBALHEADER && - !(codec->flags & AV_CODEC_FLAG_GLOBAL_HEADER)) - av_log(s, AV_LOG_WARNING, - "Codec for stream %d does not use global headers " - "but container format requires global headers\n", i); - if (codec->codec_type != AVMEDIA_TYPE_ATTACHMENT) s->internal->nb_interleaved_streams++; } |