[vlc-commits] Do not activate YUVA422P in FFmpeg until 51.74.100

Jean-Baptiste Kempf git at videolan.org
Sat Dec 28 12:39:10 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Dec 28 12:37:47 2013 +0100| [472fe2655cecc03fff0df7d87ca28624648cc402] | committer: Jean-Baptiste Kempf

Do not activate YUVA422P in FFmpeg until 51.74.100

>From 51.49.100 to 51.74.100, it only defines PIX_FMT_YUVA422P and not
AV_PIX_FMT_YUVA422P. There are other ways to fix, but ugly. And people should
update their FFmpeg anyway :)

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

 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 b76fabf..3f6c39c 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_CHECK( 51, 45, 0, 49, 100 )
+#if LIBAVUTIL_VERSION_CHECK( 51, 45, 0, 74, 100 )
     {VLC_CODEC_YUV422A, AV_PIX_FMT_YUVA422P, 0, 0, 0 },
 #endif
 



More information about the vlc-commits mailing list