[vlc-devel] [PATCH 3/3] add AGM support via libavcodec

Paul B Mahol onemda at gmail.com
Thu Apr 11 17:18:45 CEST 2019


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

diff --git a/NEWS b/NEWS
index 5224bd5ab5..6801d24de5 100644
--- a/NEWS
+++ b/NEWS
@@ -33,6 +33,7 @@ Codecs:
  * Support for 16-bit greyscale
  * Support IMM4 decoder
  * Improve 708 decoder
+ * Support AGM 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 b564df775f..c9b8f5e969 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -309,6 +309,10 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
 #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 58, 24, 100 )
     { VLC_CODEC_IMM4, AV_CODEC_ID_IMM4 },
 #endif
+
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 58, 49, 100 )
+    { VLC_CODEC_AGM, AV_CODEC_ID_AGM },
+#endif
 #endif /* FFmpeg only */
 };
 
-- 
2.17.1



More information about the vlc-devel mailing list