[FFmpeg-cvslog] lavf/dashdec: Add webm to the list of allowed extensions.

Andrey Semashev git at videolan.org
Tue Nov 27 07:57:42 EET 2018


ffmpeg | branch: master | Andrey Semashev <andrey.semashev at gmail.com> | Sat Nov 17 20:40:52 2018 +0300| [1035206102e2b44e2ad6ab6bef0cb4ba708ae36e] | committer: Karthick J

lavf/dashdec: Add webm to the list of allowed extensions.

This is in coherence with dashenc, which can now generate segments with
webm file name extension by default. Dashdec should be able to handle
such streams by default as well.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1035206102e2b44e2ad6ab6bef0cb4ba708ae36e
---

 libavformat/dashdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 497e7e469c..cf603bf075 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -2242,7 +2242,7 @@ static int dash_probe(AVProbeData *p)
 static const AVOption dash_options[] = {
     {"allowed_extensions", "List of file extensions that dash is allowed to access",
         OFFSET(allowed_extensions), AV_OPT_TYPE_STRING,
-        {.str = "aac,m4a,m4s,m4v,mov,mp4"},
+        {.str = "aac,m4a,m4s,m4v,mov,mp4,webm"},
         INT_MIN, INT_MAX, FLAGS},
     {NULL}
 };



More information about the ffmpeg-cvslog mailing list