mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 12:06:40 +08:00
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>
This commit is contained in:
committed by
James Almer
parent
d92f38c179
commit
bc70684e74
@@ -1147,7 +1147,7 @@ static int rm_read_seek(AVFormatContext *s, int stream_index,
|
||||
}
|
||||
|
||||
|
||||
AVInputFormat ff_rm_demuxer = {
|
||||
const AVInputFormat ff_rm_demuxer = {
|
||||
.name = "rm",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("RealMedia"),
|
||||
.priv_data_size = sizeof(RMDemuxContext),
|
||||
@@ -1159,7 +1159,7 @@ AVInputFormat ff_rm_demuxer = {
|
||||
.read_seek = rm_read_seek,
|
||||
};
|
||||
|
||||
AVInputFormat ff_rdt_demuxer = {
|
||||
const AVInputFormat ff_rdt_demuxer = {
|
||||
.name = "rdt",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("RDT demuxer"),
|
||||
.priv_data_size = sizeof(RMDemuxContext),
|
||||
@@ -1406,7 +1406,7 @@ static int ivr_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
return ret;
|
||||
}
|
||||
|
||||
AVInputFormat ff_ivr_demuxer = {
|
||||
const AVInputFormat ff_ivr_demuxer = {
|
||||
.name = "ivr",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("IVR (Internet Video Recording)"),
|
||||
.priv_data_size = sizeof(RMDemuxContext),
|
||||
|
||||
Reference in New Issue
Block a user