[FFmpeg-cvslog] avformat/nutenc: fix used version value
Michael Niedermayer
git at videolan.org
Thu May 29 02:23:42 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 29 01:37:46 2014 +0200| [99b15f1daae1aee0532d7e9573052b12005f78ae] | committer: 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: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=99b15f1daae1aee0532d7e9573052b12005f78ae
---
libavformat/nutenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 237b501..fd245ea 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, "
More information about the ffmpeg-cvslog
mailing list