From 1035206102e2b44e2ad6ab6bef0cb4ba708ae36e Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sat, 17 Nov 2018 20:40:52 +0300 Subject: 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. --- 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} }; -- cgit v1.2.3