diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-17 06:09:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-17 06:09:13 +0100 |
commit | 83b46713f0941f468f20a149be206db1f78eb944 (patch) | |
tree | 515946c6badd2bf1fbe70d66145bbfe78dcd9ba2 | |
parent | 75f2cc5134b884dd2088d7b16d6d33a46ecee02a (diff) | |
download | ffmpeg-83b46713f0941f468f20a149be206db1f78eb944.tar.gz |
lavc: Check codec_ids against insertion/removial typos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/utils.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index fb7173123a..ef5e1a78f9 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -33,6 +33,7 @@ #include "libavutil/imgutils.h" #include "libavutil/samplefmt.h" #include "libavutil/dict.h" +#include "libavutil/avassert.h" #include "avcodec.h" #include "dsputil.h" #include "libavutil/opt.h" @@ -1374,6 +1375,12 @@ const char *av_get_profile_name(const AVCodec *codec, int profile) unsigned avcodec_version( void ) { + av_assert0(CODEC_ID_V410==164); + av_assert0(CODEC_ID_PCM_S8_PLANAR==65563); + av_assert0(CODEC_ID_ADPCM_G722==69660); + av_assert0(CODEC_ID_BMV_AUDIO==86071); + av_assert0(CODEC_ID_SRT==94216); + return LIBAVCODEC_VERSION_INT; } |