[FFmpeg-cvslog] lavc: make 100 the base for the micro version number.

Michael Niedermayer git at videolan.org
Thu Dec 22 03:23:19 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 17 06:25:12 2011 +0100| [f0e90e00354f5705e132406a06d3360e2c00565d] | committer: Michael Niedermayer

lavc: make 100 the base for the micro version number.
This way ffmpeg can be distinguished from the fork by a user
application or a encoded file by a decoder.
The highest value micro had, in the past, that i could find, was 6
thus 100 should be safe.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f0e90e00354f5705e132406a06d3360e2c00565d
---

 libavcodec/utils.c   |    1 +
 libavcodec/version.h |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 7d30f76..4e0a2f8 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1415,6 +1415,7 @@ unsigned avcodec_version( void )
     av_assert0(CODEC_ID_ADPCM_G722==69660);
     av_assert0(CODEC_ID_BMV_AUDIO==86071);
     av_assert0(CODEC_ID_SRT==94216);
+    av_assert0(LIBAVCODEC_VERSION_MICRO >= 100);
 
   return LIBAVCODEC_VERSION_INT;
 }
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 5d4807c..11cef3f 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -22,7 +22,7 @@
 
 #define LIBAVCODEC_VERSION_MAJOR 53
 #define LIBAVCODEC_VERSION_MINOR 47
-#define LIBAVCODEC_VERSION_MICRO  0
+#define LIBAVCODEC_VERSION_MICRO 100
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
                                                LIBAVCODEC_VERSION_MINOR, \



More information about the ffmpeg-cvslog mailing list