[FFmpeg-cvslog] avcodec: assert that old codec ids match new
Michael Niedermayer
git at videolan.org
Wed Mar 13 00:56:44 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Mar 13 00:39:05 2013 +0100| [cfc1efc77c7a996b3da7c125c43f7c759cb6d144] | committer: Michael Niedermayer
avcodec: assert that old codec ids match new
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cfc1efc77c7a996b3da7c125c43f7c759cb6d144
---
libavcodec/utils.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 069761f..8475c67 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;
}
More information about the ffmpeg-cvslog
mailing list