From bc70684e74a185d7b80c8b80bdedda659cb581b8 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 19 Apr 2021 19:45:24 +0200 Subject: avformat: Constify all muxer/demuxers This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- libavformat/matroskadec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/matroskadec.c') diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 116e331215..63faea4e35 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -4306,7 +4306,7 @@ static const AVClass webm_dash_class = { .version = LIBAVUTIL_VERSION_INT, }; -AVInputFormat ff_matroska_demuxer = { +const AVInputFormat ff_matroska_demuxer = { .name = "matroska,webm", .long_name = NULL_IF_CONFIG_SMALL("Matroska / WebM"), .extensions = "mkv,mk3d,mka,mks,webm", @@ -4319,7 +4319,7 @@ AVInputFormat ff_matroska_demuxer = { .mime_type = "audio/webm,audio/x-matroska,video/webm,video/x-matroska" }; -AVInputFormat ff_webm_dash_manifest_demuxer = { +const AVInputFormat ff_webm_dash_manifest_demuxer = { .name = "webm_dash_manifest", .long_name = NULL_IF_CONFIG_SMALL("WebM DASH Manifest"), .priv_data_size = sizeof(MatroskaDemuxContext), -- cgit v1.2.3