[vlc-commits] codec: avcodec: map Y16 (Fixes #20814)

Tristan Matthews git at videolan.org
Tue Jul 17 08:10:54 CEST 2018


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Tue Jul 17 02:04:49 2018 -0400| [e121a52d969faa5f2625a555219b0af1b3743b27] | committer: Tristan Matthews

codec: avcodec: map Y16 (Fixes #20814)

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

 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 d9b29b87b6..4b698d7994 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -151,6 +151,8 @@ static const struct
     {VLC_CODEC_ARGB, AV_PIX_FMT_ARGB, 0, 0, 0 },
     {VLC_CODEC_BGRA, AV_PIX_FMT_BGRA, 0, 0, 0 },
     {VLC_CODEC_GREY, AV_PIX_FMT_GRAY8, 0, 0, 0},
+    {VLC_CODEC_GREY_16L, AV_PIX_FMT_GRAY16LE, 0, 0, 0},
+    {VLC_CODEC_GREY_16B, AV_PIX_FMT_GRAY16BE, 0, 0, 0},
 
      /* Paletized RGB */
     {VLC_CODEC_RGBP, AV_PIX_FMT_PAL8, 0, 0, 0},



More information about the vlc-commits mailing list