diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-19 19:45:24 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 11:48:06 -0300 |
commit | bc70684e74a185d7b80c8b80bdedda659cb581b8 (patch) | |
tree | 2be0c484f566fa11c97e3b51b99353c8d2647ea5 /libavformat/srtenc.c | |
parent | d92f38c179591a608390ffa9fee59c309142e79d (diff) | |
download | ffmpeg-bc70684e74a185d7b80c8b80bdedda659cb581b8.tar.gz |
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/srtenc.c')
-rw-r--r-- | libavformat/srtenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/srtenc.c b/libavformat/srtenc.c index 93d5ed7ac8..7f6171edd3 100644 --- a/libavformat/srtenc.c +++ b/libavformat/srtenc.c @@ -96,7 +96,7 @@ static int srt_write_packet(AVFormatContext *avf, AVPacket *pkt) return 0; } -AVOutputFormat ff_srt_muxer = { +const AVOutputFormat ff_srt_muxer = { .name = "srt", .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), .mime_type = "application/x-subrip", |