diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-08 10:41:29 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-08 21:58:31 +0200 |
commit | 2e9c8be8342c10a6cc3a124298e27a5d2234512f (patch) | |
tree | 0ee6c653b5fb62ec8ceb7a10ded12d2afdb1c091 /libavcodec/utils.c | |
parent | 5edab1d207d211962b8b0e9ffdebf774aa6ee688 (diff) | |
download | ffmpeg-streaming-2e9c8be8342c10a6cc3a124298e27a5d2234512f.zip ffmpeg-streaming-2e9c8be8342c10a6cc3a124298e27a5d2234512f.tar.gz |
avcodec: add missing FF_API_CODEC_ID guard
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 5dbd0cf..22dcc82 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -3275,11 +3275,13 @@ unsigned avcodec_version(void) av_assert0(AV_CODEC_ID_SRT==94216); av_assert0(LIBAVCODEC_VERSION_MICRO >= 100); +#if FF_API_CODEC_ID 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); +#endif return LIBAVCODEC_VERSION_INT; } |