Commit 3a76d7f7 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/nutenc: cleaner version check

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d7f398c5
......@@ -698,7 +698,7 @@ static int nut_write_header(AVFormatContext *s)
nut->avf = s;
nut->version = FFMAX(NUT_STABLE_VERSION, 3 + !!nut->flags);
if (nut->flags && s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
if (nut->version > 3 && s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
av_log(s, AV_LOG_ERROR,
"The additional syncpoint modes require version %d, "
"that is currently not finalized, "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment