[FFmpeg-devel] [PATCH] avformat/matroskadec: Add webm file extension

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Sat Dec 28 05:05:44 EET 2019


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavformat/matroskadec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 75f72d330c..3879a54af5 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -4193,7 +4193,7 @@ static const AVClass webm_dash_class = {
 AVInputFormat ff_matroska_demuxer = {
     .name           = "matroska,webm",
     .long_name      = NULL_IF_CONFIG_SMALL("Matroska / WebM"),
-    .extensions     = "mkv,mk3d,mka,mks",
+    .extensions     = "mkv,mk3d,mka,mks,webm",
     .priv_data_size = sizeof(MatroskaDemuxContext),
     .read_probe     = matroska_probe,
     .read_header    = matroska_read_header,
-- 
2.20.1



More information about the ffmpeg-devel mailing list