lavc: Check codec_ids against insertion/removial typos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
75f2cc5134
commit
83b46713f0
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue