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/alp.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/alp.c')
-rw-r--r-- | libavformat/alp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/alp.c b/libavformat/alp.c index 222cc246a2..bc19f02083 100644 --- a/libavformat/alp.c +++ b/libavformat/alp.c @@ -163,7 +163,7 @@ static int alp_seek(AVFormatContext *s, int stream_index, return avio_seek(s->pb, hdr->header_size + 8, SEEK_SET); } -AVInputFormat ff_alp_demuxer = { +const AVInputFormat ff_alp_demuxer = { .name = "alp", .long_name = NULL_IF_CONFIG_SMALL("LEGO Racers ALP"), .priv_data_size = sizeof(ALPHeader), @@ -291,7 +291,7 @@ static const AVClass alp_muxer_class = { .version = LIBAVUTIL_VERSION_INT }; -AVOutputFormat ff_alp_muxer = { +const AVOutputFormat ff_alp_muxer = { .name = "alp", .long_name = NULL_IF_CONFIG_SMALL("LEGO Racers ALP"), .extensions = "tun,pcm", |