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/mkvtimestamp_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mkvtimestamp_v2.c') diff --git a/libavformat/mkvtimestamp_v2.c b/libavformat/mkvtimestamp_v2.c index 7ba6691952..27c7d7a68b 100644 --- a/libavformat/mkvtimestamp_v2.c +++ b/libavformat/mkvtimestamp_v2.c @@ -40,7 +40,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) return 0; } -AVOutputFormat ff_mkvtimestamp_v2_muxer = { +const AVOutputFormat ff_mkvtimestamp_v2_muxer = { .name = "mkvtimestamp_v2", .long_name = NULL_IF_CONFIG_SMALL("extract pts as timecode v2 format, as defined by mkvtoolnix"), .audio_codec = AV_CODEC_ID_NONE, -- cgit v1.2.3