diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-17 06:09:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-03 19:05:38 +0100 |
commit | 7bf3f79502e1721600021c0ed6b86f48140ac43a (patch) | |
tree | 5233c47878a81f9b30db758b9138f427c20fc215 | |
parent | e3316723b6056cdc3bb1ecfd36c0476ea6807443 (diff) | |
download | ffmpeg-7bf3f79502e1721600021c0ed6b86f48140ac43a.tar.gz |
lavc: Check codec_ids against insertion/removial typos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 83b46713f0941f468f20a149be206db1f78eb944)
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 d15f652263..8b4290eb4c 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; } |