diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-17 06:25:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-22 02:32:06 +0100 |
commit | f0e90e00354f5705e132406a06d3360e2c00565d (patch) | |
tree | b6b1eef830a592e6ccd0d15e8acde6570afb944c /libavcodec/utils.c | |
parent | 52c522c72090233edeeb0486a9bd8bee925a710a (diff) | |
download | ffmpeg-f0e90e00354f5705e132406a06d3360e2c00565d.tar.gz |
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@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 7d30f7631f..4e0a2f8710 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; } |