diff mbox

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

Message ID 20191228030544.18682-1-andreas.rheinhardt@gmail.com
State Accepted
Commit 173d902cd154efe239117a728749ea476c47b638
Headers show

Commit Message

Andreas Rheinhardt Dec. 28, 2019, 3:05 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavformat/matroskadec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Rheinhardt Feb. 26, 2021, 4:20 a.m. UTC | #1
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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,
> 
Forgot about this one. Will apply it soon.

- Andreas
diff mbox

Patch

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,