[FFmpeg-cvslog] avformat/nutenc: change check to match comment
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:41:56 2014 +0200| [45daae06fd6f05baddb897686a6fa90cda3abb49] | committer: Michael Niedermayer
avformat/nutenc: change check to match comment
The code appears to assume STABLE will never change
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=45daae06fd6f05baddb897686a6fa90cda3abb49
---
libavformat/nutenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index fd245ea..32acad4 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -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);
}
More information about the ffmpeg-cvslog
mailing list