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:
Andreas Rheinhardt 2021-04-19 19:45:24 +02:00 committed by James Almer
parent d92f38c179
commit bc70684e74
327 changed files with 927 additions and 927 deletions

View File

@ -191,7 +191,7 @@ static int threedostr_read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR_EOF;
}
AVInputFormat ff_threedostr_demuxer = {
const AVInputFormat ff_threedostr_demuxer = {
.name = "3dostr",
.long_name = NULL_IF_CONFIG_SMALL("3DO STR"),
.read_probe = threedostr_probe,

View File

@ -393,7 +393,7 @@ static int fourxm_read_close(AVFormatContext *s)
return 0;
}
AVInputFormat ff_fourxm_demuxer = {
const AVInputFormat ff_fourxm_demuxer = {
.name = "4xm",
.long_name = NULL_IF_CONFIG_SMALL("4X Technologies"),
.priv_data_size = sizeof(FourxmDemuxContext),

View File

@ -58,7 +58,7 @@ static int a64_write_header(AVFormatContext *s)
return 0;
}
AVOutputFormat ff_a64_muxer = {
const AVOutputFormat ff_a64_muxer = {
.name = "a64",
.long_name = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"),
.extensions = "a64, A64",

View File

@ -206,7 +206,7 @@ retry:
return ret;
}
AVInputFormat ff_aac_demuxer = {
const AVInputFormat ff_aac_demuxer = {
.name = "aac",
.long_name = NULL_IF_CONFIG_SMALL("raw ADTS AAC (Advanced Audio Coding)"),
.read_probe = adts_aac_probe,

View File

@ -406,7 +406,7 @@ static const AVClass aa_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_aa_demuxer = {
const AVInputFormat ff_aa_demuxer = {
.name = "aa",
.long_name = NULL_IF_CONFIG_SMALL("Audible AA format files"),
.priv_class = &aa_class,

View File

@ -402,7 +402,7 @@ static int aax_read_close(AVFormatContext *s)
return 0;
}
AVInputFormat ff_aax_demuxer = {
const AVInputFormat ff_aax_demuxer = {
.name = "aax",
.long_name = NULL_IF_CONFIG_SMALL("CRI AAX"),
.priv_data_size = sizeof(AAXContext),

View File

@ -103,7 +103,7 @@ static int ac3_probe(const AVProbeData *p)
}
FF_RAW_DEMUXER_CLASS(ac3)
AVInputFormat ff_ac3_demuxer = {
const AVInputFormat ff_ac3_demuxer = {
.name = "ac3",
.long_name = NULL_IF_CONFIG_SMALL("raw AC-3"),
.read_probe = ac3_probe,
@ -124,7 +124,7 @@ static int eac3_probe(const AVProbeData *p)
}
FF_RAW_DEMUXER_CLASS(eac3)
AVInputFormat ff_eac3_demuxer = {
const AVInputFormat ff_eac3_demuxer = {
.name = "eac3",
.long_name = NULL_IF_CONFIG_SMALL("raw E-AC-3"),
.read_probe = eac3_probe,

View File

@ -104,7 +104,7 @@ static int ace_read_packet(AVFormatContext *s, AVPacket *pkt)
return av_get_packet(s->pb, pkt, par->block_align);
}
AVInputFormat ff_ace_demuxer = {
const AVInputFormat ff_ace_demuxer = {
.name = "ace",
.long_name = NULL_IF_CONFIG_SMALL("tri-Ace Audio Container"),
.read_probe = ace_probe,

View File

@ -61,7 +61,7 @@ static int acm_read_header(AVFormatContext *s)
}
FF_RAW_DEMUXER_CLASS(acm)
AVInputFormat ff_acm_demuxer = {
const AVInputFormat ff_acm_demuxer = {
.name = "acm",
.long_name = NULL_IF_CONFIG_SMALL("Interplay ACM"),
.read_probe = acm_probe,

View File

@ -197,7 +197,7 @@ static int read_packet(AVFormatContext *s,
return ret;
}
AVInputFormat ff_act_demuxer = {
const AVInputFormat ff_act_demuxer = {
.name = "act",
.long_name = "ACT Voice file format",
.priv_data_size = sizeof(ACTContext),

View File

@ -83,7 +83,7 @@ static int adp_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ff_adp_demuxer = {
const AVInputFormat ff_adp_demuxer = {
.name = "adp",
.long_name = NULL_IF_CONFIG_SMALL("ADP"),
.read_probe = adp_probe,

View File

@ -80,7 +80,7 @@ static int ads_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ff_ads_demuxer = {
const AVInputFormat ff_ads_demuxer = {
.name = "ads",
.long_name = NULL_IF_CONFIG_SMALL("Sony PS2 ADS"),
.read_probe = ads_probe,

View File

@ -227,7 +227,7 @@ static const AVClass adts_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_adts_muxer = {
const AVOutputFormat ff_adts_muxer = {
.name = "adts",
.long_name = NULL_IF_CONFIG_SMALL("ADTS AAC (Advanced Audio Coding)"),
.mime_type = "audio/aac",

View File

@ -129,7 +129,7 @@ static int adx_read_header(AVFormatContext *s)
return 0;
}
AVInputFormat ff_adx_demuxer = {
const AVInputFormat ff_adx_demuxer = {
.name = "adx",
.long_name = NULL_IF_CONFIG_SMALL("CRI ADX"),
.read_probe = adx_probe,

View File

@ -98,7 +98,7 @@ static int aea_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ff_aea_demuxer = {
const AVInputFormat ff_aea_demuxer = {
.name = "aea",
.long_name = NULL_IF_CONFIG_SMALL("MD STUDIO audio"),
.read_probe = aea_read_probe,

View File

@ -69,7 +69,7 @@ static int afc_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ff_afc_demuxer = {
const AVInputFormat ff_afc_demuxer = {
.name = "afc",
.long_name = NULL_IF_CONFIG_SMALL("AFC"),
.priv_data_size = sizeof(AFCDemuxContext),

View File

@ -424,7 +424,7 @@ static int aiff_read_packet(AVFormatContext *s,
return 0;
}
AVInputFormat ff_aiff_demuxer = {
const AVInputFormat ff_aiff_demuxer = {
.name = "aiff",
.long_name = NULL_IF_CONFIG_SMALL("Audio IFF"),
.priv_data_size = sizeof(AIFFInputContext),

View File

@ -285,7 +285,7 @@ static const AVClass aiff_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_aiff_muxer = {
const AVOutputFormat ff_aiff_muxer = {
.name = "aiff",
.long_name = NULL_IF_CONFIG_SMALL("Audio IFF"),
.mime_type = "audio/aiff",

View File

@ -129,7 +129,7 @@ static int aix_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ff_aix_demuxer = {
const AVInputFormat ff_aix_demuxer = {
.name = "aix",
.long_name = NULL_IF_CONFIG_SMALL("CRI AIX"),
.read_probe = aix_probe,

File diff suppressed because it is too large Load Diff

View File

@ -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",

View File

@ -159,7 +159,7 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt)
}
#if CONFIG_AMR_DEMUXER
AVInputFormat ff_amr_demuxer = {
const AVInputFormat ff_amr_demuxer = {
.name = "amr",
.long_name = NULL_IF_CONFIG_SMALL("3GPP AMR"),
.priv_data_size = sizeof(AMRContext),
@ -215,7 +215,7 @@ static int amrnb_read_header(AVFormatContext *s)
return 0;
}
AVInputFormat ff_amrnb_demuxer = {
const AVInputFormat ff_amrnb_demuxer = {
.name = "amrnb",
.long_name = NULL_IF_CONFIG_SMALL("raw AMR-NB"),
.priv_data_size = sizeof(AMRContext),
@ -271,7 +271,7 @@ static int amrwb_read_header(AVFormatContext *s)
return 0;
}
AVInputFormat ff_amrwb_demuxer = {
const AVInputFormat ff_amrwb_demuxer = {
.name = "amrwb",
.long_name = NULL_IF_CONFIG_SMALL("raw AMR-WB"),
.priv_data_size = sizeof(AMRContext),
@ -283,7 +283,7 @@ AVInputFormat ff_amrwb_demuxer = {
#endif
#if CONFIG_AMR_MUXER
AVOutputFormat ff_amr_muxer = {
const AVOutputFormat ff_amr_muxer = {
.name = "amr",
.long_name = NULL_IF_CONFIG_SMALL("3GPP AMR"),
.mime_type = "audio/amr",

View File

@ -404,7 +404,7 @@ static int amv_write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat ff_amv_muxer = {
const AVOutputFormat ff_amv_muxer = {
.name = "amv",
.long_name = NULL_IF_CONFIG_SMALL("AMV"),
.mime_type = "video/amv",

View File

@ -214,7 +214,7 @@ repeat:
return 0;
}
AVInputFormat ff_anm_demuxer = {
const AVInputFormat ff_anm_demuxer = {
.name = "anm",
.long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
.priv_data_size = sizeof(AnmDemuxContext),

View File

@ -83,7 +83,7 @@ static int apc_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ff_apc_demuxer = {
const AVInputFormat ff_apc_demuxer = {
.name = "apc",
.long_name = NULL_IF_CONFIG_SMALL("CRYO APC"),
.read_probe = apc_probe,

View File

@ -450,7 +450,7 @@ static int ape_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
return 0;
}
AVInputFormat ff_ape_demuxer = {
const AVInputFormat ff_ape_demuxer = {
.name = "ape",
.long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),
.priv_data_size = sizeof(APEContext),

View File

@ -201,7 +201,7 @@ static int apm_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ff_apm_demuxer = {
const AVInputFormat ff_apm_demuxer = {
.name = "apm",
.long_name = NULL_IF_CONFIG_SMALL("Ubisoft Rayman 2 APM"),
.read_probe = apm_probe,
@ -303,7 +303,7 @@ static int apm_write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat ff_apm_muxer = {
const AVOutputFormat ff_apm_muxer = {
.name = "apm",
.long_name = NULL_IF_CONFIG_SMALL("Ubisoft Rayman 2 APM"),
.extensions = "apm",

View File

@ -421,7 +421,7 @@ static const AVClass demuxer_class = {
.category = AV_CLASS_CATEGORY_DEMUXER,
};
AVInputFormat ff_apng_demuxer = {
const AVInputFormat ff_apng_demuxer = {
.name = "apng",
.long_name = NULL_IF_CONFIG_SMALL("Animated Portable Network Graphics"),
.priv_data_size = sizeof(APNGDemuxContext),

View File

@ -294,7 +294,7 @@ static const AVClass apng_muxer_class = {
.option = options,
};
AVOutputFormat ff_apng_muxer = {
const AVOutputFormat ff_apng_muxer = {
.name = "apng",
.long_name = NULL_IF_CONFIG_SMALL("Animated Portable Network Graphics"),
.mime_type = "image/png",

View File

@ -95,7 +95,7 @@ static const AVClass aptx_demuxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_aptx_demuxer = {
const AVInputFormat ff_aptx_demuxer = {
.name = "aptx",
.long_name = NULL_IF_CONFIG_SMALL("raw aptX"),
.extensions = "aptx",
@ -115,7 +115,7 @@ static const AVClass aptx_hd_demuxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_aptx_hd_demuxer = {
const AVInputFormat ff_aptx_hd_demuxer = {
.name = "aptx_hd",
.long_name = NULL_IF_CONFIG_SMALL("raw aptX HD"),
.extensions = "aptxhd",

View File

@ -137,7 +137,7 @@ static const AVClass aqt_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_aqtitle_demuxer = {
const AVInputFormat ff_aqtitle_demuxer = {
.name = "aqtitle",
.long_name = NULL_IF_CONFIG_SMALL("AQTitle subtitles"),
.priv_data_size = sizeof(AQTitleContext),

View File

@ -271,7 +271,7 @@ static int argo_asf_seek(AVFormatContext *s, int stream_index,
* - Argonaut Sound File?
* - Audio Stream File?
*/
AVInputFormat ff_argo_asf_demuxer = {
const AVInputFormat ff_argo_asf_demuxer = {
.name = "argo_asf",
.long_name = NULL_IF_CONFIG_SMALL("Argonaut Games ASF"),
.priv_data_size = sizeof(ArgoASFDemuxContext),
@ -468,7 +468,7 @@ static const AVClass argo_asf_muxer_class = {
.version = LIBAVUTIL_VERSION_INT
};
AVOutputFormat ff_argo_asf_muxer = {
const AVOutputFormat ff_argo_asf_muxer = {
.name = "argo_asf",
.long_name = NULL_IF_CONFIG_SMALL("Argonaut Games ASF"),
/*

View File

@ -413,7 +413,7 @@ static int argo_brp_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ff_argo_brp_demuxer = {
const AVInputFormat ff_argo_brp_demuxer = {
.name = "argo_brp",
.long_name = NULL_IF_CONFIG_SMALL("Argonaut Games BRP"),
.priv_data_size = sizeof(ArgoBRPDemuxContext),

View File

@ -1606,7 +1606,7 @@ static int asf_read_seek(AVFormatContext *s, int stream_index,
return 0;
}
AVInputFormat ff_asf_demuxer = {
const AVInputFormat ff_asf_demuxer = {
.name = "asf",
.long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"),
.priv_data_size = sizeof(ASFContext),

View File

@ -1662,7 +1662,7 @@ failed:
return ret;
}
AVInputFormat ff_asf_o_demuxer = {
const AVInputFormat ff_asf_o_demuxer = {
.name = "asf_o",
.long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"),
.priv_data_size = sizeof(ASFContext),

View File

@ -1162,7 +1162,7 @@ static const AVClass asf_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_asf_muxer = {
const AVOutputFormat ff_asf_muxer = {
.name = "asf",
.long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"),
.mime_type = "video/x-ms-asf",
@ -1187,7 +1187,7 @@ static const AVClass asf_stream_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_asf_stream_muxer = {
const AVOutputFormat ff_asf_stream_muxer = {
.name = "asf_stream",
.long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"),
.mime_type = "video/x-ms-asf",

View File

@ -182,7 +182,7 @@ static int ass_read_seek(AVFormatContext *s, int stream_index,
min_ts, ts, max_ts, flags);
}
AVInputFormat ff_ass_demuxer = {
const AVInputFormat ff_ass_demuxer = {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
.priv_data_size = sizeof(ASSContext),

View File

@ -226,7 +226,7 @@ static const AVClass ass_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_ass_muxer = {
const AVOutputFormat ff_ass_muxer = {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
.mime_type = "text/x-ass",

View File

@ -110,7 +110,7 @@ static int ast_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ff_ast_demuxer = {
const AVInputFormat ff_ast_demuxer = {
.name = "ast",
.long_name = NULL_IF_CONFIG_SMALL("AST (Audio Stream)"),
.read_probe = ast_probe,

View File

@ -196,7 +196,7 @@ static const AVClass ast_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_ast_muxer = {
const AVOutputFormat ff_ast_muxer = {
.name = "ast",
.long_name = NULL_IF_CONFIG_SMALL("AST (Audio Stream)"),
.extensions = "ast",

View File

@ -226,7 +226,7 @@ static int au_read_header(AVFormatContext *s)
return 0;
}
AVInputFormat ff_au_demuxer = {
const AVInputFormat ff_au_demuxer = {
.name = "au",
.long_name = NULL_IF_CONFIG_SMALL("Sun AU"),
.read_probe = au_probe,
@ -328,7 +328,7 @@ static int au_write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat ff_au_muxer = {
const AVOutputFormat ff_au_muxer = {
.name = "au",
.long_name = NULL_IF_CONFIG_SMALL("Sun AU"),
.mime_type = "audio/basic",

View File

@ -281,7 +281,7 @@ static const AVClass annexb_demuxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_av1_demuxer = {
const AVInputFormat ff_av1_demuxer = {
.name = "av1",
.long_name = NULL_IF_CONFIG_SMALL("AV1 Annex B"),
.priv_data_size = sizeof(AnnexBContext),
@ -468,7 +468,7 @@ static const AVClass obu_demuxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_obu_demuxer = {
const AVInputFormat ff_obu_demuxer = {
.name = "obu",
.long_name = NULL_IF_CONFIG_SMALL("AV1 low overhead OBU"),
.priv_data_size = sizeof(ObuContext),

View File

@ -1969,7 +1969,7 @@ static int avi_probe(const AVProbeData *p)
return 0;
}
AVInputFormat ff_avi_demuxer = {
const AVInputFormat ff_avi_demuxer = {
.name = "avi",
.long_name = NULL_IF_CONFIG_SMALL("AVI (Audio Video Interleaved)"),
.priv_data_size = sizeof(AVIContext),

View File

@ -1011,7 +1011,7 @@ static const AVClass avi_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_avi_muxer = {
const AVOutputFormat ff_avi_muxer = {
.name = "avi",
.long_name = NULL_IF_CONFIG_SMALL("AVI (Audio Video Interleaved)"),
.mime_type = "video/x-msvideo",

View File

@ -878,7 +878,7 @@ static int avisynth_read_seek(AVFormatContext *s, int stream_index,
return 0;
}
AVInputFormat ff_avisynth_demuxer = {
const AVInputFormat ff_avisynth_demuxer = {
.name = "avisynth",
.long_name = NULL_IF_CONFIG_SMALL("AviSynth script"),
.priv_data_size = sizeof(AviSynthContext),

View File

@ -87,7 +87,7 @@ static int avr_read_header(AVFormatContext *s)
return 0;
}
AVInputFormat ff_avr_demuxer = {
const AVInputFormat ff_avr_demuxer = {
.name = "avr",
.long_name = NULL_IF_CONFIG_SMALL("AVR (Audio Visual Research)"),
.read_probe = avr_probe,

View File

@ -224,7 +224,7 @@ static int avs_read_packet(AVFormatContext * s, AVPacket * pkt)
}
}
AVInputFormat ff_avs_demuxer = {
const AVInputFormat ff_avs_demuxer = {
.name = "avs",
.long_name = NULL_IF_CONFIG_SMALL("Argonaut Games Creature Shock"),
.priv_data_size = sizeof(AvsFormat),

View File

@ -291,7 +291,7 @@ static int vid_read_packet(AVFormatContext *s,
}
}
AVInputFormat ff_bethsoftvid_demuxer = {
const AVInputFormat ff_bethsoftvid_demuxer = {
.name = "bethsoftvid",
.long_name = NULL_IF_CONFIG_SMALL("Bethesda Softworks VID"),
.priv_data_size = sizeof(BVID_DemuxContext),

View File

@ -174,7 +174,7 @@ static int bfi_read_packet(AVFormatContext * s, AVPacket * pkt)
return ret;
}
AVInputFormat ff_bfi_demuxer = {
const AVInputFormat ff_bfi_demuxer = {
.name = "bfi",
.long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"),
.priv_data_size = sizeof(BFIContext),

View File

@ -323,7 +323,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in
return 0;
}
AVInputFormat ff_bink_demuxer = {
const AVInputFormat ff_bink_demuxer = {
.name = "bink",
.long_name = NULL_IF_CONFIG_SMALL("Bink"),
.priv_data_size = sizeof(BinkDemuxContext),

View File

@ -89,7 +89,7 @@ static int binka_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ff_binka_demuxer = {
const AVInputFormat ff_binka_demuxer = {
.name = "binka",
.long_name = NULL_IF_CONFIG_SMALL("Bink Audio"),
.read_probe = binka_probe,

View File

@ -394,7 +394,7 @@ static const AVOption options[] = {
}}
#if CONFIG_BINTEXT_DEMUXER
AVInputFormat ff_bintext_demuxer = {
const AVInputFormat ff_bintext_demuxer = {
.name = "bin",
.long_name = NULL_IF_CONFIG_SMALL("Binary text"),
.priv_data_size = sizeof(BinDemuxContext),
@ -406,7 +406,7 @@ AVInputFormat ff_bintext_demuxer = {
#endif
#if CONFIG_XBIN_DEMUXER
AVInputFormat ff_xbin_demuxer = {
const AVInputFormat ff_xbin_demuxer = {
.name = "xbin",
.long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text (XBIN)"),
.priv_data_size = sizeof(BinDemuxContext),
@ -418,7 +418,7 @@ AVInputFormat ff_xbin_demuxer = {
#endif
#if CONFIG_ADF_DEMUXER
AVInputFormat ff_adf_demuxer = {
const AVInputFormat ff_adf_demuxer = {
.name = "adf",
.long_name = NULL_IF_CONFIG_SMALL("Artworx Data Format"),
.priv_data_size = sizeof(BinDemuxContext),
@ -430,7 +430,7 @@ AVInputFormat ff_adf_demuxer = {
#endif
#if CONFIG_IDF_DEMUXER
AVInputFormat ff_idf_demuxer = {
const AVInputFormat ff_idf_demuxer = {
.name = "idf",
.long_name = NULL_IF_CONFIG_SMALL("iCE Draw File"),
.priv_data_size = sizeof(BinDemuxContext),

View File

@ -109,7 +109,7 @@ static int read_packet(AVFormatContext *s,
return 0;
}
AVInputFormat ff_bit_demuxer = {
const AVInputFormat ff_bit_demuxer = {
.name = "bit",
.long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
.read_probe = probe,
@ -155,7 +155,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat ff_bit_muxer = {
const AVOutputFormat ff_bit_muxer = {
.name = "bit",
.long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
.mime_type = "audio/bit",

View File

@ -125,7 +125,7 @@ static int bmv_read_close(AVFormatContext *s)
return 0;
}
AVInputFormat ff_bmv_demuxer = {
const AVInputFormat ff_bmv_demuxer = {
.name = "bmv",
.long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV"),
.priv_data_size = sizeof(BMVContext),

View File

@ -75,7 +75,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
return av_get_packet(s->pb, pkt, st->codecpar->block_align);
}
AVInputFormat ff_boa_demuxer = {
const AVInputFormat ff_boa_demuxer = {
.name = "boa",
.long_name = NULL_IF_CONFIG_SMALL("Black Ops Audio"),
.read_probe = probe,

View File

@ -481,7 +481,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
return 0;
}
AVInputFormat ff_brstm_demuxer = {
const AVInputFormat ff_brstm_demuxer = {
.name = "brstm",
.long_name = NULL_IF_CONFIG_SMALL("BRSTM (Binary Revolution Stream)"),
.priv_data_size = sizeof(BRSTMDemuxContext),
@ -493,7 +493,7 @@ AVInputFormat ff_brstm_demuxer = {
.extensions = "brstm",
};
AVInputFormat ff_bfstm_demuxer = {
const AVInputFormat ff_bfstm_demuxer = {
.name = "bfstm",
.long_name = NULL_IF_CONFIG_SMALL("BFSTM (Binary Cafe Stream)"),
.priv_data_size = sizeof(BRSTMDemuxContext),

View File

@ -185,7 +185,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ff_c93_demuxer = {
const AVInputFormat ff_c93_demuxer = {
.name = "c93",
.long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
.priv_data_size = sizeof(C93DemuxContext),

View File

@ -457,7 +457,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
return 0;
}
AVInputFormat ff_caf_demuxer = {
const AVInputFormat ff_caf_demuxer = {
.name = "caf",
.long_name = NULL_IF_CONFIG_SMALL("Apple CAF (Core Audio Format)"),
.priv_data_size = sizeof(CafContext),

View File

@ -263,7 +263,7 @@ static int caf_write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat ff_caf_muxer = {
const AVOutputFormat ff_caf_muxer = {
.name = "caf",
.long_name = NULL_IF_CONFIG_SMALL("Apple CAF (Core Audio Format)"),
.mime_type = "audio/x-caf",

View File

@ -67,7 +67,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ff_cdg_demuxer = {
const AVInputFormat ff_cdg_demuxer = {
.name = "cdg",
.long_name = NULL_IF_CONFIG_SMALL("CD Graphics"),
.read_header = read_header,

View File

@ -258,7 +258,7 @@ static const AVClass cdxl_demuxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_cdxl_demuxer = {
const AVInputFormat ff_cdxl_demuxer = {
.name = "cdxl",
.long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"),
.priv_data_size = sizeof(CDXLDemuxContext),

View File

@ -179,7 +179,7 @@ static const AVClass chromaprint_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_chromaprint_muxer = {
const AVOutputFormat ff_chromaprint_muxer = {
.name = "chromaprint",
.long_name = NULL_IF_CONFIG_SMALL("Chromaprint"),
.priv_data_size = sizeof(ChromaprintMuxContext),

View File

@ -322,7 +322,7 @@ static int cine_read_seek(AVFormatContext *avctx, int stream_index, int64_t time
return 0;
}
AVInputFormat ff_cine_demuxer = {
const AVInputFormat ff_cine_demuxer = {
.name = "cine",
.long_name = NULL_IF_CONFIG_SMALL("Phantom Cine"),
.priv_data_size = sizeof(CineDemuxContext),

View File

@ -300,7 +300,7 @@ static const AVClass codec2raw_demux_class = {
};
#if CONFIG_CODEC2_DEMUXER
AVInputFormat ff_codec2_demuxer = {
const AVInputFormat ff_codec2_demuxer = {
.name = "codec2",
.long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 demuxer"),
.priv_data_size = sizeof(Codec2Context),
@ -316,7 +316,7 @@ AVInputFormat ff_codec2_demuxer = {
#endif
#if CONFIG_CODEC2_MUXER
AVOutputFormat ff_codec2_muxer = {
const AVOutputFormat ff_codec2_muxer = {
.name = "codec2",
.long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 muxer"),
.priv_data_size = sizeof(Codec2Context),
@ -331,7 +331,7 @@ AVOutputFormat ff_codec2_muxer = {
#endif
#if CONFIG_CODEC2RAW_DEMUXER
AVInputFormat ff_codec2raw_demuxer = {
const AVInputFormat ff_codec2raw_demuxer = {
.name = "codec2raw",
.long_name = NULL_IF_CONFIG_SMALL("raw codec2 demuxer"),
.priv_data_size = sizeof(Codec2Context),

View File

@ -775,7 +775,7 @@ static const AVClass concat_class = {
};
AVInputFormat ff_concat_demuxer = {
const AVInputFormat ff_concat_demuxer = {
.name = "concat",
.long_name = NULL_IF_CONFIG_SMALL("Virtual concatenation script"),
.priv_data_size = sizeof(ConcatContext),

View File

@ -56,7 +56,7 @@ static int crc_write_trailer(struct AVFormatContext *s)
return 0;
}
AVOutputFormat ff_crc_muxer = {
const AVOutputFormat ff_crc_muxer = {
.name = "crc",
.long_name = NULL_IF_CONFIG_SMALL("CRC testing"),
.priv_data_size = sizeof(CRCState),

View File

@ -2397,7 +2397,7 @@ static const AVClass dash_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_dash_demuxer = {
const AVInputFormat ff_dash_demuxer = {
.name = "dash",
.long_name = NULL_IF_CONFIG_SMALL("Dynamic Adaptive Streaming over HTTP"),
.priv_class = &dash_class,

View File

@ -2383,7 +2383,7 @@ static const AVClass dash_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_dash_muxer = {
const AVOutputFormat ff_dash_muxer = {
.name = "dash",
.long_name = NULL_IF_CONFIG_SMALL("DASH Muxer"),
.extensions = "mpd",

View File

@ -50,7 +50,7 @@ static int daud_packet(AVFormatContext *s, AVPacket *pkt) {
return ret;
}
AVInputFormat ff_daud_demuxer = {
const AVInputFormat ff_daud_demuxer = {
.name = "daud",
.long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio"),
.read_header = daud_header,

View File

@ -42,7 +42,7 @@ static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat ff_daud_muxer = {
const AVOutputFormat ff_daud_muxer = {
.name = "daud",
.long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio"),
.extensions = "302",

View File

@ -78,7 +78,7 @@ static int dcstr_read_packet(AVFormatContext *s, AVPacket *pkt)
return av_get_packet(s->pb, pkt, par->block_align);
}
AVInputFormat ff_dcstr_demuxer = {
const AVInputFormat ff_dcstr_demuxer = {
.name = "dcstr",
.long_name = NULL_IF_CONFIG_SMALL("Sega DC STR"),
.read_probe = dcstr_probe,

View File

@ -68,7 +68,7 @@ static int derf_read_header(AVFormatContext *s)
return 0;
}
AVInputFormat ff_derf_demuxer = {
const AVInputFormat ff_derf_demuxer = {
.name = "derf",
.long_name = NULL_IF_CONFIG_SMALL("Xilam DERF"),
.read_probe = derf_probe,

View File

@ -120,7 +120,7 @@ static int dfa_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ff_dfa_demuxer = {
const AVInputFormat ff_dfa_demuxer = {
.name = "dfa",
.long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"),
.read_probe = dfa_probe,

View File

@ -451,7 +451,7 @@ static int dhav_read_seek(AVFormatContext *s, int stream_index,
return 0;
}
AVInputFormat ff_dhav_demuxer = {
const AVInputFormat ff_dhav_demuxer = {
.name = "dhav",
.long_name = NULL_IF_CONFIG_SMALL("Video DAV"),
.priv_data_size = sizeof(DHAVContext),

View File

@ -199,7 +199,7 @@ static int dsf_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ff_dsf_demuxer = {
const AVInputFormat ff_dsf_demuxer = {
.name = "dsf",
.long_name = NULL_IF_CONFIG_SMALL("DSD Stream File (DSF)"),
.priv_data_size = sizeof(DSFContext),

View File

@ -223,7 +223,7 @@ static int cin_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ff_dsicin_demuxer = {
const AVInputFormat ff_dsicin_demuxer = {
.name = "dsicin",
.long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN"),
.priv_data_size = sizeof(CinDemuxContext),

View File

@ -354,7 +354,7 @@ static int dss_read_seek(AVFormatContext *s, int stream_index,
}
AVInputFormat ff_dss_demuxer = {
const AVInputFormat ff_dss_demuxer = {
.name = "dss",
.long_name = NULL_IF_CONFIG_SMALL("Digital Speech Standard (DSS)"),
.priv_data_size = sizeof(DSSDemuxContext),

View File

@ -133,7 +133,7 @@ static int dts_probe(const AVProbeData *p)
}
FF_RAW_DEMUXER_CLASS(dts)
AVInputFormat ff_dts_demuxer = {
const AVInputFormat ff_dts_demuxer = {
.name = "dts",
.long_name = NULL_IF_CONFIG_SMALL("raw DTS"),
.read_probe = dts_probe,

View File

@ -159,7 +159,7 @@ static int raw_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ff_dtshd_demuxer = {
const AVInputFormat ff_dtshd_demuxer = {
.name = "dtshd",
.long_name = NULL_IF_CONFIG_SMALL("raw DTS-HD"),
.priv_data_size = sizeof(DTSHDDemuxContext),

View File

@ -614,7 +614,7 @@ static int dv_probe(const AVProbeData *p)
return 0;
}
AVInputFormat ff_dv_demuxer = {
const AVInputFormat ff_dv_demuxer = {
.name = "dv",
.long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
.priv_data_size = sizeof(RawDVContext),

View File

@ -436,7 +436,7 @@ static void dv_deinit(AVFormatContext *s)
av_fifo_freep(&c->audio_data[i]);
}
AVOutputFormat ff_dv_muxer = {
const AVOutputFormat ff_dv_muxer = {
.name = "dv",
.long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
.extensions = "dv",

View File

@ -226,7 +226,7 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR_EOF;
}
AVInputFormat ff_dxa_demuxer = {
const AVInputFormat ff_dxa_demuxer = {
.name = "dxa",
.long_name = NULL_IF_CONFIG_SMALL("DXA"),
.priv_data_size = sizeof(DXAContext),

View File

@ -94,7 +94,7 @@ static int cdata_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ff_ea_cdata_demuxer = {
const AVInputFormat ff_ea_cdata_demuxer = {
.name = "ea_cdata",
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts cdata"),
.priv_data_size = sizeof(CdataDemuxContext),

View File

@ -752,7 +752,7 @@ get_video_packet:
return ret;
}
AVInputFormat ff_ea_demuxer = {
const AVInputFormat ff_ea_demuxer = {
.name = "ea",
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts Multimedia"),
.priv_data_size = sizeof(EaDemuxContext),

View File

@ -93,7 +93,7 @@ static int epaf_read_header(AVFormatContext *s)
return 0;
}
AVInputFormat ff_epaf_demuxer = {
const AVInputFormat ff_epaf_demuxer = {
.name = "epaf",
.long_name = NULL_IF_CONFIG_SMALL("Ensoniq Paris Audio File"),
.read_probe = epaf_probe,

View File

@ -222,7 +222,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR_EOF;
}
AVInputFormat ff_ffmetadata_demuxer = {
const AVInputFormat ff_ffmetadata_demuxer = {
.name = "ffmetadata",
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text"),
.read_probe = probe,

View File

@ -87,7 +87,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat ff_ffmetadata_muxer = {
const AVOutputFormat ff_ffmetadata_muxer = {
.name = "ffmetadata",
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text"),
.extensions = "ffmeta",

View File

@ -697,7 +697,7 @@ static const AVClass fifo_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_fifo_muxer = {
const AVOutputFormat ff_fifo_muxer = {
.name = "fifo",
.long_name = NULL_IF_CONFIG_SMALL("FIFO queue pseudo-muxer"),
.priv_data_size = sizeof(FifoContext),

View File

@ -138,7 +138,7 @@ static const AVClass failing_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_fifo_test_muxer = {
const AVOutputFormat ff_fifo_test_muxer = {
.name = "fifo_test",
.long_name = NULL_IF_CONFIG_SMALL("Fifo test muxer"),
.priv_data_size = sizeof(FailingMuxerContext),

View File

@ -104,7 +104,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in
return 0;
}
AVInputFormat ff_filmstrip_demuxer = {
const AVInputFormat ff_filmstrip_demuxer = {
.name = "filmstrip",
.long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"),
.priv_data_size = sizeof(FilmstripDemuxContext),

View File

@ -60,7 +60,7 @@ static int write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat ff_filmstrip_muxer = {
const AVOutputFormat ff_filmstrip_muxer = {
.name = "filmstrip",
.long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"),
.extensions = "flm",

View File

@ -223,7 +223,7 @@ static const AVClass fits_demuxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_fits_demuxer = {
const AVInputFormat ff_fits_demuxer = {
.name = "fits",
.long_name = NULL_IF_CONFIG_SMALL("Flexible Image Transport System"),
.priv_data_size = sizeof(FITSContext),

View File

@ -194,7 +194,7 @@ static int fits_write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat ff_fits_muxer = {
const AVOutputFormat ff_fits_muxer = {
.name = "fits",
.long_name = NULL_IF_CONFIG_SMALL("Flexible Image Transport System"),
.extensions = "fits",

View File

@ -330,7 +330,7 @@ static int flac_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in
}
FF_RAW_DEMUXER_CLASS(flac)
AVInputFormat ff_flac_demuxer = {
const AVInputFormat ff_flac_demuxer = {
.name = "flac",
.long_name = NULL_IF_CONFIG_SMALL("raw FLAC"),
.read_probe = flac_probe,

View File

@ -411,7 +411,7 @@ static const AVClass flac_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_flac_muxer = {
const AVOutputFormat ff_flac_muxer = {
.name = "flac",
.long_name = NULL_IF_CONFIG_SMALL("raw FLAC"),
.priv_data_size = sizeof(FlacMuxerContext),

View File

@ -285,7 +285,7 @@ static int flic_read_seek(AVFormatContext *s, int stream_index,
return 0;
}
AVInputFormat ff_flic_demuxer = {
const AVInputFormat ff_flic_demuxer = {
.name = "flic",
.long_name = NULL_IF_CONFIG_SMALL("FLI/FLC/FLX animation"),
.priv_data_size = sizeof(FlicDemuxContext),

View File

@ -1372,7 +1372,7 @@ static const AVClass flv_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_flv_demuxer = {
const AVInputFormat ff_flv_demuxer = {
.name = "flv",
.long_name = NULL_IF_CONFIG_SMALL("FLV (Flash Video)"),
.priv_data_size = sizeof(FLVContext),
@ -1392,7 +1392,7 @@ static const AVClass live_flv_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_live_flv_demuxer = {
const AVInputFormat ff_live_flv_demuxer = {
.name = "live_flv",
.long_name = NULL_IF_CONFIG_SMALL("live RTMP FLV (Flash Video)"),
.priv_data_size = sizeof(FLVContext),
@ -1413,7 +1413,7 @@ static const AVClass kux_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVInputFormat ff_kux_demuxer = {
const AVInputFormat ff_kux_demuxer = {
.name = "kux",
.long_name = NULL_IF_CONFIG_SMALL("KUX (YouKu)"),
.priv_data_size = sizeof(FLVContext),

View File

@ -1112,7 +1112,7 @@ static const AVClass flv_muxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
AVOutputFormat ff_flv_muxer = {
const AVOutputFormat ff_flv_muxer = {
.name = "flv",
.long_name = NULL_IF_CONFIG_SMALL("FLV (Flash Video)"),
.mime_type = "video/x-flv",

View File

@ -129,7 +129,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat ff_framecrc_muxer = {
const AVOutputFormat ff_framecrc_muxer = {
.name = "framecrc",
.long_name = NULL_IF_CONFIG_SMALL("framecrc testing"),
.audio_codec = AV_CODEC_ID_PCM_S16LE,

View File

@ -103,7 +103,7 @@ static int frm_read_packet(AVFormatContext *avctx, AVPacket *pkt)
return 0;
}
AVInputFormat ff_frm_demuxer = {
const AVInputFormat ff_frm_demuxer = {
.name = "frm",
.priv_data_size = sizeof(FrmContext),
.long_name = NULL_IF_CONFIG_SMALL("Megalux Frame"),

Some files were not shown because too many files have changed in this diff Show More