diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-29 01:37:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-29 01:40:07 +0200 |
commit | 99b15f1daae1aee0532d7e9573052b12005f78ae (patch) | |
tree | e720dead1201d2d58d97790aacff3d1aea99f686 /libavformat/nutenc.c | |
parent | 20343cfb51ea234500ce9c9c39b79287f44de4f7 (diff) | |
download | ffmpeg-99b15f1daae1aee0532d7e9573052b12005f78ae.tar.gz |
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: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r-- | libavformat/nutenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 237b501d8c..fd245ea3d5 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -697,7 +697,7 @@ static int nut_write_header(AVFormatContext *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) { av_log(s, AV_LOG_ERROR, "The additional syncpoint modes require version %d, " |