diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-19 20:45:24 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 17:48:06 +0300 |
commit | bc70684e74a185d7b80c8b80bdedda659cb581b8 (patch) | |
tree | 2be0c484f566fa11c97e3b51b99353c8d2647ea5 /libavformat/rtsp.c | |
parent | d92f38c179591a608390ffa9fee59c309142e79d (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/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index a8c5a641cb..3899c26fa4 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2464,7 +2464,7 @@ static const AVClass sdp_demuxer_class = { .version = LIBAVUTIL_VERSION_INT, }; -AVInputFormat ff_sdp_demuxer = { +const AVInputFormat ff_sdp_demuxer = { .name = "sdp", .long_name = NULL_IF_CONFIG_SMALL("SDP"), .priv_data_size = sizeof(RTSPState), @@ -2623,7 +2623,7 @@ static const AVClass rtp_demuxer_class = { .version = LIBAVUTIL_VERSION_INT, }; -AVInputFormat ff_rtp_demuxer = { +const AVInputFormat ff_rtp_demuxer = { .name = "rtp", .long_name = NULL_IF_CONFIG_SMALL("RTP input"), .priv_data_size = sizeof(RTSPState), |