aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-13 00:39:05 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-13 00:50:48 +0100
commitcfc1efc77c7a996b3da7c125c43f7c759cb6d144 (patch)
treefc785e79510fba898249e705aa2487dc99a3cb34
parente664f48b97f2e971bdba56d33f28ef05fbf06847 (diff)
downloadffmpeg-cfc1efc77c7a996b3da7c125c43f7c759cb6d144.tar.gz
avcodec: assert that old codec ids match new
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 069761fa5e..8475c67ec6 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -2538,6 +2538,11 @@ unsigned avcodec_version(void)
av_assert0(AV_CODEC_ID_SRT==94216);
av_assert0(LIBAVCODEC_VERSION_MICRO >= 100);
+ av_assert0(CODEC_ID_CLLC == AV_CODEC_ID_CLLC);
+ av_assert0(CODEC_ID_PCM_S8_PLANAR == AV_CODEC_ID_PCM_S8_PLANAR);
+ av_assert0(CODEC_ID_ADPCM_IMA_APC == AV_CODEC_ID_ADPCM_IMA_APC);
+ av_assert0(CODEC_ID_ILBC == AV_CODEC_ID_ILBC);
+ av_assert0(CODEC_ID_SRT == AV_CODEC_ID_SRT);
return LIBAVCODEC_VERSION_INT;
}