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/mpjpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mpjpeg.c') diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c index 0404e86d7f..c5e5d1e286 100644 --- a/libavformat/mpjpeg.c +++ b/libavformat/mpjpeg.c @@ -61,7 +61,7 @@ static const AVClass mpjpeg_muxer_class = { .version = LIBAVUTIL_VERSION_INT, }; -AVOutputFormat ff_mpjpeg_muxer = { +const AVOutputFormat ff_mpjpeg_muxer = { .name = "mpjpeg", .long_name = NULL_IF_CONFIG_SMALL("MIME multipart JPEG"), .mime_type = "multipart/x-mixed-replace;boundary=" BOUNDARY_TAG, -- cgit v1.2.3