[vlc-devel] [PATCH 2/2] add IMM4 support via libavcodec

Paul B Mahol onemda at gmail.com
Thu Aug 23 12:33:44 CEST 2018


---
 NEWS                           | 1 +
 modules/codec/avcodec/fourcc.c | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/NEWS b/NEWS
index 527c9da518..6bc94096de 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,7 @@ Codecs:
  * WebP image decoding
  * Support for SMPTE-TT image profile
  * Support for 16-bit greyscale
+ * Support IMM4 decoder
 
 Access:
  * Enable SMB2 / SMB3 support on mobile ports with libsmb2
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 0844ca7013..7711090c03 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -300,6 +300,10 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
 #if LIBAVCODEC_VERSION_CHECK( 57, 999, 999, 79, 100 )
     { VLC_CODEC_FMVC, AV_CODEC_ID_FMVC },
 #endif
+
+#if LIBAVCODEC_VERSION_CHECK( 58, 999, 999, 24, 100 )
+    { VLC_CODEC_IMM4, AV_CODEC_ID_IMM4 },
+#endif
 };
 
 /*
-- 
2.17.1



More information about the vlc-devel mailing list