[vlc-commits] codec: avcodec: map RGB16 (Fixes #19562)

Steve Lhomme git at videolan.org
Wed Oct 17 16:07:43 CEST 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Aug  2 15:02:09 2018 +0200| [f9b2118bd6382e765f0d00672848b999863095fd] | committer: Steve Lhomme

codec: avcodec: map RGB16 (Fixes #19562)

(cherry picked from commit 456a31f6a680400c3533a322cd838159160dcb0d)

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

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

diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c
index 5f98e876cb..e622e25c7a 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -158,6 +158,8 @@ static const struct
     {VLC_CODEC_GBR_PLANAR_9B, AV_PIX_FMT_GBRP9BE, 0, 0, 0 },
     {VLC_CODEC_GBR_PLANAR_10L, AV_PIX_FMT_GBRP10LE, 0, 0, 0 },
     {VLC_CODEC_GBR_PLANAR_10B, AV_PIX_FMT_GBRP10BE, 0, 0, 0 },
+    {VLC_CODEC_GBR_PLANAR_16L, AV_PIX_FMT_GBRP16LE, 0, 0, 0 },
+    {VLC_CODEC_GBR_PLANAR_16B, AV_PIX_FMT_GBRP16BE, 0, 0, 0 },
 
     /* XYZ */
 #if LIBAVUTIL_VERSION_CHECK(52, 10, 0, 25, 100)



More information about the vlc-commits mailing list