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

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Feb 26 06:20:02 EET 2021


Andreas Rheinhardt:
> 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,
> 
Forgot about this one. Will apply it soon.

- Andreas


More information about the ffmpeg-devel mailing list