[vlc-commits] avcodec: better fix for missing FourCC in libav
Steve Lhomme
git at videolan.org
Wed Feb 21 17:13:38 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Feb 21 17:12:37 2018 +0100| [b39336e40236f83fd7928d5267da7432255642c6] | committer: Steve Lhomme
avcodec: better fix for missing FourCC in libav
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b39336e40236f83fd7928d5267da7432255642c6
---
modules/codec/avcodec/fourcc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 9f9072b134..5fd039adbb 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -182,7 +182,7 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
/* AV_CODEC_ID_V210X */
{ VLC_CODEC_TMV, AV_CODEC_ID_TMV },
{ VLC_CODEC_V210, AV_CODEC_ID_V210 },
-#if LIBAVCODEC_VERSION_CHECK( 54, 999, 999, 50, 100 )
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 54, 50, 100 ) && LIBAVCODEC_VERSION_MICRO >= 100
{ VLC_CODEC_VUYA, AV_CODEC_ID_AYUV },
#endif
/* AV_CODEC_ID_DPX */
More information about the vlc-commits
mailing list