[vlc-commits] avcodec: map VLC_CODEC_P010 to AV_PIX_FMT_P010

Steve Lhomme git at videolan.org
Thu Jul 28 00:34:51 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Jul 27 17:46:23 2016 +0200| [9a2d671fd6b16dd75805f3517f1f630f80acf8d9] | committer: Jean-Baptiste Kempf

avcodec: map VLC_CODEC_P010 to AV_PIX_FMT_P010

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/codec/avcodec/chroma.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c
index 52151e9..eb68d1a 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -90,6 +90,9 @@ static const struct
     {VLC_CODEC_I420_12L, AV_PIX_FMT_YUV420P12LE, 0, 0, 0 },
     {VLC_CODEC_I420_12B, AV_PIX_FMT_YUV420P12BE, 0, 0, 0 },
 #endif
+#ifdef AV_PIX_FMT_P010
+    {VLC_CODEC_P010, AV_PIX_FMT_P010, 0, 0, 0 },
+#endif
 
     {VLC_CODEC_I422_9L, AV_PIX_FMT_YUV422P9LE, 0, 0, 0 },
     {VLC_CODEC_I422_9B, AV_PIX_FMT_YUV422P9BE, 0, 0, 0 },



More information about the vlc-commits mailing list