summaryrefslogtreecommitdiff
path: root/libavformat/mkvtimestamp_v2.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 19:45:24 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:06 -0300
commitbc70684e74a185d7b80c8b80bdedda659cb581b8 (patch)
tree2be0c484f566fa11c97e3b51b99353c8d2647ea5 /libavformat/mkvtimestamp_v2.c
parentd92f38c179591a608390ffa9fee59c309142e79d (diff)
avformat: Constify all muxer/demuxers
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/mkvtimestamp_v2.c')
-rw-r--r--libavformat/mkvtimestamp_v2.c2
1 files changed, 1 insertions, 1 deletions
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,