[vlc-commits] [Git][videolan/vlc][master] avcodec: AV_CODEC_ID_CODEC2 missing version check

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Fri Aug 12 16:35:09 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
eb82a4ea by Zhao Zhili at 2022-08-12T16:17:53+00:00
avcodec: AV_CODEC_ID_CODEC2 missing version check

- - - - -


1 changed file:

- modules/codec/avcodec/fourcc.c


Changes:

=====================================
modules/codec/avcodec/fourcc.c
=====================================
@@ -467,7 +467,9 @@ static const struct vlc_avcodec_fourcc audio_codecs[] =
     { VLC_CODEC_NELLYMOSER, AV_CODEC_ID_NELLYMOSER },
     { VLC_CODEC_MUSEPACK8, AV_CODEC_ID_MUSEPACK8 },
     { VLC_CODEC_SPEEX, AV_CODEC_ID_SPEEX },
+#if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(58, 13, 100))
     { VLC_CODEC_CODEC2, AV_CODEC_ID_CODEC2 },
+#endif
     { VLC_CODEC_WMAS, AV_CODEC_ID_WMAVOICE },
     { VLC_CODEC_WMAP, AV_CODEC_ID_WMAPRO },
     { VLC_CODEC_WMAL, AV_CODEC_ID_WMALOSSLESS },



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/eb82a4ead902e3d3bb521ae964d598eae876d8f5

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/eb82a4ead902e3d3bb521ae964d598eae876d8f5
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list