Commit 99b15f1d authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/nutenc: fix used version value

The broadcast/pipe flags arent stable + 1 they would be 4 or whenever but wouldnt change based
on which is stable
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 20343cfb
...@@ -697,7 +697,7 @@ static int nut_write_header(AVFormatContext *s) ...@@ -697,7 +697,7 @@ static int nut_write_header(AVFormatContext *s)
nut->avf = s; nut->avf = s;
nut->version = NUT_STABLE_VERSION + !!nut->flags; nut->version = FFMAX(NUT_STABLE_VERSION, 3 + !!nut->flags);
if (nut->flags && s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { if (nut->flags && s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
av_log(s, AV_LOG_ERROR, av_log(s, AV_LOG_ERROR,
"The additional syncpoint modes require version %d, " "The additional syncpoint modes require version %d, "
......
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