[vlc-commits] Avcodec: fix FTBFS with FFmpeg because of YUVA422P definition

Jean-Baptiste Kempf git at videolan.org
Mon Dec 16 14:49:34 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec 16 14:48:40 2013 +0100| [ce9f40fcb46522195625e53d749f2f3443aa9a8b] | committer: Jean-Baptiste Kempf

Avcodec: fix FTBFS with FFmpeg because of YUVA422P definition

Close #10127

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce9f40fcb46522195625e53d749f2f3443aa9a8b
---

 modules/codec/avcodec/chroma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c
index 20db9b0..b76fabf 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -94,7 +94,7 @@ static const struct
     {VLC_CODEC_I422_10B, PIX_FMT_YUV422P10BE, 0, 0, 0 },
 
     {VLC_CODEC_YUV420A, PIX_FMT_YUVA420P, 0, 0, 0 },
-#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,45,0)
+#if LIBAVUTIL_VERSION_CHECK( 51, 45, 0, 49, 100 )
     {VLC_CODEC_YUV422A, AV_PIX_FMT_YUVA422P, 0, 0, 0 },
 #endif
 



More information about the vlc-commits mailing list