Commit 45daae06 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/nutenc: change check to match comment

The code appears to assume STABLE will never change
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 99b15f1d
......@@ -410,7 +410,7 @@ static void write_mainheader(NUTContext *nut, AVIOContext *bc)
avio_write(bc, nut->header[i], nut->header_len[i]);
}
// flags had been effectively introduced in version 4
if (nut->version > NUT_STABLE_VERSION)
if (nut->version > 3)
ff_put_v(bc, nut->flags);
}
......
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