aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nutenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-10 16:36:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-10 16:36:41 +0200
commit3a76d7f73d495c5af0968e83d96c075c27af3b5c (patch)
tree40eea540c877b28e986867b518d6ce9cc6cdde0a /libavformat/nutenc.c
parentd7f398c5423398647462bd1375f5339991ab4b52 (diff)
downloadffmpeg-3a76d7f73d495c5af0968e83d96c075c27af3b5c.tar.gz
avformat/nutenc: cleaner version check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r--libavformat/nutenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index b11dd4a476..b7ea286338 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -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, "