This is possible now that the next-API is gone.
Unified · Split
| @@ -191,7 +191,7 @@ static int threedostr_read_packet(AVFormatContext *s, AVPacket *pkt) · 190 unmodified lines | ||
| 191 | 191 | return AVERROR_EOF; |
| 192 | 192 | } |
| 193 | 193 | |
| 194 | −AVInputFormat ff_threedostr_demuxer = { | |
| 194 | +const AVInputFormat ff_threedostr_demuxer = { | |
| 195 | 195 | .name = "3dostr", |
| 196 | 196 | .long_name = NULL_IF_CONFIG_SMALL("3DO STR"), |
| 197 | 197 | .read_probe = threedostr_probe, |
| @@ -393,7 +393,7 @@ static int fourxm_read_close(AVFormatContext *s) · 392 unmodified lines | ||
| 393 | 393 | return 0; |
| 394 | 394 | } |
| 395 | 395 | |
| 396 | −AVInputFormat ff_fourxm_demuxer = { | |
| 396 | +const AVInputFormat ff_fourxm_demuxer = { | |
| 397 | 397 | .name = "4xm", |
| 398 | 398 | .long_name = NULL_IF_CONFIG_SMALL("4X Technologies"), |
| 399 | 399 | .priv_data_size = sizeof(FourxmDemuxContext), |
| @@ -58,7 +58,7 @@ static int a64_write_header(AVFormatContext *s) · 57 unmodified lines | ||
| 58 | 58 | return 0; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | −AVOutputFormat ff_a64_muxer = { | |
| 61 | +const AVOutputFormat ff_a64_muxer = { | |
| 62 | 62 | .name = "a64", |
| 63 | 63 | .long_name = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"), |
| 64 | 64 | .extensions = "a64, A64", |
| @@ -206,7 +206,7 @@ retry: · 205 unmodified lines | ||
| 206 | 206 | return ret; |
| 207 | 207 | } |
| 208 | 208 | |
| 209 | −AVInputFormat ff_aac_demuxer = { | |
| 209 | +const AVInputFormat ff_aac_demuxer = { | |
| 210 | 210 | .name = "aac", |
| 211 | 211 | .long_name = NULL_IF_CONFIG_SMALL("raw ADTS AAC (Advanced Audio Coding)"), |
| 212 | 212 | .read_probe = adts_aac_probe, |
| @@ -406,7 +406,7 @@ static const AVClass aa_class = { · 405 unmodified lines | ||
| 406 | 406 | .version = LIBAVUTIL_VERSION_INT, |
| 407 | 407 | }; |
| 408 | 408 | |
| 409 | −AVInputFormat ff_aa_demuxer = { | |
| 409 | +const AVInputFormat ff_aa_demuxer = { | |
| 410 | 410 | .name = "aa", |
| 411 | 411 | .long_name = NULL_IF_CONFIG_SMALL("Audible AA format files"), |
| 412 | 412 | .priv_class = &aa_class, |
| @@ -402,7 +402,7 @@ static int aax_read_close(AVFormatContext *s) · 401 unmodified lines | ||
| 402 | 402 | return 0; |
| 403 | 403 | } |
| 404 | 404 | |
| 405 | −AVInputFormat ff_aax_demuxer = { | |
| 405 | +const AVInputFormat ff_aax_demuxer = { | |
| 406 | 406 | .name = "aax", |
| 407 | 407 | .long_name = NULL_IF_CONFIG_SMALL("CRI AAX"), |
| 408 | 408 | .priv_data_size = sizeof(AAXContext), |
| @@ -103,7 +103,7 @@ static int ac3_probe(const AVProbeData *p) · 102 unmodified lines | ||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | FF_RAW_DEMUXER_CLASS(ac3) |
| 106 | −AVInputFormat ff_ac3_demuxer = { | |
| 106 | +const AVInputFormat ff_ac3_demuxer = { | |
| 107 | 107 | .name = "ac3", |
| 108 | 108 | .long_name = NULL_IF_CONFIG_SMALL("raw AC-3"), |
| 109 | 109 | .read_probe = ac3_probe, |
| @@ -124,7 +124,7 @@ static int eac3_probe(const AVProbeData *p) · 14 unmodified lines | ||
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | FF_RAW_DEMUXER_CLASS(eac3) |
| 127 | −AVInputFormat ff_eac3_demuxer = { | |
| 127 | +const AVInputFormat ff_eac3_demuxer = { | |
| 128 | 128 | .name = "eac3", |
| 129 | 129 | .long_name = NULL_IF_CONFIG_SMALL("raw E-AC-3"), |
| 130 | 130 | .read_probe = eac3_probe, |
| @@ -104,7 +104,7 @@ static int ace_read_packet(AVFormatContext *s, AVPacket *pkt) · 103 unmodified lines | ||
| 104 | 104 | return av_get_packet(s->pb, pkt, par->block_align); |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | −AVInputFormat ff_ace_demuxer = { | |
| 107 | +const AVInputFormat ff_ace_demuxer = { | |
| 108 | 108 | .name = "ace", |
| 109 | 109 | .long_name = NULL_IF_CONFIG_SMALL("tri-Ace Audio Container"), |
| 110 | 110 | .read_probe = ace_probe, |
| @@ -61,7 +61,7 @@ static int acm_read_header(AVFormatContext *s) · 60 unmodified lines | ||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | FF_RAW_DEMUXER_CLASS(acm) |
| 64 | −AVInputFormat ff_acm_demuxer = { | |
| 64 | +const AVInputFormat ff_acm_demuxer = { | |
| 65 | 65 | .name = "acm", |
| 66 | 66 | .long_name = NULL_IF_CONFIG_SMALL("Interplay ACM"), |
| 67 | 67 | .read_probe = acm_probe, |
| @@ -197,7 +197,7 @@ static int read_packet(AVFormatContext *s, · 196 unmodified lines | ||
| 197 | 197 | return ret; |
| 198 | 198 | } |
| 199 | 199 | |
| 200 | −AVInputFormat ff_act_demuxer = { | |
| 200 | +const AVInputFormat ff_act_demuxer = { | |
| 201 | 201 | .name = "act", |
| 202 | 202 | .long_name = "ACT Voice file format", |
| 203 | 203 | .priv_data_size = sizeof(ACTContext), |
| @@ -83,7 +83,7 @@ static int adp_read_packet(AVFormatContext *s, AVPacket *pkt) · 82 unmodified lines | ||
| 83 | 83 | return ret; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | −AVInputFormat ff_adp_demuxer = { | |
| 86 | +const AVInputFormat ff_adp_demuxer = { | |
| 87 | 87 | .name = "adp", |
| 88 | 88 | .long_name = NULL_IF_CONFIG_SMALL("ADP"), |
| 89 | 89 | .read_probe = adp_probe, |
| @@ -80,7 +80,7 @@ static int ads_read_packet(AVFormatContext *s, AVPacket *pkt) · 79 unmodified lines | ||
| 80 | 80 | return ret; |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | −AVInputFormat ff_ads_demuxer = { | |
| 83 | +const AVInputFormat ff_ads_demuxer = { | |
| 84 | 84 | .name = "ads", |
| 85 | 85 | .long_name = NULL_IF_CONFIG_SMALL("Sony PS2 ADS"), |
| 86 | 86 | .read_probe = ads_probe, |
| @@ -227,7 +227,7 @@ static const AVClass adts_muxer_class = { · 226 unmodified lines | ||
| 227 | 227 | .version = LIBAVUTIL_VERSION_INT, |
| 228 | 228 | }; |
| 229 | 229 | |
| 230 | −AVOutputFormat ff_adts_muxer = { | |
| 230 | +const AVOutputFormat ff_adts_muxer = { | |
| 231 | 231 | .name = "adts", |
| 232 | 232 | .long_name = NULL_IF_CONFIG_SMALL("ADTS AAC (Advanced Audio Coding)"), |
| 233 | 233 | .mime_type = "audio/aac", |
| @@ -129,7 +129,7 @@ static int adx_read_header(AVFormatContext *s) · 128 unmodified lines | ||
| 129 | 129 | return 0; |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | −AVInputFormat ff_adx_demuxer = { | |
| 132 | +const AVInputFormat ff_adx_demuxer = { | |
| 133 | 133 | .name = "adx", |
| 134 | 134 | .long_name = NULL_IF_CONFIG_SMALL("CRI ADX"), |
| 135 | 135 | .read_probe = adx_probe, |
| @@ -98,7 +98,7 @@ static int aea_read_packet(AVFormatContext *s, AVPacket *pkt) · 97 unmodified lines | ||
| 98 | 98 | return ret; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | −AVInputFormat ff_aea_demuxer = { | |
| 101 | +const AVInputFormat ff_aea_demuxer = { | |
| 102 | 102 | .name = "aea", |
| 103 | 103 | .long_name = NULL_IF_CONFIG_SMALL("MD STUDIO audio"), |
| 104 | 104 | .read_probe = aea_read_probe, |
| @@ -69,7 +69,7 @@ static int afc_read_packet(AVFormatContext *s, AVPacket *pkt) · 68 unmodified lines | ||
| 69 | 69 | return ret; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | −AVInputFormat ff_afc_demuxer = { | |
| 72 | +const AVInputFormat ff_afc_demuxer = { | |
| 73 | 73 | .name = "afc", |
| 74 | 74 | .long_name = NULL_IF_CONFIG_SMALL("AFC"), |
| 75 | 75 | .priv_data_size = sizeof(AFCDemuxContext), |
| @@ -424,7 +424,7 @@ static int aiff_read_packet(AVFormatContext *s, · 423 unmodified lines | ||
| 424 | 424 | return 0; |
| 425 | 425 | } |
| 426 | 426 | |
| 427 | −AVInputFormat ff_aiff_demuxer = { | |
| 427 | +const AVInputFormat ff_aiff_demuxer = { | |
| 428 | 428 | .name = "aiff", |
| 429 | 429 | .long_name = NULL_IF_CONFIG_SMALL("Audio IFF"), |
| 430 | 430 | .priv_data_size = sizeof(AIFFInputContext), |
| @@ -285,7 +285,7 @@ static const AVClass aiff_muxer_class = { · 284 unmodified lines | ||
| 285 | 285 | .version = LIBAVUTIL_VERSION_INT, |
| 286 | 286 | }; |
| 287 | 287 | |
| 288 | −AVOutputFormat ff_aiff_muxer = { | |
| 288 | +const AVOutputFormat ff_aiff_muxer = { | |
| 289 | 289 | .name = "aiff", |
| 290 | 290 | .long_name = NULL_IF_CONFIG_SMALL("Audio IFF"), |
| 291 | 291 | .mime_type = "audio/aiff", |
| @@ -129,7 +129,7 @@ static int aix_read_packet(AVFormatContext *s, AVPacket *pkt) · 128 unmodified lines | ||
| 129 | 129 | return ret; |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | −AVInputFormat ff_aix_demuxer = { | |
| 132 | +const AVInputFormat ff_aix_demuxer = { | |
| 133 | 133 | .name = "aix", |
| 134 | 134 | .long_name = NULL_IF_CONFIG_SMALL("CRI AIX"), |
| 135 | 135 | .read_probe = aix_probe, |
| @@ -24,509 +24,509 @@ · 23 unmodified lines | ||
| 24 | 24 | #include "avformat.h" |
| 25 | 25 | |
| 26 | 26 | /* (de)muxers */ |
| 27 | −extern AVOutputFormat ff_a64_muxer; | |
| 28 | −extern AVInputFormat ff_aa_demuxer; | |
| 29 | −extern AVInputFormat ff_aac_demuxer; | |
| 30 | −extern AVInputFormat ff_aax_demuxer; | |
| 31 | −extern AVInputFormat ff_ac3_demuxer; | |
| 32 | −extern AVOutputFormat ff_ac3_muxer; | |
| 33 | −extern AVInputFormat ff_ace_demuxer; | |
| 34 | −extern AVInputFormat ff_acm_demuxer; | |
| 35 | −extern AVInputFormat ff_act_demuxer; | |
| 36 | −extern AVInputFormat ff_adf_demuxer; | |
| 37 | −extern AVInputFormat ff_adp_demuxer; | |
| 38 | −extern AVInputFormat ff_ads_demuxer; | |
| 39 | −extern AVOutputFormat ff_adts_muxer; | |
| 40 | −extern AVInputFormat ff_adx_demuxer; | |
| 41 | −extern AVOutputFormat ff_adx_muxer; | |
| 42 | −extern AVInputFormat ff_aea_demuxer; | |
| 43 | −extern AVInputFormat ff_afc_demuxer; | |
| 44 | −extern AVInputFormat ff_aiff_demuxer; | |
| 45 | −extern AVOutputFormat ff_aiff_muxer; | |
| 46 | −extern AVInputFormat ff_aix_demuxer; | |
| 47 | −extern AVInputFormat ff_alp_demuxer; | |
| 48 | −extern AVOutputFormat ff_alp_muxer; | |
| 49 | −extern AVInputFormat ff_amr_demuxer; | |
| 50 | −extern AVOutputFormat ff_amr_muxer; | |
| 51 | −extern AVInputFormat ff_amrnb_demuxer; | |
| 52 | −extern AVInputFormat ff_amrwb_demuxer; | |
| 53 | −extern AVOutputFormat ff_amv_muxer; | |
| 54 | −extern AVInputFormat ff_anm_demuxer; | |
| 55 | −extern AVInputFormat ff_apc_demuxer; | |
| 56 | −extern AVInputFormat ff_ape_demuxer; | |
| 57 | −extern AVInputFormat ff_apm_demuxer; | |
| 58 | −extern AVOutputFormat ff_apm_muxer; | |
| 59 | −extern AVInputFormat ff_apng_demuxer; | |
| 60 | −extern AVOutputFormat ff_apng_muxer; | |
| 61 | −extern AVInputFormat ff_aptx_demuxer; | |
| 62 | −extern AVOutputFormat ff_aptx_muxer; | |
| 63 | −extern AVInputFormat ff_aptx_hd_demuxer; | |
| 64 | −extern AVOutputFormat ff_aptx_hd_muxer; | |
| 65 | −extern AVInputFormat ff_aqtitle_demuxer; | |
| 66 | −extern AVInputFormat ff_argo_asf_demuxer; | |
| 67 | −extern AVOutputFormat ff_argo_asf_muxer; | |
| 68 | −extern AVInputFormat ff_argo_brp_demuxer; | |
| 69 | −extern AVInputFormat ff_asf_demuxer; | |
| 70 | −extern AVOutputFormat ff_asf_muxer; | |
| 71 | −extern AVInputFormat ff_asf_o_demuxer; | |
| 72 | −extern AVInputFormat ff_ass_demuxer; | |
| 73 | −extern AVOutputFormat ff_ass_muxer; | |
| 74 | −extern AVInputFormat ff_ast_demuxer; | |
| 75 | −extern AVOutputFormat ff_ast_muxer; | |
| 76 | −extern AVOutputFormat ff_asf_stream_muxer; | |
| 77 | −extern AVInputFormat ff_au_demuxer; | |
| 78 | −extern AVOutputFormat ff_au_muxer; | |
| 79 | −extern AVInputFormat ff_av1_demuxer; | |
| 80 | −extern AVInputFormat ff_avi_demuxer; | |
| 81 | −extern AVOutputFormat ff_avi_muxer; | |
| 82 | −extern AVInputFormat ff_avisynth_demuxer; | |
| 83 | −extern AVOutputFormat ff_avm2_muxer; | |
| 84 | −extern AVInputFormat ff_avr_demuxer; | |
| 85 | −extern AVInputFormat ff_avs_demuxer; | |
| 86 | −extern AVInputFormat ff_avs2_demuxer; | |
| 87 | −extern AVOutputFormat ff_avs2_muxer; | |
| 88 | −extern AVInputFormat ff_avs3_demuxer; | |
| 89 | −extern AVInputFormat ff_bethsoftvid_demuxer; | |
| 90 | −extern AVInputFormat ff_bfi_demuxer; | |
| 91 | −extern AVInputFormat ff_bintext_demuxer; | |
| 92 | −extern AVInputFormat ff_bink_demuxer; | |
| 93 | −extern AVInputFormat ff_binka_demuxer; | |
| 94 | −extern AVInputFormat ff_bit_demuxer; | |
| 95 | −extern AVOutputFormat ff_bit_muxer; | |
| 96 | −extern AVInputFormat ff_bmv_demuxer; | |
| 97 | −extern AVInputFormat ff_bfstm_demuxer; | |
| 98 | −extern AVInputFormat ff_brstm_demuxer; | |
| 99 | −extern AVInputFormat ff_boa_demuxer; | |
| 100 | −extern AVInputFormat ff_c93_demuxer; | |
| 101 | −extern AVInputFormat ff_caf_demuxer; | |
| 102 | −extern AVOutputFormat ff_caf_muxer; | |
| 103 | −extern AVInputFormat ff_cavsvideo_demuxer; | |
| 104 | −extern AVOutputFormat ff_cavsvideo_muxer; | |
| 105 | −extern AVInputFormat ff_cdg_demuxer; | |
| 106 | −extern AVInputFormat ff_cdxl_demuxer; | |
| 107 | −extern AVInputFormat ff_cine_demuxer; | |
| 108 | −extern AVInputFormat ff_codec2_demuxer; | |
| 109 | −extern AVOutputFormat ff_codec2_muxer; | |
| 110 | −extern AVInputFormat ff_codec2raw_demuxer; | |
| 111 | −extern AVOutputFormat ff_codec2raw_muxer; | |
| 112 | −extern AVInputFormat ff_concat_demuxer; | |
| 113 | −extern AVOutputFormat ff_crc_muxer; | |
| 114 | −extern AVInputFormat ff_dash_demuxer; | |
| 115 | −extern AVOutputFormat ff_dash_muxer; | |
| 116 | −extern AVInputFormat ff_data_demuxer; | |
| 117 | −extern AVOutputFormat ff_data_muxer; | |
| 118 | −extern AVInputFormat ff_daud_demuxer; | |
| 119 | −extern AVOutputFormat ff_daud_muxer; | |
| 120 | −extern AVInputFormat ff_dcstr_demuxer; | |
| 121 | −extern AVInputFormat ff_derf_demuxer; | |
| 122 | −extern AVInputFormat ff_dfa_demuxer; | |
| 123 | −extern AVInputFormat ff_dhav_demuxer; | |
| 124 | −extern AVInputFormat ff_dirac_demuxer; | |
| 125 | −extern AVOutputFormat ff_dirac_muxer; | |
| 126 | −extern AVInputFormat ff_dnxhd_demuxer; | |
| 127 | −extern AVOutputFormat ff_dnxhd_muxer; | |
| 128 | −extern AVInputFormat ff_dsf_demuxer; | |
| 129 | −extern AVInputFormat ff_dsicin_demuxer; | |
| 130 | −extern AVInputFormat ff_dss_demuxer; | |
| 131 | −extern AVInputFormat ff_dts_demuxer; | |
| 132 | −extern AVOutputFormat ff_dts_muxer; | |
| 133 | −extern AVInputFormat ff_dtshd_demuxer; | |
| 134 | −extern AVInputFormat ff_dv_demuxer; | |
| 135 | −extern AVOutputFormat ff_dv_muxer; | |
| 136 | −extern AVInputFormat ff_dvbsub_demuxer; | |
| 137 | −extern AVInputFormat ff_dvbtxt_demuxer; | |
| 138 | −extern AVInputFormat ff_dxa_demuxer; | |
| 139 | −extern AVInputFormat ff_ea_demuxer; | |
| 140 | −extern AVInputFormat ff_ea_cdata_demuxer; | |
| 141 | −extern AVInputFormat ff_eac3_demuxer; | |
| 142 | −extern AVOutputFormat ff_eac3_muxer; | |
| 143 | −extern AVInputFormat ff_epaf_demuxer; | |
| 144 | −extern AVOutputFormat ff_f4v_muxer; | |
| 145 | −extern AVInputFormat ff_ffmetadata_demuxer; | |
| 146 | −extern AVOutputFormat ff_ffmetadata_muxer; | |
| 147 | −extern AVOutputFormat ff_fifo_muxer; | |
| 148 | −extern AVOutputFormat ff_fifo_test_muxer; | |
| 149 | −extern AVInputFormat ff_filmstrip_demuxer; | |
| 150 | −extern AVOutputFormat ff_filmstrip_muxer; | |
| 151 | −extern AVInputFormat ff_fits_demuxer; | |
| 152 | −extern AVOutputFormat ff_fits_muxer; | |
| 153 | −extern AVInputFormat ff_flac_demuxer; | |
| 154 | −extern AVOutputFormat ff_flac_muxer; | |
| 155 | −extern AVInputFormat ff_flic_demuxer; | |
| 156 | −extern AVInputFormat ff_flv_demuxer; | |
| 157 | −extern AVOutputFormat ff_flv_muxer; | |
| 158 | −extern AVInputFormat ff_live_flv_demuxer; | |
| 159 | −extern AVInputFormat ff_fourxm_demuxer; | |
| 160 | −extern AVOutputFormat ff_framecrc_muxer; | |
| 161 | −extern AVOutputFormat ff_framehash_muxer; | |
| 162 | −extern AVOutputFormat ff_framemd5_muxer; | |
| 163 | −extern AVInputFormat ff_frm_demuxer; | |
| 164 | −extern AVInputFormat ff_fsb_demuxer; | |
| 165 | −extern AVInputFormat ff_fwse_demuxer; | |
| 166 | −extern AVInputFormat ff_g722_demuxer; | |
| 167 | −extern AVOutputFormat ff_g722_muxer; | |
| 168 | −extern AVInputFormat ff_g723_1_demuxer; | |
| 169 | −extern AVOutputFormat ff_g723_1_muxer; | |
| 170 | −extern AVInputFormat ff_g726_demuxer; | |
| 171 | −extern AVOutputFormat ff_g726_muxer; | |
| 172 | −extern AVInputFormat ff_g726le_demuxer; | |
| 173 | −extern AVOutputFormat ff_g726le_muxer; | |
| 174 | −extern AVInputFormat ff_g729_demuxer; | |
| 175 | −extern AVInputFormat ff_gdv_demuxer; | |
| 176 | −extern AVInputFormat ff_genh_demuxer; | |
| 177 | −extern AVInputFormat ff_gif_demuxer; | |
| 178 | −extern AVOutputFormat ff_gif_muxer; | |
| 179 | −extern AVInputFormat ff_gsm_demuxer; | |
| 180 | −extern AVOutputFormat ff_gsm_muxer; | |
| 181 | −extern AVInputFormat ff_gxf_demuxer; | |
| 182 | −extern AVOutputFormat ff_gxf_muxer; | |
| 183 | −extern AVInputFormat ff_h261_demuxer; | |
| 184 | −extern AVOutputFormat ff_h261_muxer; | |
| 185 | −extern AVInputFormat ff_h263_demuxer; | |
| 186 | −extern AVOutputFormat ff_h263_muxer; | |
| 187 | −extern AVInputFormat ff_h264_demuxer; | |
| 188 | −extern AVOutputFormat ff_h264_muxer; | |
| 189 | −extern AVOutputFormat ff_hash_muxer; | |
| 190 | −extern AVInputFormat ff_hca_demuxer; | |
| 191 | −extern AVInputFormat ff_hcom_demuxer; | |
| 192 | −extern AVOutputFormat ff_hds_muxer; | |
| 193 | −extern AVInputFormat ff_hevc_demuxer; | |
| 194 | −extern AVOutputFormat ff_hevc_muxer; | |
| 195 | −extern AVInputFormat ff_hls_demuxer; | |
| 196 | −extern AVOutputFormat ff_hls_muxer; | |
| 197 | −extern AVInputFormat ff_hnm_demuxer; | |
| 198 | −extern AVInputFormat ff_ico_demuxer; | |
| 199 | −extern AVOutputFormat ff_ico_muxer; | |
| 200 | −extern AVInputFormat ff_idcin_demuxer; | |
| 201 | −extern AVInputFormat ff_idf_demuxer; | |
| 202 | −extern AVInputFormat ff_iff_demuxer; | |
| 203 | −extern AVInputFormat ff_ifv_demuxer; | |
| 204 | −extern AVInputFormat ff_ilbc_demuxer; | |
| 205 | −extern AVOutputFormat ff_ilbc_muxer; | |
| 206 | −extern AVInputFormat ff_image2_demuxer; | |
| 207 | −extern AVOutputFormat ff_image2_muxer; | |
| 208 | −extern AVInputFormat ff_image2pipe_demuxer; | |
| 209 | −extern AVOutputFormat ff_image2pipe_muxer; | |
| 210 | −extern AVInputFormat ff_image2_alias_pix_demuxer; | |
| 211 | −extern AVInputFormat ff_image2_brender_pix_demuxer; | |
| 212 | −extern AVInputFormat ff_ingenient_demuxer; | |
| 213 | −extern AVInputFormat ff_ipmovie_demuxer; | |
| 214 | −extern AVOutputFormat ff_ipod_muxer; | |
| 215 | −extern AVInputFormat ff_ipu_demuxer; | |
| 216 | −extern AVInputFormat ff_ircam_demuxer; | |
| 217 | −extern AVOutputFormat ff_ircam_muxer; | |
| 218 | −extern AVOutputFormat ff_ismv_muxer; | |
| 219 | −extern AVInputFormat ff_iss_demuxer; | |
| 220 | −extern AVInputFormat ff_iv8_demuxer; | |
| 221 | −extern AVInputFormat ff_ivf_demuxer; | |
| 222 | −extern AVOutputFormat ff_ivf_muxer; | |
| 223 | −extern AVInputFormat ff_ivr_demuxer; | |
| 224 | −extern AVInputFormat ff_jacosub_demuxer; | |
| 225 | −extern AVOutputFormat ff_jacosub_muxer; | |
| 226 | −extern AVInputFormat ff_jv_demuxer; | |
| 227 | −extern AVInputFormat ff_kux_demuxer; | |
| 228 | −extern AVInputFormat ff_kvag_demuxer; | |
| 229 | −extern AVOutputFormat ff_kvag_muxer; | |
| 230 | −extern AVOutputFormat ff_latm_muxer; | |
| 231 | −extern AVInputFormat ff_lmlm4_demuxer; | |
| 232 | −extern AVInputFormat ff_loas_demuxer; | |
| 233 | −extern AVInputFormat ff_luodat_demuxer; | |
| 234 | −extern AVInputFormat ff_lrc_demuxer; | |
| 235 | −extern AVOutputFormat ff_lrc_muxer; | |
| 236 | −extern AVInputFormat ff_lvf_demuxer; | |
| 237 | −extern AVInputFormat ff_lxf_demuxer; | |
| 238 | −extern AVInputFormat ff_m4v_demuxer; | |
| 239 | −extern AVOutputFormat ff_m4v_muxer; | |
| 240 | −extern AVInputFormat ff_mca_demuxer; | |
| 241 | −extern AVInputFormat ff_mcc_demuxer; | |
| 242 | −extern AVOutputFormat ff_md5_muxer; | |
| 243 | −extern AVInputFormat ff_matroska_demuxer; | |
| 244 | −extern AVOutputFormat ff_matroska_muxer; | |
| 245 | −extern AVOutputFormat ff_matroska_audio_muxer; | |
| 246 | −extern AVInputFormat ff_mgsts_demuxer; | |
| 247 | −extern AVInputFormat ff_microdvd_demuxer; | |
| 248 | −extern AVOutputFormat ff_microdvd_muxer; | |
| 249 | −extern AVInputFormat ff_mjpeg_demuxer; | |
| 250 | −extern AVOutputFormat ff_mjpeg_muxer; | |
| 251 | −extern AVInputFormat ff_mjpeg_2000_demuxer; | |
| 252 | −extern AVInputFormat ff_mlp_demuxer; | |
| 253 | −extern AVOutputFormat ff_mlp_muxer; | |
| 254 | −extern AVInputFormat ff_mlv_demuxer; | |
| 255 | −extern AVInputFormat ff_mm_demuxer; | |
| 256 | −extern AVInputFormat ff_mmf_demuxer; | |
| 257 | −extern AVOutputFormat ff_mmf_muxer; | |
| 258 | −extern AVInputFormat ff_mods_demuxer; | |
| 259 | −extern AVInputFormat ff_moflex_demuxer; | |
| 260 | −extern AVInputFormat ff_mov_demuxer; | |
| 261 | −extern AVOutputFormat ff_mov_muxer; | |
| 262 | −extern AVOutputFormat ff_mp2_muxer; | |
| 263 | −extern AVInputFormat ff_mp3_demuxer; | |
| 264 | −extern AVOutputFormat ff_mp3_muxer; | |
| 265 | −extern AVOutputFormat ff_mp4_muxer; | |
| 266 | −extern AVInputFormat ff_mpc_demuxer; | |
| 267 | −extern AVInputFormat ff_mpc8_demuxer; | |
| 268 | −extern AVOutputFormat ff_mpeg1system_muxer; | |
| 269 | −extern AVOutputFormat ff_mpeg1vcd_muxer; | |
| 270 | −extern AVOutputFormat ff_mpeg1video_muxer; | |
| 271 | −extern AVOutputFormat ff_mpeg2dvd_muxer; | |
| 272 | −extern AVOutputFormat ff_mpeg2svcd_muxer; | |
| 273 | −extern AVOutputFormat ff_mpeg2video_muxer; | |
| 274 | −extern AVOutputFormat ff_mpeg2vob_muxer; | |
| 275 | −extern AVInputFormat ff_mpegps_demuxer; | |
| 276 | −extern AVInputFormat ff_mpegts_demuxer; | |
| 277 | −extern AVOutputFormat ff_mpegts_muxer; | |
| 278 | −extern AVInputFormat ff_mpegtsraw_demuxer; | |
| 279 | −extern AVInputFormat ff_mpegvideo_demuxer; | |
| 280 | −extern AVInputFormat ff_mpjpeg_demuxer; | |
| 281 | −extern AVOutputFormat ff_mpjpeg_muxer; | |
| 282 | −extern AVInputFormat ff_mpl2_demuxer; | |
| 283 | −extern AVInputFormat ff_mpsub_demuxer; | |
| 284 | −extern AVInputFormat ff_msf_demuxer; | |
| 285 | −extern AVInputFormat ff_msnwc_tcp_demuxer; | |
| 286 | −extern AVInputFormat ff_msp_demuxer; | |
| 287 | −extern AVInputFormat ff_mtaf_demuxer; | |
| 288 | −extern AVInputFormat ff_mtv_demuxer; | |
| 289 | −extern AVInputFormat ff_musx_demuxer; | |
| 290 | −extern AVInputFormat ff_mv_demuxer; | |
| 291 | −extern AVInputFormat ff_mvi_demuxer; | |
| 292 | −extern AVInputFormat ff_mxf_demuxer; | |
| 293 | −extern AVOutputFormat ff_mxf_muxer; | |
| 294 | −extern AVOutputFormat ff_mxf_d10_muxer; | |
| 295 | −extern AVOutputFormat ff_mxf_opatom_muxer; | |
| 296 | −extern AVInputFormat ff_mxg_demuxer; | |
| 297 | −extern AVInputFormat ff_nc_demuxer; | |
| 298 | −extern AVInputFormat ff_nistsphere_demuxer; | |
| 299 | −extern AVInputFormat ff_nsp_demuxer; | |
| 300 | −extern AVInputFormat ff_nsv_demuxer; | |
| 301 | −extern AVOutputFormat ff_null_muxer; | |
| 302 | −extern AVInputFormat ff_nut_demuxer; | |
| 303 | −extern AVOutputFormat ff_nut_muxer; | |
| 304 | −extern AVInputFormat ff_nuv_demuxer; | |
| 305 | −extern AVInputFormat ff_obu_demuxer; | |
| 306 | −extern AVOutputFormat ff_oga_muxer; | |
| 307 | −extern AVInputFormat ff_ogg_demuxer; | |
| 308 | −extern AVOutputFormat ff_ogg_muxer; | |
| 309 | −extern AVOutputFormat ff_ogv_muxer; | |
| 310 | −extern AVInputFormat ff_oma_demuxer; | |
| 311 | −extern AVOutputFormat ff_oma_muxer; | |
| 312 | −extern AVOutputFormat ff_opus_muxer; | |
| 313 | −extern AVInputFormat ff_paf_demuxer; | |
| 314 | −extern AVInputFormat ff_pcm_alaw_demuxer; | |
| 315 | −extern AVOutputFormat ff_pcm_alaw_muxer; | |
| 316 | −extern AVInputFormat ff_pcm_mulaw_demuxer; | |
| 317 | −extern AVOutputFormat ff_pcm_mulaw_muxer; | |
| 318 | −extern AVInputFormat ff_pcm_vidc_demuxer; | |
| 319 | −extern AVOutputFormat ff_pcm_vidc_muxer; | |
| 320 | −extern AVInputFormat ff_pcm_f64be_demuxer; | |
| 321 | −extern AVOutputFormat ff_pcm_f64be_muxer; | |
| 322 | −extern AVInputFormat ff_pcm_f64le_demuxer; | |
| 323 | −extern AVOutputFormat ff_pcm_f64le_muxer; | |
| 324 | −extern AVInputFormat ff_pcm_f32be_demuxer; | |
| 325 | −extern AVOutputFormat ff_pcm_f32be_muxer; | |
| 326 | −extern AVInputFormat ff_pcm_f32le_demuxer; | |
| 327 | −extern AVOutputFormat ff_pcm_f32le_muxer; | |
| 328 | −extern AVInputFormat ff_pcm_s32be_demuxer; | |
| 329 | −extern AVOutputFormat ff_pcm_s32be_muxer; | |
| 330 | −extern AVInputFormat ff_pcm_s32le_demuxer; | |
| 331 | −extern AVOutputFormat ff_pcm_s32le_muxer; | |
| 332 | −extern AVInputFormat ff_pcm_s24be_demuxer; | |
| 333 | −extern AVOutputFormat ff_pcm_s24be_muxer; | |
| 334 | −extern AVInputFormat ff_pcm_s24le_demuxer; | |
| 335 | −extern AVOutputFormat ff_pcm_s24le_muxer; | |
| 336 | −extern AVInputFormat ff_pcm_s16be_demuxer; | |
| 337 | −extern AVOutputFormat ff_pcm_s16be_muxer; | |
| 338 | −extern AVInputFormat ff_pcm_s16le_demuxer; | |
| 339 | −extern AVOutputFormat ff_pcm_s16le_muxer; | |
| 340 | −extern AVInputFormat ff_pcm_s8_demuxer; | |
| 341 | −extern AVOutputFormat ff_pcm_s8_muxer; | |
| 342 | −extern AVInputFormat ff_pcm_u32be_demuxer; | |
| 343 | −extern AVOutputFormat ff_pcm_u32be_muxer; | |
| 344 | −extern AVInputFormat ff_pcm_u32le_demuxer; | |
| 345 | −extern AVOutputFormat ff_pcm_u32le_muxer; | |
| 346 | −extern AVInputFormat ff_pcm_u24be_demuxer; | |
| 347 | −extern AVOutputFormat ff_pcm_u24be_muxer; | |
| 348 | −extern AVInputFormat ff_pcm_u24le_demuxer; | |
| 349 | −extern AVOutputFormat ff_pcm_u24le_muxer; | |
| 350 | −extern AVInputFormat ff_pcm_u16be_demuxer; | |
| 351 | −extern AVOutputFormat ff_pcm_u16be_muxer; | |
| 352 | −extern AVInputFormat ff_pcm_u16le_demuxer; | |
| 353 | −extern AVOutputFormat ff_pcm_u16le_muxer; | |
| 354 | −extern AVInputFormat ff_pcm_u8_demuxer; | |
| 355 | −extern AVOutputFormat ff_pcm_u8_muxer; | |
| 356 | −extern AVInputFormat ff_pjs_demuxer; | |
| 357 | −extern AVInputFormat ff_pmp_demuxer; | |
| 358 | −extern AVInputFormat ff_pp_bnk_demuxer; | |
| 359 | −extern AVOutputFormat ff_psp_muxer; | |
| 360 | −extern AVInputFormat ff_pva_demuxer; | |
| 361 | −extern AVInputFormat ff_pvf_demuxer; | |
| 362 | −extern AVInputFormat ff_qcp_demuxer; | |
| 363 | −extern AVInputFormat ff_r3d_demuxer; | |
| 364 | −extern AVInputFormat ff_rawvideo_demuxer; | |
| 365 | −extern AVOutputFormat ff_rawvideo_muxer; | |
| 366 | −extern AVInputFormat ff_realtext_demuxer; | |
| 367 | −extern AVInputFormat ff_redspark_demuxer; | |
| 368 | −extern AVInputFormat ff_rl2_demuxer; | |
| 369 | −extern AVInputFormat ff_rm_demuxer; | |
| 370 | −extern AVOutputFormat ff_rm_muxer; | |
| 371 | −extern AVInputFormat ff_roq_demuxer; | |
| 372 | −extern AVOutputFormat ff_roq_muxer; | |
| 373 | −extern AVInputFormat ff_rpl_demuxer; | |
| 374 | −extern AVInputFormat ff_rsd_demuxer; | |
| 375 | −extern AVInputFormat ff_rso_demuxer; | |
| 376 | −extern AVOutputFormat ff_rso_muxer; | |
| 377 | −extern AVInputFormat ff_rtp_demuxer; | |
| 378 | −extern AVOutputFormat ff_rtp_muxer; | |
| 379 | −extern AVOutputFormat ff_rtp_mpegts_muxer; | |
| 380 | −extern AVInputFormat ff_rtsp_demuxer; | |
| 381 | −extern AVOutputFormat ff_rtsp_muxer; | |
| 382 | −extern AVInputFormat ff_s337m_demuxer; | |
| 383 | −extern AVInputFormat ff_sami_demuxer; | |
| 384 | −extern AVInputFormat ff_sap_demuxer; | |
| 385 | −extern AVOutputFormat ff_sap_muxer; | |
| 386 | −extern AVInputFormat ff_sbc_demuxer; | |
| 387 | −extern AVOutputFormat ff_sbc_muxer; | |
| 388 | −extern AVInputFormat ff_sbg_demuxer; | |
| 389 | −extern AVInputFormat ff_scc_demuxer; | |
| 390 | −extern AVOutputFormat ff_scc_muxer; | |
| 391 | −extern AVInputFormat ff_sdp_demuxer; | |
| 392 | −extern AVInputFormat ff_sdr2_demuxer; | |
| 393 | −extern AVInputFormat ff_sds_demuxer; | |
| 394 | −extern AVInputFormat ff_sdx_demuxer; | |
| 395 | −extern AVInputFormat ff_segafilm_demuxer; | |
| 396 | −extern AVOutputFormat ff_segafilm_muxer; | |
| 397 | −extern AVOutputFormat ff_segment_muxer; | |
| 398 | −extern AVOutputFormat ff_stream_segment_muxer; | |
| 399 | −extern AVInputFormat ff_ser_demuxer; | |
| 400 | −extern AVInputFormat ff_sga_demuxer; | |
| 401 | −extern AVInputFormat ff_shorten_demuxer; | |
| 402 | −extern AVInputFormat ff_siff_demuxer; | |
| 403 | −extern AVInputFormat ff_simbiosis_imx_demuxer; | |
| 404 | −extern AVInputFormat ff_sln_demuxer; | |
| 405 | −extern AVInputFormat ff_smacker_demuxer; | |
| 406 | −extern AVInputFormat ff_smjpeg_demuxer; | |
| 407 | −extern AVOutputFormat ff_smjpeg_muxer; | |
| 408 | −extern AVOutputFormat ff_smoothstreaming_muxer; | |
| 409 | −extern AVInputFormat ff_smush_demuxer; | |
| 410 | −extern AVInputFormat ff_sol_demuxer; | |
| 411 | −extern AVInputFormat ff_sox_demuxer; | |
| 412 | −extern AVOutputFormat ff_sox_muxer; | |
| 413 | −extern AVOutputFormat ff_spx_muxer; | |
| 414 | −extern AVInputFormat ff_spdif_demuxer; | |
| 415 | −extern AVOutputFormat ff_spdif_muxer; | |
| 416 | −extern AVInputFormat ff_srt_demuxer; | |
| 417 | −extern AVOutputFormat ff_srt_muxer; | |
| 418 | −extern AVInputFormat ff_str_demuxer; | |
| 419 | −extern AVInputFormat ff_stl_demuxer; | |
| 420 | −extern AVOutputFormat ff_streamhash_muxer; | |
| 421 | −extern AVInputFormat ff_subviewer1_demuxer; | |
| 422 | −extern AVInputFormat ff_subviewer_demuxer; | |
| 423 | −extern AVInputFormat ff_sup_demuxer; | |
| 424 | −extern AVOutputFormat ff_sup_muxer; | |
| 425 | −extern AVInputFormat ff_svag_demuxer; | |
| 426 | −extern AVInputFormat ff_svs_demuxer; | |
| 427 | −extern AVInputFormat ff_swf_demuxer; | |
| 428 | −extern AVOutputFormat ff_swf_muxer; | |
| 429 | −extern AVInputFormat ff_tak_demuxer; | |
| 430 | −extern AVOutputFormat ff_tee_muxer; | |
| 431 | −extern AVInputFormat ff_tedcaptions_demuxer; | |
| 432 | −extern AVOutputFormat ff_tg2_muxer; | |
| 433 | −extern AVOutputFormat ff_tgp_muxer; | |
| 434 | −extern AVInputFormat ff_thp_demuxer; | |
| 435 | −extern AVInputFormat ff_threedostr_demuxer; | |
| 436 | −extern AVInputFormat ff_tiertexseq_demuxer; | |
| 437 | −extern AVOutputFormat ff_mkvtimestamp_v2_muxer; | |
| 438 | −extern AVInputFormat ff_tmv_demuxer; | |
| 439 | −extern AVInputFormat ff_truehd_demuxer; | |
| 440 | −extern AVOutputFormat ff_truehd_muxer; | |
| 441 | −extern AVInputFormat ff_tta_demuxer; | |
| 442 | −extern AVOutputFormat ff_tta_muxer; | |
| 443 | −extern AVOutputFormat ff_ttml_muxer; | |
| 444 | −extern AVInputFormat ff_txd_demuxer; | |
| 445 | −extern AVInputFormat ff_tty_demuxer; | |
| 446 | −extern AVInputFormat ff_ty_demuxer; | |
| 447 | −extern AVOutputFormat ff_uncodedframecrc_muxer; | |
| 448 | −extern AVInputFormat ff_v210_demuxer; | |
| 449 | −extern AVInputFormat ff_v210x_demuxer; | |
| 450 | −extern AVInputFormat ff_vag_demuxer; | |
| 451 | −extern AVInputFormat ff_vc1_demuxer; | |
| 452 | −extern AVOutputFormat ff_vc1_muxer; | |
| 453 | −extern AVInputFormat ff_vc1t_demuxer; | |
| 454 | −extern AVOutputFormat ff_vc1t_muxer; | |
| 455 | −extern AVInputFormat ff_vividas_demuxer; | |
| 456 | −extern AVInputFormat ff_vivo_demuxer; | |
| 457 | −extern AVInputFormat ff_vmd_demuxer; | |
| 458 | −extern AVInputFormat ff_vobsub_demuxer; | |
| 459 | −extern AVInputFormat ff_voc_demuxer; | |
| 460 | −extern AVOutputFormat ff_voc_muxer; | |
| 461 | −extern AVInputFormat ff_vpk_demuxer; | |
| 462 | −extern AVInputFormat ff_vplayer_demuxer; | |
| 463 | −extern AVInputFormat ff_vqf_demuxer; | |
| 464 | −extern AVInputFormat ff_w64_demuxer; | |
| 465 | −extern AVOutputFormat ff_w64_muxer; | |
| 466 | −extern AVInputFormat ff_wav_demuxer; | |
| 467 | −extern AVOutputFormat ff_wav_muxer; | |
| 468 | −extern AVInputFormat ff_wc3_demuxer; | |
| 469 | −extern AVOutputFormat ff_webm_muxer; | |
| 470 | −extern AVInputFormat ff_webm_dash_manifest_demuxer; | |
| 471 | −extern AVOutputFormat ff_webm_dash_manifest_muxer; | |
| 472 | −extern AVOutputFormat ff_webm_chunk_muxer; | |
| 473 | −extern AVOutputFormat ff_webp_muxer; | |
| 474 | −extern AVInputFormat ff_webvtt_demuxer; | |
| 475 | −extern AVOutputFormat ff_webvtt_muxer; | |
| 476 | −extern AVInputFormat ff_wsaud_demuxer; | |
| 477 | −extern AVOutputFormat ff_wsaud_muxer; | |
| 478 | −extern AVInputFormat ff_wsd_demuxer; | |
| 479 | −extern AVInputFormat ff_wsvqa_demuxer; | |
| 480 | −extern AVInputFormat ff_wtv_demuxer; | |
| 481 | −extern AVOutputFormat ff_wtv_muxer; | |
| 482 | −extern AVInputFormat ff_wve_demuxer; | |
| 483 | −extern AVInputFormat ff_wv_demuxer; | |
| 484 | −extern AVOutputFormat ff_wv_muxer; | |
| 485 | −extern AVInputFormat ff_xa_demuxer; | |
| 486 | −extern AVInputFormat ff_xbin_demuxer; | |
| 487 | −extern AVInputFormat ff_xmv_demuxer; | |
| 488 | −extern AVInputFormat ff_xvag_demuxer; | |
| 489 | −extern AVInputFormat ff_xwma_demuxer; | |
| 490 | −extern AVInputFormat ff_yop_demuxer; | |
| 491 | −extern AVInputFormat ff_yuv4mpegpipe_demuxer; | |
| 492 | −extern AVOutputFormat ff_yuv4mpegpipe_muxer; | |
| 27 | +extern const AVOutputFormat ff_a64_muxer; | |
| 28 | +extern const AVInputFormat ff_aa_demuxer; | |
| 29 | +extern const AVInputFormat ff_aac_demuxer; | |
| 30 | +extern const AVInputFormat ff_aax_demuxer; | |
| 31 | +extern const AVInputFormat ff_ac3_demuxer; | |
| 32 | +extern const AVOutputFormat ff_ac3_muxer; | |
| 33 | +extern const AVInputFormat ff_ace_demuxer; | |
| 34 | +extern const AVInputFormat ff_acm_demuxer; | |
| 35 | +extern const AVInputFormat ff_act_demuxer; | |
| 36 | +extern const AVInputFormat ff_adf_demuxer; | |
| 37 | +extern const AVInputFormat ff_adp_demuxer; | |
| 38 | +extern const AVInputFormat ff_ads_demuxer; | |
| 39 | +extern const AVOutputFormat ff_adts_muxer; | |
| 40 | +extern const AVInputFormat ff_adx_demuxer; | |
| 41 | +extern const AVOutputFormat ff_adx_muxer; | |
| 42 | +extern const AVInputFormat ff_aea_demuxer; | |
| 43 | +extern const AVInputFormat ff_afc_demuxer; | |
| 44 | +extern const AVInputFormat ff_aiff_demuxer; | |
| 45 | +extern const AVOutputFormat ff_aiff_muxer; | |
| 46 | +extern const AVInputFormat ff_aix_demuxer; | |
| 47 | +extern const AVInputFormat ff_alp_demuxer; | |
| 48 | +extern const AVOutputFormat ff_alp_muxer; | |
| 49 | +extern const AVInputFormat ff_amr_demuxer; | |
| 50 | +extern const AVOutputFormat ff_amr_muxer; | |
| 51 | +extern const AVInputFormat ff_amrnb_demuxer; | |
| 52 | +extern const AVInputFormat ff_amrwb_demuxer; | |
| 53 | +extern const AVOutputFormat ff_amv_muxer; | |
| 54 | +extern const AVInputFormat ff_anm_demuxer; | |
| 55 | +extern const AVInputFormat ff_apc_demuxer; | |
| 56 | +extern const AVInputFormat ff_ape_demuxer; | |
| 57 | +extern const AVInputFormat ff_apm_demuxer; | |
| 58 | +extern const AVOutputFormat ff_apm_muxer; | |
| 59 | +extern const AVInputFormat ff_apng_demuxer; | |
| 60 | +extern const AVOutputFormat ff_apng_muxer; | |
| 61 | +extern const AVInputFormat ff_aptx_demuxer; | |
| 62 | +extern const AVOutputFormat ff_aptx_muxer; | |
| 63 | +extern const AVInputFormat ff_aptx_hd_demuxer; | |
| 64 | +extern const AVOutputFormat ff_aptx_hd_muxer; | |
| 65 | +extern const AVInputFormat ff_aqtitle_demuxer; | |
| 66 | +extern const AVInputFormat ff_argo_asf_demuxer; | |
| 67 | +extern const AVOutputFormat ff_argo_asf_muxer; | |
| 68 | +extern const AVInputFormat ff_argo_brp_demuxer; | |
| 69 | +extern const AVInputFormat ff_asf_demuxer; | |
| 70 | +extern const AVOutputFormat ff_asf_muxer; | |
| 71 | +extern const AVInputFormat ff_asf_o_demuxer; | |
| 72 | +extern const AVInputFormat ff_ass_demuxer; | |
| 73 | +extern const AVOutputFormat ff_ass_muxer; | |
| 74 | +extern const AVInputFormat ff_ast_demuxer; | |
| 75 | +extern const AVOutputFormat ff_ast_muxer; | |
| 76 | +extern const AVOutputFormat ff_asf_stream_muxer; | |
| 77 | +extern const AVInputFormat ff_au_demuxer; | |
| 78 | +extern const AVOutputFormat ff_au_muxer; | |
| 79 | +extern const AVInputFormat ff_av1_demuxer; | |
| 80 | +extern const AVInputFormat ff_avi_demuxer; | |
| 81 | +extern const AVOutputFormat ff_avi_muxer; | |
| 82 | +extern const AVInputFormat ff_avisynth_demuxer; | |
| 83 | +extern const AVOutputFormat ff_avm2_muxer; | |
| 84 | +extern const AVInputFormat ff_avr_demuxer; | |
| 85 | +extern const AVInputFormat ff_avs_demuxer; | |
| 86 | +extern const AVInputFormat ff_avs2_demuxer; | |
| 87 | +extern const AVOutputFormat ff_avs2_muxer; | |
| 88 | +extern const AVInputFormat ff_avs3_demuxer; | |
| 89 | +extern const AVInputFormat ff_bethsoftvid_demuxer; | |
| 90 | +extern const AVInputFormat ff_bfi_demuxer; | |
| 91 | +extern const AVInputFormat ff_bintext_demuxer; | |
| 92 | +extern const AVInputFormat ff_bink_demuxer; | |
| 93 | +extern const AVInputFormat ff_binka_demuxer; | |
| 94 | +extern const AVInputFormat ff_bit_demuxer; | |
| 95 | +extern const AVOutputFormat ff_bit_muxer; | |
| 96 | +extern const AVInputFormat ff_bmv_demuxer; | |
| 97 | +extern const AVInputFormat ff_bfstm_demuxer; | |
| 98 | +extern const AVInputFormat ff_brstm_demuxer; | |
| 99 | +extern const AVInputFormat ff_boa_demuxer; | |
| 100 | +extern const AVInputFormat ff_c93_demuxer; | |
| 101 | +extern const AVInputFormat ff_caf_demuxer; | |
| 102 | +extern const AVOutputFormat ff_caf_muxer; | |
| 103 | +extern const AVInputFormat ff_cavsvideo_demuxer; | |
| 104 | +extern const AVOutputFormat ff_cavsvideo_muxer; | |
| 105 | +extern const AVInputFormat ff_cdg_demuxer; | |
| 106 | +extern const AVInputFormat ff_cdxl_demuxer; | |
| 107 | +extern const AVInputFormat ff_cine_demuxer; | |
| 108 | +extern const AVInputFormat ff_codec2_demuxer; | |
| 109 | +extern const AVOutputFormat ff_codec2_muxer; | |
| 110 | +extern const AVInputFormat ff_codec2raw_demuxer; | |
| 111 | +extern const AVOutputFormat ff_codec2raw_muxer; | |
| 112 | +extern const AVInputFormat ff_concat_demuxer; | |
| 113 | +extern const AVOutputFormat ff_crc_muxer; | |
| 114 | +extern const AVInputFormat ff_dash_demuxer; | |
| 115 | +extern const AVOutputFormat ff_dash_muxer; | |
| 116 | +extern const AVInputFormat ff_data_demuxer; | |
| 117 | +extern const AVOutputFormat ff_data_muxer; | |
| 118 | +extern const AVInputFormat ff_daud_demuxer; | |
| 119 | +extern const AVOutputFormat ff_daud_muxer; | |
| 120 | +extern const AVInputFormat ff_dcstr_demuxer; | |
| 121 | +extern const AVInputFormat ff_derf_demuxer; | |
| 122 | +extern const AVInputFormat ff_dfa_demuxer; | |
| 123 | +extern const AVInputFormat ff_dhav_demuxer; | |
| 124 | +extern const AVInputFormat ff_dirac_demuxer; | |
| 125 | +extern const AVOutputFormat ff_dirac_muxer; | |
| 126 | +extern const AVInputFormat ff_dnxhd_demuxer; | |
| 127 | +extern const AVOutputFormat ff_dnxhd_muxer; | |
| 128 | +extern const AVInputFormat ff_dsf_demuxer; | |
| 129 | +extern const AVInputFormat ff_dsicin_demuxer; | |
| 130 | +extern const AVInputFormat ff_dss_demuxer; | |
| 131 | +extern const AVInputFormat ff_dts_demuxer; | |
| 132 | +extern const AVOutputFormat ff_dts_muxer; | |
| 133 | +extern const AVInputFormat ff_dtshd_demuxer; | |
| 134 | +extern const AVInputFormat ff_dv_demuxer; | |
| 135 | +extern const AVOutputFormat ff_dv_muxer; | |
| 136 | +extern const AVInputFormat ff_dvbsub_demuxer; | |
| 137 | +extern const AVInputFormat ff_dvbtxt_demuxer; | |
| 138 | +extern const AVInputFormat ff_dxa_demuxer; | |
| 139 | +extern const AVInputFormat ff_ea_demuxer; | |
| 140 | +extern const AVInputFormat ff_ea_cdata_demuxer; | |
| 141 | +extern const AVInputFormat ff_eac3_demuxer; | |
| 142 | +extern const AVOutputFormat ff_eac3_muxer; | |
| 143 | +extern const AVInputFormat ff_epaf_demuxer; | |
| 144 | +extern const AVOutputFormat ff_f4v_muxer; | |
| 145 | +extern const AVInputFormat ff_ffmetadata_demuxer; | |
| 146 | +extern const AVOutputFormat ff_ffmetadata_muxer; | |
| 147 | +extern const AVOutputFormat ff_fifo_muxer; | |
| 148 | +extern const AVOutputFormat ff_fifo_test_muxer; | |
| 149 | +extern const AVInputFormat ff_filmstrip_demuxer; | |
| 150 | +extern const AVOutputFormat ff_filmstrip_muxer; | |
| 151 | +extern const AVInputFormat ff_fits_demuxer; | |
| 152 | +extern const AVOutputFormat ff_fits_muxer; | |
| 153 | +extern const AVInputFormat ff_flac_demuxer; | |
| 154 | +extern const AVOutputFormat ff_flac_muxer; | |
| 155 | +extern const AVInputFormat ff_flic_demuxer; | |
| 156 | +extern const AVInputFormat ff_flv_demuxer; | |
| 157 | +extern const AVOutputFormat ff_flv_muxer; | |
| 158 | +extern const AVInputFormat ff_live_flv_demuxer; | |
| 159 | +extern const AVInputFormat ff_fourxm_demuxer; | |
| 160 | +extern const AVOutputFormat ff_framecrc_muxer; | |
| 161 | +extern const AVOutputFormat ff_framehash_muxer; | |
| 162 | +extern const AVOutputFormat ff_framemd5_muxer; | |
| 163 | +extern const AVInputFormat ff_frm_demuxer; | |
| 164 | +extern const AVInputFormat ff_fsb_demuxer; | |
| 165 | +extern const AVInputFormat ff_fwse_demuxer; | |
| 166 | +extern const AVInputFormat ff_g722_demuxer; | |
| 167 | +extern const AVOutputFormat ff_g722_muxer; | |
| 168 | +extern const AVInputFormat ff_g723_1_demuxer; | |
| 169 | +extern const AVOutputFormat ff_g723_1_muxer; | |
| 170 | +extern const AVInputFormat ff_g726_demuxer; | |
| 171 | +extern const AVOutputFormat ff_g726_muxer; | |
| 172 | +extern const AVInputFormat ff_g726le_demuxer; | |
| 173 | +extern const AVOutputFormat ff_g726le_muxer; | |
| 174 | +extern const AVInputFormat ff_g729_demuxer; | |
| 175 | +extern const AVInputFormat ff_gdv_demuxer; | |
| 176 | +extern const AVInputFormat ff_genh_demuxer; | |
| 177 | +extern const AVInputFormat ff_gif_demuxer; | |
| 178 | +extern const AVOutputFormat ff_gif_muxer; | |
| 179 | +extern const AVInputFormat ff_gsm_demuxer; | |
| 180 | +extern const AVOutputFormat ff_gsm_muxer; | |
| 181 | +extern const AVInputFormat ff_gxf_demuxer; | |
| 182 | +extern const AVOutputFormat ff_gxf_muxer; | |
| 183 | +extern const AVInputFormat ff_h261_demuxer; | |
| 184 | +extern const AVOutputFormat ff_h261_muxer; | |
| 185 | +extern const AVInputFormat ff_h263_demuxer; | |
| 186 | +extern const AVOutputFormat ff_h263_muxer; | |
| 187 | +extern const AVInputFormat ff_h264_demuxer; | |
| 188 | +extern const AVOutputFormat ff_h264_muxer; | |
| 189 | +extern const AVOutputFormat ff_hash_muxer; | |
| 190 | +extern const AVInputFormat ff_hca_demuxer; | |
| 191 | +extern const AVInputFormat ff_hcom_demuxer; | |
| 192 | +extern const AVOutputFormat ff_hds_muxer; | |
| 193 | +extern const AVInputFormat ff_hevc_demuxer; | |
| 194 | +extern const AVOutputFormat ff_hevc_muxer; | |
| 195 | +extern const AVInputFormat ff_hls_demuxer; | |
| 196 | +extern const AVOutputFormat ff_hls_muxer; | |
| 197 | +extern const AVInputFormat ff_hnm_demuxer; | |
| 198 | +extern const AVInputFormat ff_ico_demuxer; | |
| 199 | +extern const AVOutputFormat ff_ico_muxer; | |
| 200 | +extern const AVInputFormat ff_idcin_demuxer; | |
| 201 | +extern const AVInputFormat ff_idf_demuxer; | |
| 202 | +extern const AVInputFormat ff_iff_demuxer; | |
| 203 | +extern const AVInputFormat ff_ifv_demuxer; | |
| 204 | +extern const AVInputFormat ff_ilbc_demuxer; | |
| 205 | +extern const AVOutputFormat ff_ilbc_muxer; | |
| 206 | +extern const AVInputFormat ff_image2_demuxer; | |
| 207 | +extern const AVOutputFormat ff_image2_muxer; | |
| 208 | +extern const AVInputFormat ff_image2pipe_demuxer; | |
| 209 | +extern const AVOutputFormat ff_image2pipe_muxer; | |
| 210 | +extern const AVInputFormat ff_image2_alias_pix_demuxer; | |
| 211 | +extern const AVInputFormat ff_image2_brender_pix_demuxer; | |
| 212 | +extern const AVInputFormat ff_ingenient_demuxer; | |
| 213 | +extern const AVInputFormat ff_ipmovie_demuxer; | |
| 214 | +extern const AVOutputFormat ff_ipod_muxer; | |
| 215 | +extern const AVInputFormat ff_ipu_demuxer; | |
| 216 | +extern const AVInputFormat ff_ircam_demuxer; | |
| 217 | +extern const AVOutputFormat ff_ircam_muxer; | |
| 218 | +extern const AVOutputFormat ff_ismv_muxer; | |
| 219 | +extern const AVInputFormat ff_iss_demuxer; | |
| 220 | +extern const AVInputFormat ff_iv8_demuxer; | |
| 221 | +extern const AVInputFormat ff_ivf_demuxer; | |
| 222 | +extern const AVOutputFormat ff_ivf_muxer; | |
| 223 | +extern const AVInputFormat ff_ivr_demuxer; | |
| 224 | +extern const AVInputFormat ff_jacosub_demuxer; | |
| 225 | +extern const AVOutputFormat ff_jacosub_muxer; | |
| 226 | +extern const AVInputFormat ff_jv_demuxer; | |
| 227 | +extern const AVInputFormat ff_kux_demuxer; | |
| 228 | +extern const AVInputFormat ff_kvag_demuxer; | |
| 229 | +extern const AVOutputFormat ff_kvag_muxer; | |
| 230 | +extern const AVOutputFormat ff_latm_muxer; | |
| 231 | +extern const AVInputFormat ff_lmlm4_demuxer; | |
| 232 | +extern const AVInputFormat ff_loas_demuxer; | |
| 233 | +extern const AVInputFormat ff_luodat_demuxer; | |
| 234 | +extern const AVInputFormat ff_lrc_demuxer; | |
| 235 | +extern const AVOutputFormat ff_lrc_muxer; | |
| 236 | +extern const AVInputFormat ff_lvf_demuxer; | |
| 237 | +extern const AVInputFormat ff_lxf_demuxer; | |
| 238 | +extern const AVInputFormat ff_m4v_demuxer; | |
| 239 | +extern const AVOutputFormat ff_m4v_muxer; | |
| 240 | +extern const AVInputFormat ff_mca_demuxer; | |
| 241 | +extern const AVInputFormat ff_mcc_demuxer; | |
| 242 | +extern const AVOutputFormat ff_md5_muxer; | |
| 243 | +extern const AVInputFormat ff_matroska_demuxer; | |
| 244 | +extern const AVOutputFormat ff_matroska_muxer; | |
| 245 | +extern const AVOutputFormat ff_matroska_audio_muxer; | |
| 246 | +extern const AVInputFormat ff_mgsts_demuxer; | |
| 247 | +extern const AVInputFormat ff_microdvd_demuxer; | |
| 248 | +extern const AVOutputFormat ff_microdvd_muxer; | |
| 249 | +extern const AVInputFormat ff_mjpeg_demuxer; | |
| 250 | +extern const AVOutputFormat ff_mjpeg_muxer; | |
| 251 | +extern const AVInputFormat ff_mjpeg_2000_demuxer; | |
| 252 | +extern const AVInputFormat ff_mlp_demuxer; | |
| 253 | +extern const AVOutputFormat ff_mlp_muxer; | |
| 254 | +extern const AVInputFormat ff_mlv_demuxer; | |
| 255 | +extern const AVInputFormat ff_mm_demuxer; | |
| 256 | +extern const AVInputFormat ff_mmf_demuxer; | |
| 257 | +extern const AVOutputFormat ff_mmf_muxer; | |
| 258 | +extern const AVInputFormat ff_mods_demuxer; | |
| 259 | +extern const AVInputFormat ff_moflex_demuxer; | |
| 260 | +extern const AVInputFormat ff_mov_demuxer; | |
| 261 | +extern const AVOutputFormat ff_mov_muxer; | |
| 262 | +extern const AVOutputFormat ff_mp2_muxer; | |
| 263 | +extern const AVInputFormat ff_mp3_demuxer; | |
| 264 | +extern const AVOutputFormat ff_mp3_muxer; | |
| 265 | +extern const AVOutputFormat ff_mp4_muxer; | |
| 266 | +extern const AVInputFormat ff_mpc_demuxer; | |
| 267 | +extern const AVInputFormat ff_mpc8_demuxer; | |
| 268 | +extern const AVOutputFormat ff_mpeg1system_muxer; | |
| 269 | +extern const AVOutputFormat ff_mpeg1vcd_muxer; | |
| 270 | +extern const AVOutputFormat ff_mpeg1video_muxer; | |
| 271 | +extern const AVOutputFormat ff_mpeg2dvd_muxer; | |
| 272 | +extern const AVOutputFormat ff_mpeg2svcd_muxer; | |
| 273 | +extern const AVOutputFormat ff_mpeg2video_muxer; | |
| 274 | +extern const AVOutputFormat ff_mpeg2vob_muxer; | |
| 275 | +extern const AVInputFormat ff_mpegps_demuxer; | |
| 276 | +extern const AVInputFormat ff_mpegts_demuxer; | |
| 277 | +extern const AVOutputFormat ff_mpegts_muxer; | |
| 278 | +extern const AVInputFormat ff_mpegtsraw_demuxer; | |
| 279 | +extern const AVInputFormat ff_mpegvideo_demuxer; | |
| 280 | +extern const AVInputFormat ff_mpjpeg_demuxer; | |
| 281 | +extern const AVOutputFormat ff_mpjpeg_muxer; | |
| 282 | +extern const AVInputFormat ff_mpl2_demuxer; | |
| 283 | +extern const AVInputFormat ff_mpsub_demuxer; | |
| 284 | +extern const AVInputFormat ff_msf_demuxer; | |
| 285 | +extern const AVInputFormat ff_msnwc_tcp_demuxer; | |
| 286 | +extern const AVInputFormat ff_msp_demuxer; | |
| 287 | +extern const AVInputFormat ff_mtaf_demuxer; | |
| 288 | +extern const AVInputFormat ff_mtv_demuxer; | |
| 289 | +extern const AVInputFormat ff_musx_demuxer; | |
| 290 | +extern const AVInputFormat ff_mv_demuxer; | |
| 291 | +extern const AVInputFormat ff_mvi_demuxer; | |
| 292 | +extern const AVInputFormat ff_mxf_demuxer; | |
| 293 | +extern const AVOutputFormat ff_mxf_muxer; | |
| 294 | +extern const AVOutputFormat ff_mxf_d10_muxer; | |
| 295 | +extern const AVOutputFormat ff_mxf_opatom_muxer; | |
| 296 | +extern const AVInputFormat ff_mxg_demuxer; | |
| 297 | +extern const AVInputFormat ff_nc_demuxer; | |
| 298 | +extern const AVInputFormat ff_nistsphere_demuxer; | |
| 299 | +extern const AVInputFormat ff_nsp_demuxer; | |
| 300 | +extern const AVInputFormat ff_nsv_demuxer; | |
| 301 | +extern const AVOutputFormat ff_null_muxer; | |
| 302 | +extern const AVInputFormat ff_nut_demuxer; | |
| 303 | +extern const AVOutputFormat ff_nut_muxer; | |
| 304 | +extern const AVInputFormat ff_nuv_demuxer; | |
| 305 | +extern const AVInputFormat ff_obu_demuxer; | |
| 306 | +extern const AVOutputFormat ff_oga_muxer; | |
| 307 | +extern const AVInputFormat ff_ogg_demuxer; | |
| 308 | +extern const AVOutputFormat ff_ogg_muxer; | |
| 309 | +extern const AVOutputFormat ff_ogv_muxer; | |
| 310 | +extern const AVInputFormat ff_oma_demuxer; | |
| 311 | +extern const AVOutputFormat ff_oma_muxer; | |
| 312 | +extern const AVOutputFormat ff_opus_muxer; | |
| 313 | +extern const AVInputFormat ff_paf_demuxer; | |
| 314 | +extern const AVInputFormat ff_pcm_alaw_demuxer; | |
| 315 | +extern const AVOutputFormat ff_pcm_alaw_muxer; | |
| 316 | +extern const AVInputFormat ff_pcm_mulaw_demuxer; | |
| 317 | +extern const AVOutputFormat ff_pcm_mulaw_muxer; | |
| 318 | +extern const AVInputFormat ff_pcm_vidc_demuxer; | |
| 319 | +extern const AVOutputFormat ff_pcm_vidc_muxer; | |
| 320 | +extern const AVInputFormat ff_pcm_f64be_demuxer; | |
| 321 | +extern const AVOutputFormat ff_pcm_f64be_muxer; | |
| 322 | +extern const AVInputFormat ff_pcm_f64le_demuxer; | |
| 323 | +extern const AVOutputFormat ff_pcm_f64le_muxer; | |
| 324 | +extern const AVInputFormat ff_pcm_f32be_demuxer; | |
| 325 | +extern const AVOutputFormat ff_pcm_f32be_muxer; | |
| 326 | +extern const AVInputFormat ff_pcm_f32le_demuxer; | |
| 327 | +extern const AVOutputFormat ff_pcm_f32le_muxer; | |
| 328 | +extern const AVInputFormat ff_pcm_s32be_demuxer; | |
| 329 | +extern const AVOutputFormat ff_pcm_s32be_muxer; | |
| 330 | +extern const AVInputFormat ff_pcm_s32le_demuxer; | |
| 331 | +extern const AVOutputFormat ff_pcm_s32le_muxer; | |
| 332 | +extern const AVInputFormat ff_pcm_s24be_demuxer; | |
| 333 | +extern const AVOutputFormat ff_pcm_s24be_muxer; | |
| 334 | +extern const AVInputFormat ff_pcm_s24le_demuxer; | |
| 335 | +extern const AVOutputFormat ff_pcm_s24le_muxer; | |
| 336 | +extern const AVInputFormat ff_pcm_s16be_demuxer; | |
| 337 | +extern const AVOutputFormat ff_pcm_s16be_muxer; | |
| 338 | +extern const AVInputFormat ff_pcm_s16le_demuxer; | |
| 339 | +extern const AVOutputFormat ff_pcm_s16le_muxer; | |
| 340 | +extern const AVInputFormat ff_pcm_s8_demuxer; | |
| 341 | +extern const AVOutputFormat ff_pcm_s8_muxer; | |
| 342 | +extern const AVInputFormat ff_pcm_u32be_demuxer; | |
| 343 | +extern const AVOutputFormat ff_pcm_u32be_muxer; | |
| 344 | +extern const AVInputFormat ff_pcm_u32le_demuxer; | |
| 345 | +extern const AVOutputFormat ff_pcm_u32le_muxer; | |
| 346 | +extern const AVInputFormat ff_pcm_u24be_demuxer; | |
| 347 | +extern const AVOutputFormat ff_pcm_u24be_muxer; | |
| 348 | +extern const AVInputFormat ff_pcm_u24le_demuxer; | |
| 349 | +extern const AVOutputFormat ff_pcm_u24le_muxer; | |
| 350 | +extern const AVInputFormat ff_pcm_u16be_demuxer; | |
| 351 | +extern const AVOutputFormat ff_pcm_u16be_muxer; | |
| 352 | +extern const AVInputFormat ff_pcm_u16le_demuxer; | |
| 353 | +extern const AVOutputFormat ff_pcm_u16le_muxer; | |
| 354 | +extern const AVInputFormat ff_pcm_u8_demuxer; | |
| 355 | +extern const AVOutputFormat ff_pcm_u8_muxer; | |
| 356 | +extern const AVInputFormat ff_pjs_demuxer; | |
| 357 | +extern const AVInputFormat ff_pmp_demuxer; | |
| 358 | +extern const AVInputFormat ff_pp_bnk_demuxer; | |
| 359 | +extern const AVOutputFormat ff_psp_muxer; | |
| 360 | +extern const AVInputFormat ff_pva_demuxer; | |
| 361 | +extern const AVInputFormat ff_pvf_demuxer; | |
| 362 | +extern const AVInputFormat ff_qcp_demuxer; | |
| 363 | +extern const AVInputFormat ff_r3d_demuxer; | |
| 364 | +extern const AVInputFormat ff_rawvideo_demuxer; | |
| 365 | +extern const AVOutputFormat ff_rawvideo_muxer; | |
| 366 | +extern const AVInputFormat ff_realtext_demuxer; | |
| 367 | +extern const AVInputFormat ff_redspark_demuxer; | |
| 368 | +extern const AVInputFormat ff_rl2_demuxer; | |
| 369 | +extern const AVInputFormat ff_rm_demuxer; | |
| 370 | +extern const AVOutputFormat ff_rm_muxer; | |
| 371 | +extern const AVInputFormat ff_roq_demuxer; | |
| 372 | +extern const AVOutputFormat ff_roq_muxer; | |
| 373 | +extern const AVInputFormat ff_rpl_demuxer; | |
| 374 | +extern const AVInputFormat ff_rsd_demuxer; | |
| 375 | +extern const AVInputFormat ff_rso_demuxer; | |
| 376 | +extern const AVOutputFormat ff_rso_muxer; | |
| 377 | +extern const AVInputFormat ff_rtp_demuxer; | |
| 378 | +extern const AVOutputFormat ff_rtp_muxer; | |
| 379 | +extern const AVOutputFormat ff_rtp_mpegts_muxer; | |
| 380 | +extern const AVInputFormat ff_rtsp_demuxer; | |
| 381 | +extern const AVOutputFormat ff_rtsp_muxer; | |
| 382 | +extern const AVInputFormat ff_s337m_demuxer; | |
| 383 | +extern const AVInputFormat ff_sami_demuxer; | |
| 384 | +extern const AVInputFormat ff_sap_demuxer; | |
| 385 | +extern const AVOutputFormat ff_sap_muxer; | |
| 386 | +extern const AVInputFormat ff_sbc_demuxer; | |
| 387 | +extern const AVOutputFormat ff_sbc_muxer; | |
| 388 | +extern const AVInputFormat ff_sbg_demuxer; | |
| 389 | +extern const AVInputFormat ff_scc_demuxer; | |
| 390 | +extern const AVOutputFormat ff_scc_muxer; | |
| 391 | +extern const AVInputFormat ff_sdp_demuxer; | |
| 392 | +extern const AVInputFormat ff_sdr2_demuxer; | |
| 393 | +extern const AVInputFormat ff_sds_demuxer; | |
| 394 | +extern const AVInputFormat ff_sdx_demuxer; | |
| 395 | +extern const AVInputFormat ff_segafilm_demuxer; | |
| 396 | +extern const AVOutputFormat ff_segafilm_muxer; | |
| 397 | +extern const AVOutputFormat ff_segment_muxer; | |
| 398 | +extern const AVOutputFormat ff_stream_segment_muxer; | |
| 399 | +extern const AVInputFormat ff_ser_demuxer; | |
| 400 | +extern const AVInputFormat ff_sga_demuxer; | |
| 401 | +extern const AVInputFormat ff_shorten_demuxer; | |
| 402 | +extern const AVInputFormat ff_siff_demuxer; | |
| 403 | +extern const AVInputFormat ff_simbiosis_imx_demuxer; | |
| 404 | +extern const AVInputFormat ff_sln_demuxer; | |
| 405 | +extern const AVInputFormat ff_smacker_demuxer; | |
| 406 | +extern const AVInputFormat ff_smjpeg_demuxer; | |
| 407 | +extern const AVOutputFormat ff_smjpeg_muxer; | |
| 408 | +extern const AVOutputFormat ff_smoothstreaming_muxer; | |
| 409 | +extern const AVInputFormat ff_smush_demuxer; | |
| 410 | +extern const AVInputFormat ff_sol_demuxer; | |
| 411 | +extern const AVInputFormat ff_sox_demuxer; | |
| 412 | +extern const AVOutputFormat ff_sox_muxer; | |
| 413 | +extern const AVOutputFormat ff_spx_muxer; | |
| 414 | +extern const AVInputFormat ff_spdif_demuxer; | |
| 415 | +extern const AVOutputFormat ff_spdif_muxer; | |
| 416 | +extern const AVInputFormat ff_srt_demuxer; | |
| 417 | +extern const AVOutputFormat ff_srt_muxer; | |
| 418 | +extern const AVInputFormat ff_str_demuxer; | |
| 419 | +extern const AVInputFormat ff_stl_demuxer; | |
| 420 | +extern const AVOutputFormat ff_streamhash_muxer; | |
| 421 | +extern const AVInputFormat ff_subviewer1_demuxer; | |
| 422 | +extern const AVInputFormat ff_subviewer_demuxer; | |
| 423 | +extern const AVInputFormat ff_sup_demuxer; | |
| 424 | +extern const AVOutputFormat ff_sup_muxer; | |
| 425 | +extern const AVInputFormat ff_svag_demuxer; | |
| 426 | +extern const AVInputFormat ff_svs_demuxer; | |
| 427 | +extern const AVInputFormat ff_swf_demuxer; | |
| 428 | +extern const AVOutputFormat ff_swf_muxer; | |
| 429 | +extern const AVInputFormat ff_tak_demuxer; | |
| 430 | +extern const AVOutputFormat ff_tee_muxer; | |
| 431 | +extern const AVInputFormat ff_tedcaptions_demuxer; | |
| 432 | +extern const AVOutputFormat ff_tg2_muxer; | |
| 433 | +extern const AVOutputFormat ff_tgp_muxer; | |
| 434 | +extern const AVInputFormat ff_thp_demuxer; | |
| 435 | +extern const AVInputFormat ff_threedostr_demuxer; | |
| 436 | +extern const AVInputFormat ff_tiertexseq_demuxer; | |
| 437 | +extern const AVOutputFormat ff_mkvtimestamp_v2_muxer; | |
| 438 | +extern const AVInputFormat ff_tmv_demuxer; | |
| 439 | +extern const AVInputFormat ff_truehd_demuxer; | |
| 440 | +extern const AVOutputFormat ff_truehd_muxer; | |
| 441 | +extern const AVInputFormat ff_tta_demuxer; | |
| 442 | +extern const AVOutputFormat ff_tta_muxer; | |
| 443 | +extern const AVOutputFormat ff_ttml_muxer; | |
| 444 | +extern const AVInputFormat ff_txd_demuxer; | |
| 445 | +extern const AVInputFormat ff_tty_demuxer; | |
| 446 | +extern const AVInputFormat ff_ty_demuxer; | |
| 447 | +extern const AVOutputFormat ff_uncodedframecrc_muxer; | |
| 448 | +extern const AVInputFormat ff_v210_demuxer; | |
| 449 | +extern const AVInputFormat ff_v210x_demuxer; | |
| 450 | +extern const AVInputFormat ff_vag_demuxer; | |
| 451 | +extern const AVInputFormat ff_vc1_demuxer; | |
| 452 | +extern const AVOutputFormat ff_vc1_muxer; | |
| 453 | +extern const AVInputFormat ff_vc1t_demuxer; | |
| 454 | +extern const AVOutputFormat ff_vc1t_muxer; | |
| 455 | +extern const AVInputFormat ff_vividas_demuxer; | |
| 456 | +extern const AVInputFormat ff_vivo_demuxer; | |
| 457 | +extern const AVInputFormat ff_vmd_demuxer; | |
| 458 | +extern const AVInputFormat ff_vobsub_demuxer; | |
| 459 | +extern const AVInputFormat ff_voc_demuxer; | |
| 460 | +extern const AVOutputFormat ff_voc_muxer; | |
| 461 | +extern const AVInputFormat ff_vpk_demuxer; | |
| 462 | +extern const AVInputFormat ff_vplayer_demuxer; | |
| 463 | +extern const AVInputFormat ff_vqf_demuxer; | |
| 464 | +extern const AVInputFormat ff_w64_demuxer; | |
| 465 | +extern const AVOutputFormat ff_w64_muxer; | |
| 466 | +extern const AVInputFormat ff_wav_demuxer; | |
| 467 | +extern const AVOutputFormat ff_wav_muxer; | |
| 468 | +extern const AVInputFormat ff_wc3_demuxer; | |
| 469 | +extern const AVOutputFormat ff_webm_muxer; | |
| 470 | +extern const AVInputFormat ff_webm_dash_manifest_demuxer; | |
| 471 | +extern const AVOutputFormat ff_webm_dash_manifest_muxer; | |
| 472 | +extern const AVOutputFormat ff_webm_chunk_muxer; | |
| 473 | +extern const AVOutputFormat ff_webp_muxer; | |
| 474 | +extern const AVInputFormat ff_webvtt_demuxer; | |
| 475 | +extern const AVOutputFormat ff_webvtt_muxer; | |
| 476 | +extern const AVInputFormat ff_wsaud_demuxer; | |
| 477 | +extern const AVOutputFormat ff_wsaud_muxer; | |
| 478 | +extern const AVInputFormat ff_wsd_demuxer; | |
| 479 | +extern const AVInputFormat ff_wsvqa_demuxer; | |
| 480 | +extern const AVInputFormat ff_wtv_demuxer; | |
| 481 | +extern const AVOutputFormat ff_wtv_muxer; | |
| 482 | +extern const AVInputFormat ff_wve_demuxer; | |
| 483 | +extern const AVInputFormat ff_wv_demuxer; | |
| 484 | +extern const AVOutputFormat ff_wv_muxer; | |
| 485 | +extern const AVInputFormat ff_xa_demuxer; | |
| 486 | +extern const AVInputFormat ff_xbin_demuxer; | |
| 487 | +extern const AVInputFormat ff_xmv_demuxer; | |
| 488 | +extern const AVInputFormat ff_xvag_demuxer; | |
| 489 | +extern const AVInputFormat ff_xwma_demuxer; | |
| 490 | +extern const AVInputFormat ff_yop_demuxer; | |
| 491 | +extern const AVInputFormat ff_yuv4mpegpipe_demuxer; | |
| 492 | +extern const AVOutputFormat ff_yuv4mpegpipe_muxer; | |
| 493 | 493 | /* image demuxers */ |
| 494 | −extern AVInputFormat ff_image_bmp_pipe_demuxer; | |
| 495 | −extern AVInputFormat ff_image_cri_pipe_demuxer; | |
| 496 | −extern AVInputFormat ff_image_dds_pipe_demuxer; | |
| 497 | −extern AVInputFormat ff_image_dpx_pipe_demuxer; | |
| 498 | −extern AVInputFormat ff_image_exr_pipe_demuxer; | |
| 499 | −extern AVInputFormat ff_image_gif_pipe_demuxer; | |
| 500 | −extern AVInputFormat ff_image_j2k_pipe_demuxer; | |
| 501 | −extern AVInputFormat ff_image_jpeg_pipe_demuxer; | |
| 502 | −extern AVInputFormat ff_image_jpegls_pipe_demuxer; | |
| 503 | −extern AVInputFormat ff_image_pam_pipe_demuxer; | |
| 504 | −extern AVInputFormat ff_image_pbm_pipe_demuxer; | |
| 505 | −extern AVInputFormat ff_image_pcx_pipe_demuxer; | |
| 506 | −extern AVInputFormat ff_image_pgmyuv_pipe_demuxer; | |
| 507 | −extern AVInputFormat ff_image_pgm_pipe_demuxer; | |
| 508 | −extern AVInputFormat ff_image_pgx_pipe_demuxer; | |
| 509 | −extern AVInputFormat ff_image_photocd_pipe_demuxer; | |
| 510 | −extern AVInputFormat ff_image_pictor_pipe_demuxer; | |
| 511 | −extern AVInputFormat ff_image_png_pipe_demuxer; | |
| 512 | −extern AVInputFormat ff_image_ppm_pipe_demuxer; | |
| 513 | −extern AVInputFormat ff_image_psd_pipe_demuxer; | |
| 514 | −extern AVInputFormat ff_image_qdraw_pipe_demuxer; | |
| 515 | −extern AVInputFormat ff_image_sgi_pipe_demuxer; | |
| 516 | −extern AVInputFormat ff_image_svg_pipe_demuxer; | |
| 517 | −extern AVInputFormat ff_image_sunrast_pipe_demuxer; | |
| 518 | −extern AVInputFormat ff_image_tiff_pipe_demuxer; | |
| 519 | −extern AVInputFormat ff_image_webp_pipe_demuxer; | |
| 520 | −extern AVInputFormat ff_image_xbm_pipe_demuxer; | |
| 521 | −extern AVInputFormat ff_image_xpm_pipe_demuxer; | |
| 522 | −extern AVInputFormat ff_image_xwd_pipe_demuxer; | |
| 494 | +extern const AVInputFormat ff_image_bmp_pipe_demuxer; | |
| 495 | +extern const AVInputFormat ff_image_cri_pipe_demuxer; | |
| 496 | +extern const AVInputFormat ff_image_dds_pipe_demuxer; | |
| 497 | +extern const AVInputFormat ff_image_dpx_pipe_demuxer; | |
| 498 | +extern const AVInputFormat ff_image_exr_pipe_demuxer; | |
| 499 | +extern const AVInputFormat ff_image_gif_pipe_demuxer; | |
| 500 | +extern const AVInputFormat ff_image_j2k_pipe_demuxer; | |
| 501 | +extern const AVInputFormat ff_image_jpeg_pipe_demuxer; | |
| 502 | +extern const AVInputFormat ff_image_jpegls_pipe_demuxer; | |
| 503 | +extern const AVInputFormat ff_image_pam_pipe_demuxer; | |
| 504 | +extern const AVInputFormat ff_image_pbm_pipe_demuxer; | |
| 505 | +extern const AVInputFormat ff_image_pcx_pipe_demuxer; | |
| 506 | +extern const AVInputFormat ff_image_pgmyuv_pipe_demuxer; | |
| 507 | +extern const AVInputFormat ff_image_pgm_pipe_demuxer; | |
| 508 | +extern const AVInputFormat ff_image_pgx_pipe_demuxer; | |
| 509 | +extern const AVInputFormat ff_image_photocd_pipe_demuxer; | |
| 510 | +extern const AVInputFormat ff_image_pictor_pipe_demuxer; | |
| 511 | +extern const AVInputFormat ff_image_png_pipe_demuxer; | |
| 512 | +extern const AVInputFormat ff_image_ppm_pipe_demuxer; | |
| 513 | +extern const AVInputFormat ff_image_psd_pipe_demuxer; | |
| 514 | +extern const AVInputFormat ff_image_qdraw_pipe_demuxer; | |
| 515 | +extern const AVInputFormat ff_image_sgi_pipe_demuxer; | |
| 516 | +extern const AVInputFormat ff_image_svg_pipe_demuxer; | |
| 517 | +extern const AVInputFormat ff_image_sunrast_pipe_demuxer; | |
| 518 | +extern const AVInputFormat ff_image_tiff_pipe_demuxer; | |
| 519 | +extern const AVInputFormat ff_image_webp_pipe_demuxer; | |
| 520 | +extern const AVInputFormat ff_image_xbm_pipe_demuxer; | |
| 521 | +extern const AVInputFormat ff_image_xpm_pipe_demuxer; | |
| 522 | +extern const AVInputFormat ff_image_xwd_pipe_demuxer; | |
| 523 | 523 | |
| 524 | 524 | /* external libraries */ |
| 525 | −extern AVOutputFormat ff_chromaprint_muxer; | |
| 526 | −extern AVInputFormat ff_libgme_demuxer; | |
| 527 | −extern AVInputFormat ff_libmodplug_demuxer; | |
| 528 | −extern AVInputFormat ff_libopenmpt_demuxer; | |
| 529 | −extern AVInputFormat ff_vapoursynth_demuxer; | |
| 525 | +extern const AVOutputFormat ff_chromaprint_muxer; | |
| 526 | +extern const AVInputFormat ff_libgme_demuxer; | |
| 527 | +extern const AVInputFormat ff_libmodplug_demuxer; | |
| 528 | +extern const AVInputFormat ff_libopenmpt_demuxer; | |
| 529 | +extern const AVInputFormat ff_vapoursynth_demuxer; | |
| 530 | 530 | |
| 531 | 531 | #include "libavformat/muxer_list.c" |
| 532 | 532 | #include "libavformat/demuxer_list.c" |
| @@ -163,7 +163,7 @@ static int alp_seek(AVFormatContext *s, int stream_index, · 162 unmodified lines | ||
| 163 | 163 | return avio_seek(s->pb, hdr->header_size + 8, SEEK_SET); |
| 164 | 164 | } |
| 165 | 165 | |
| 166 | −AVInputFormat ff_alp_demuxer = { | |
| 166 | +const AVInputFormat ff_alp_demuxer = { | |
| 167 | 167 | .name = "alp", |
| 168 | 168 | .long_name = NULL_IF_CONFIG_SMALL("LEGO Racers ALP"), |
| 169 | 169 | .priv_data_size = sizeof(ALPHeader), |
| @@ -291,7 +291,7 @@ static const AVClass alp_muxer_class = { · 121 unmodified lines | ||
| 291 | 291 | .version = LIBAVUTIL_VERSION_INT |
| 292 | 292 | }; |
| 293 | 293 | |
| 294 | −AVOutputFormat ff_alp_muxer = { | |
| 294 | +const AVOutputFormat ff_alp_muxer = { | |
| 295 | 295 | .name = "alp", |
| 296 | 296 | .long_name = NULL_IF_CONFIG_SMALL("LEGO Racers ALP"), |
| 297 | 297 | .extensions = "tun,pcm", |
| @@ -159,7 +159,7 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt) · 158 unmodified lines | ||
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | #if CONFIG_AMR_DEMUXER |
| 162 | −AVInputFormat ff_amr_demuxer = { | |
| 162 | +const AVInputFormat ff_amr_demuxer = { | |
| 163 | 163 | .name = "amr", |
| 164 | 164 | .long_name = NULL_IF_CONFIG_SMALL("3GPP AMR"), |
| 165 | 165 | .priv_data_size = sizeof(AMRContext), |
| @@ -215,7 +215,7 @@ static int amrnb_read_header(AVFormatContext *s) · 49 unmodified lines | ||
| 215 | 215 | return 0; |
| 216 | 216 | } |
| 217 | 217 | |
| 218 | −AVInputFormat ff_amrnb_demuxer = { | |
| 218 | +const AVInputFormat ff_amrnb_demuxer = { | |
| 219 | 219 | .name = "amrnb", |
| 220 | 220 | .long_name = NULL_IF_CONFIG_SMALL("raw AMR-NB"), |
| 221 | 221 | .priv_data_size = sizeof(AMRContext), |
| @@ -271,7 +271,7 @@ static int amrwb_read_header(AVFormatContext *s) · 49 unmodified lines | ||
| 271 | 271 | return 0; |
| 272 | 272 | } |
| 273 | 273 | |
| 274 | −AVInputFormat ff_amrwb_demuxer = { | |
| 274 | +const AVInputFormat ff_amrwb_demuxer = { | |
| 275 | 275 | .name = "amrwb", |
| 276 | 276 | .long_name = NULL_IF_CONFIG_SMALL("raw AMR-WB"), |
| 277 | 277 | .priv_data_size = sizeof(AMRContext), |
| @@ -283,7 +283,7 @@ AVInputFormat ff_amrwb_demuxer = { · 5 unmodified lines | ||
| 283 | 283 | #endif |
| 284 | 284 | |
| 285 | 285 | #if CONFIG_AMR_MUXER |
| 286 | −AVOutputFormat ff_amr_muxer = { | |
| 286 | +const AVOutputFormat ff_amr_muxer = { | |
| 287 | 287 | .name = "amr", |
| 288 | 288 | .long_name = NULL_IF_CONFIG_SMALL("3GPP AMR"), |
| 289 | 289 | .mime_type = "audio/amr", |
| @@ -404,7 +404,7 @@ static int amv_write_trailer(AVFormatContext *s) · 403 unmodified lines | ||
| 404 | 404 | return 0; |
| 405 | 405 | } |
| 406 | 406 | |
| 407 | −AVOutputFormat ff_amv_muxer = { | |
| 407 | +const AVOutputFormat ff_amv_muxer = { | |
| 408 | 408 | .name = "amv", |
| 409 | 409 | .long_name = NULL_IF_CONFIG_SMALL("AMV"), |
| 410 | 410 | .mime_type = "video/amv", |
| @@ -214,7 +214,7 @@ repeat: · 213 unmodified lines | ||
| 214 | 214 | return 0; |
| 215 | 215 | } |
| 216 | 216 | |
| 217 | −AVInputFormat ff_anm_demuxer = { | |
| 217 | +const AVInputFormat ff_anm_demuxer = { | |
| 218 | 218 | .name = "anm", |
| 219 | 219 | .long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"), |
| 220 | 220 | .priv_data_size = sizeof(AnmDemuxContext), |
| @@ -83,7 +83,7 @@ static int apc_read_packet(AVFormatContext *s, AVPacket *pkt) · 82 unmodified lines | ||
| 83 | 83 | return 0; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | −AVInputFormat ff_apc_demuxer = { | |
| 86 | +const AVInputFormat ff_apc_demuxer = { | |
| 87 | 87 | .name = "apc", |
| 88 | 88 | .long_name = NULL_IF_CONFIG_SMALL("CRYO APC"), |
| 89 | 89 | .read_probe = apc_probe, |
| @@ -450,7 +450,7 @@ static int ape_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 449 unmodified lines | ||
| 450 | 450 | return 0; |
| 451 | 451 | } |
| 452 | 452 | |
| 453 | −AVInputFormat ff_ape_demuxer = { | |
| 453 | +const AVInputFormat ff_ape_demuxer = { | |
| 454 | 454 | .name = "ape", |
| 455 | 455 | .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"), |
| 456 | 456 | .priv_data_size = sizeof(APEContext), |
| @@ -201,7 +201,7 @@ static int apm_read_packet(AVFormatContext *s, AVPacket *pkt) · 200 unmodified lines | ||
| 201 | 201 | return 0; |
| 202 | 202 | } |
| 203 | 203 | |
| 204 | −AVInputFormat ff_apm_demuxer = { | |
| 204 | +const AVInputFormat ff_apm_demuxer = { | |
| 205 | 205 | .name = "apm", |
| 206 | 206 | .long_name = NULL_IF_CONFIG_SMALL("Ubisoft Rayman 2 APM"), |
| 207 | 207 | .read_probe = apm_probe, |
| @@ -303,7 +303,7 @@ static int apm_write_trailer(AVFormatContext *s) · 95 unmodified lines | ||
| 303 | 303 | return 0; |
| 304 | 304 | } |
| 305 | 305 | |
| 306 | −AVOutputFormat ff_apm_muxer = { | |
| 306 | +const AVOutputFormat ff_apm_muxer = { | |
| 307 | 307 | .name = "apm", |
| 308 | 308 | .long_name = NULL_IF_CONFIG_SMALL("Ubisoft Rayman 2 APM"), |
| 309 | 309 | .extensions = "apm", |
| @@ -421,7 +421,7 @@ static const AVClass demuxer_class = { · 420 unmodified lines | ||
| 421 | 421 | .category = AV_CLASS_CATEGORY_DEMUXER, |
| 422 | 422 | }; |
| 423 | 423 | |
| 424 | −AVInputFormat ff_apng_demuxer = { | |
| 424 | +const AVInputFormat ff_apng_demuxer = { | |
| 425 | 425 | .name = "apng", |
| 426 | 426 | .long_name = NULL_IF_CONFIG_SMALL("Animated Portable Network Graphics"), |
| 427 | 427 | .priv_data_size = sizeof(APNGDemuxContext), |
| @@ -294,7 +294,7 @@ static const AVClass apng_muxer_class = { · 293 unmodified lines | ||
| 294 | 294 | .option = options, |
| 295 | 295 | }; |
| 296 | 296 | |
| 297 | −AVOutputFormat ff_apng_muxer = { | |
| 297 | +const AVOutputFormat ff_apng_muxer = { | |
| 298 | 298 | .name = "apng", |
| 299 | 299 | .long_name = NULL_IF_CONFIG_SMALL("Animated Portable Network Graphics"), |
| 300 | 300 | .mime_type = "image/png", |
| @@ -95,7 +95,7 @@ static const AVClass aptx_demuxer_class = { · 94 unmodified lines | ||
| 95 | 95 | .version = LIBAVUTIL_VERSION_INT, |
| 96 | 96 | }; |
| 97 | 97 | |
| 98 | −AVInputFormat ff_aptx_demuxer = { | |
| 98 | +const AVInputFormat ff_aptx_demuxer = { | |
| 99 | 99 | .name = "aptx", |
| 100 | 100 | .long_name = NULL_IF_CONFIG_SMALL("raw aptX"), |
| 101 | 101 | .extensions = "aptx", |
| @@ -115,7 +115,7 @@ static const AVClass aptx_hd_demuxer_class = { · 13 unmodified lines | ||
| 115 | 115 | .version = LIBAVUTIL_VERSION_INT, |
| 116 | 116 | }; |
| 117 | 117 | |
| 118 | −AVInputFormat ff_aptx_hd_demuxer = { | |
| 118 | +const AVInputFormat ff_aptx_hd_demuxer = { | |
| 119 | 119 | .name = "aptx_hd", |
| 120 | 120 | .long_name = NULL_IF_CONFIG_SMALL("raw aptX HD"), |
| 121 | 121 | .extensions = "aptxhd", |
| @@ -137,7 +137,7 @@ static const AVClass aqt_class = { · 136 unmodified lines | ||
| 137 | 137 | .version = LIBAVUTIL_VERSION_INT, |
| 138 | 138 | }; |
| 139 | 139 | |
| 140 | −AVInputFormat ff_aqtitle_demuxer = { | |
| 140 | +const AVInputFormat ff_aqtitle_demuxer = { | |
| 141 | 141 | .name = "aqtitle", |
| 142 | 142 | .long_name = NULL_IF_CONFIG_SMALL("AQTitle subtitles"), |
| 143 | 143 | .priv_data_size = sizeof(AQTitleContext), |
| @@ -271,7 +271,7 @@ static int argo_asf_seek(AVFormatContext *s, int stream_index, · 270 unmodified lines | ||
| 271 | 271 | * - Argonaut Sound File? |
| 272 | 272 | * - Audio Stream File? |
| 273 | 273 | */ |
| 274 | −AVInputFormat ff_argo_asf_demuxer = { | |
| 274 | +const AVInputFormat ff_argo_asf_demuxer = { | |
| 275 | 275 | .name = "argo_asf", |
| 276 | 276 | .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games ASF"), |
| 277 | 277 | .priv_data_size = sizeof(ArgoASFDemuxContext), |
| @@ -468,7 +468,7 @@ static const AVClass argo_asf_muxer_class = { · 190 unmodified lines | ||
| 468 | 468 | .version = LIBAVUTIL_VERSION_INT |
| 469 | 469 | }; |
| 470 | 470 | |
| 471 | −AVOutputFormat ff_argo_asf_muxer = { | |
| 471 | +const AVOutputFormat ff_argo_asf_muxer = { | |
| 472 | 472 | .name = "argo_asf", |
| 473 | 473 | .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games ASF"), |
| 474 | 474 | /* |
| @@ -413,7 +413,7 @@ static int argo_brp_read_packet(AVFormatContext *s, AVPacket *pkt) · 412 unmodified lines | ||
| 413 | 413 | return 0; |
| 414 | 414 | } |
| 415 | 415 | |
| 416 | −AVInputFormat ff_argo_brp_demuxer = { | |
| 416 | +const AVInputFormat ff_argo_brp_demuxer = { | |
| 417 | 417 | .name = "argo_brp", |
| 418 | 418 | .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games BRP"), |
| 419 | 419 | .priv_data_size = sizeof(ArgoBRPDemuxContext), |
| @@ -1606,7 +1606,7 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, · 1605 unmodified lines | ||
| 1606 | 1606 | return 0; |
| 1607 | 1607 | } |
| 1608 | 1608 | |
| 1609 | −AVInputFormat ff_asf_demuxer = { | |
| 1609 | +const AVInputFormat ff_asf_demuxer = { | |
| 1610 | 1610 | .name = "asf", |
| 1611 | 1611 | .long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"), |
| 1612 | 1612 | .priv_data_size = sizeof(ASFContext), |
| @@ -1662,7 +1662,7 @@ failed: · 1661 unmodified lines | ||
| 1662 | 1662 | return ret; |
| 1663 | 1663 | } |
| 1664 | 1664 | |
| 1665 | −AVInputFormat ff_asf_o_demuxer = { | |
| 1665 | +const AVInputFormat ff_asf_o_demuxer = { | |
| 1666 | 1666 | .name = "asf_o", |
| 1667 | 1667 | .long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"), |
| 1668 | 1668 | .priv_data_size = sizeof(ASFContext), |
| @@ -1162,7 +1162,7 @@ static const AVClass asf_muxer_class = { · 1161 unmodified lines | ||
| 1162 | 1162 | .version = LIBAVUTIL_VERSION_INT, |
| 1163 | 1163 | }; |
| 1164 | 1164 | |
| 1165 | −AVOutputFormat ff_asf_muxer = { | |
| 1165 | +const AVOutputFormat ff_asf_muxer = { | |
| 1166 | 1166 | .name = "asf", |
| 1167 | 1167 | .long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"), |
| 1168 | 1168 | .mime_type = "video/x-ms-asf", |
| @@ -1187,7 +1187,7 @@ static const AVClass asf_stream_muxer_class = { · 18 unmodified lines | ||
| 1187 | 1187 | .version = LIBAVUTIL_VERSION_INT, |
| 1188 | 1188 | }; |
| 1189 | 1189 | |
| 1190 | −AVOutputFormat ff_asf_stream_muxer = { | |
| 1190 | +const AVOutputFormat ff_asf_stream_muxer = { | |
| 1191 | 1191 | .name = "asf_stream", |
| 1192 | 1192 | .long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"), |
| 1193 | 1193 | .mime_type = "video/x-ms-asf", |
| @@ -182,7 +182,7 @@ static int ass_read_seek(AVFormatContext *s, int stream_index, · 181 unmodified lines | ||
| 182 | 182 | min_ts, ts, max_ts, flags); |
| 183 | 183 | } |
| 184 | 184 | |
| 185 | −AVInputFormat ff_ass_demuxer = { | |
| 185 | +const AVInputFormat ff_ass_demuxer = { | |
| 186 | 186 | .name = "ass", |
| 187 | 187 | .long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"), |
| 188 | 188 | .priv_data_size = sizeof(ASSContext), |
| @@ -226,7 +226,7 @@ static const AVClass ass_class = { · 225 unmodified lines | ||
| 226 | 226 | .version = LIBAVUTIL_VERSION_INT, |
| 227 | 227 | }; |
| 228 | 228 | |
| 229 | −AVOutputFormat ff_ass_muxer = { | |
| 229 | +const AVOutputFormat ff_ass_muxer = { | |
| 230 | 230 | .name = "ass", |
| 231 | 231 | .long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"), |
| 232 | 232 | .mime_type = "text/x-ass", |
| @@ -110,7 +110,7 @@ static int ast_read_packet(AVFormatContext *s, AVPacket *pkt) · 109 unmodified lines | ||
| 110 | 110 | return ret; |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | −AVInputFormat ff_ast_demuxer = { | |
| 113 | +const AVInputFormat ff_ast_demuxer = { | |
| 114 | 114 | .name = "ast", |
| 115 | 115 | .long_name = NULL_IF_CONFIG_SMALL("AST (Audio Stream)"), |
| 116 | 116 | .read_probe = ast_probe, |
| @@ -196,7 +196,7 @@ static const AVClass ast_muxer_class = { · 195 unmodified lines | ||
| 196 | 196 | .version = LIBAVUTIL_VERSION_INT, |
| 197 | 197 | }; |
| 198 | 198 | |
| 199 | −AVOutputFormat ff_ast_muxer = { | |
| 199 | +const AVOutputFormat ff_ast_muxer = { | |
| 200 | 200 | .name = "ast", |
| 201 | 201 | .long_name = NULL_IF_CONFIG_SMALL("AST (Audio Stream)"), |
| 202 | 202 | .extensions = "ast", |
| @@ -226,7 +226,7 @@ static int au_read_header(AVFormatContext *s) · 225 unmodified lines | ||
| 226 | 226 | return 0; |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | −AVInputFormat ff_au_demuxer = { | |
| 229 | +const AVInputFormat ff_au_demuxer = { | |
| 230 | 230 | .name = "au", |
| 231 | 231 | .long_name = NULL_IF_CONFIG_SMALL("Sun AU"), |
| 232 | 232 | .read_probe = au_probe, |
| @@ -328,7 +328,7 @@ static int au_write_trailer(AVFormatContext *s) · 95 unmodified lines | ||
| 328 | 328 | return 0; |
| 329 | 329 | } |
| 330 | 330 | |
| 331 | −AVOutputFormat ff_au_muxer = { | |
| 331 | +const AVOutputFormat ff_au_muxer = { | |
| 332 | 332 | .name = "au", |
| 333 | 333 | .long_name = NULL_IF_CONFIG_SMALL("Sun AU"), |
| 334 | 334 | .mime_type = "audio/basic", |
| @@ -281,7 +281,7 @@ static const AVClass annexb_demuxer_class = { · 280 unmodified lines | ||
| 281 | 281 | .version = LIBAVUTIL_VERSION_INT, |
| 282 | 282 | }; |
| 283 | 283 | |
| 284 | −AVInputFormat ff_av1_demuxer = { | |
| 284 | +const AVInputFormat ff_av1_demuxer = { | |
| 285 | 285 | .name = "av1", |
| 286 | 286 | .long_name = NULL_IF_CONFIG_SMALL("AV1 Annex B"), |
| 287 | 287 | .priv_data_size = sizeof(AnnexBContext), |
| @@ -468,7 +468,7 @@ static const AVClass obu_demuxer_class = { · 180 unmodified lines | ||
| 468 | 468 | .version = LIBAVUTIL_VERSION_INT, |
| 469 | 469 | }; |
| 470 | 470 | |
| 471 | −AVInputFormat ff_obu_demuxer = { | |
| 471 | +const AVInputFormat ff_obu_demuxer = { | |
| 472 | 472 | .name = "obu", |
| 473 | 473 | .long_name = NULL_IF_CONFIG_SMALL("AV1 low overhead OBU"), |
| 474 | 474 | .priv_data_size = sizeof(ObuContext), |
| @@ -1969,7 +1969,7 @@ static int avi_probe(const AVProbeData *p) · 1968 unmodified lines | ||
| 1969 | 1969 | return 0; |
| 1970 | 1970 | } |
| 1971 | 1971 | |
| 1972 | −AVInputFormat ff_avi_demuxer = { | |
| 1972 | +const AVInputFormat ff_avi_demuxer = { | |
| 1973 | 1973 | .name = "avi", |
| 1974 | 1974 | .long_name = NULL_IF_CONFIG_SMALL("AVI (Audio Video Interleaved)"), |
| 1975 | 1975 | .priv_data_size = sizeof(AVIContext), |
| @@ -1011,7 +1011,7 @@ static const AVClass avi_muxer_class = { · 1010 unmodified lines | ||
| 1011 | 1011 | .version = LIBAVUTIL_VERSION_INT, |
| 1012 | 1012 | }; |
| 1013 | 1013 | |
| 1014 | −AVOutputFormat ff_avi_muxer = { | |
| 1014 | +const AVOutputFormat ff_avi_muxer = { | |
| 1015 | 1015 | .name = "avi", |
| 1016 | 1016 | .long_name = NULL_IF_CONFIG_SMALL("AVI (Audio Video Interleaved)"), |
| 1017 | 1017 | .mime_type = "video/x-msvideo", |
| @@ -878,7 +878,7 @@ static int avisynth_read_seek(AVFormatContext *s, int stream_index, · 877 unmodified lines | ||
| 878 | 878 | return 0; |
| 879 | 879 | } |
| 880 | 880 | |
| 881 | −AVInputFormat ff_avisynth_demuxer = { | |
| 881 | +const AVInputFormat ff_avisynth_demuxer = { | |
| 882 | 882 | .name = "avisynth", |
| 883 | 883 | .long_name = NULL_IF_CONFIG_SMALL("AviSynth script"), |
| 884 | 884 | .priv_data_size = sizeof(AviSynthContext), |
| @@ -87,7 +87,7 @@ static int avr_read_header(AVFormatContext *s) · 86 unmodified lines | ||
| 87 | 87 | return 0; |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | −AVInputFormat ff_avr_demuxer = { | |
| 90 | +const AVInputFormat ff_avr_demuxer = { | |
| 91 | 91 | .name = "avr", |
| 92 | 92 | .long_name = NULL_IF_CONFIG_SMALL("AVR (Audio Visual Research)"), |
| 93 | 93 | .read_probe = avr_probe, |
| @@ -224,7 +224,7 @@ static int avs_read_packet(AVFormatContext * s, AVPacket * pkt) · 223 unmodified lines | ||
| 224 | 224 | } |
| 225 | 225 | } |
| 226 | 226 | |
| 227 | −AVInputFormat ff_avs_demuxer = { | |
| 227 | +const AVInputFormat ff_avs_demuxer = { | |
| 228 | 228 | .name = "avs", |
| 229 | 229 | .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games Creature Shock"), |
| 230 | 230 | .priv_data_size = sizeof(AvsFormat), |
| @@ -291,7 +291,7 @@ static int vid_read_packet(AVFormatContext *s, · 290 unmodified lines | ||
| 291 | 291 | } |
| 292 | 292 | } |
| 293 | 293 | |
| 294 | −AVInputFormat ff_bethsoftvid_demuxer = { | |
| 294 | +const AVInputFormat ff_bethsoftvid_demuxer = { | |
| 295 | 295 | .name = "bethsoftvid", |
| 296 | 296 | .long_name = NULL_IF_CONFIG_SMALL("Bethesda Softworks VID"), |
| 297 | 297 | .priv_data_size = sizeof(BVID_DemuxContext), |
| @@ -174,7 +174,7 @@ static int bfi_read_packet(AVFormatContext * s, AVPacket * pkt) · 173 unmodified lines | ||
| 174 | 174 | return ret; |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | −AVInputFormat ff_bfi_demuxer = { | |
| 177 | +const AVInputFormat ff_bfi_demuxer = { | |
| 178 | 178 | .name = "bfi", |
| 179 | 179 | .long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"), |
| 180 | 180 | .priv_data_size = sizeof(BFIContext), |
| @@ -323,7 +323,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in · 322 unmodified lines | ||
| 323 | 323 | return 0; |
| 324 | 324 | } |
| 325 | 325 | |
| 326 | −AVInputFormat ff_bink_demuxer = { | |
| 326 | +const AVInputFormat ff_bink_demuxer = { | |
| 327 | 327 | .name = "bink", |
| 328 | 328 | .long_name = NULL_IF_CONFIG_SMALL("Bink"), |
| 329 | 329 | .priv_data_size = sizeof(BinkDemuxContext), |
| @@ -89,7 +89,7 @@ static int binka_read_packet(AVFormatContext *s, AVPacket *pkt) · 88 unmodified lines | ||
| 89 | 89 | return 0; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | −AVInputFormat ff_binka_demuxer = { | |
| 92 | +const AVInputFormat ff_binka_demuxer = { | |
| 93 | 93 | .name = "binka", |
| 94 | 94 | .long_name = NULL_IF_CONFIG_SMALL("Bink Audio"), |
| 95 | 95 | .read_probe = binka_probe, |
| @@ -394,7 +394,7 @@ static const AVOption options[] = { · 393 unmodified lines | ||
| 394 | 394 | }} |
| 395 | 395 | |
| 396 | 396 | #if CONFIG_BINTEXT_DEMUXER |
| 397 | −AVInputFormat ff_bintext_demuxer = { | |
| 397 | +const AVInputFormat ff_bintext_demuxer = { | |
| 398 | 398 | .name = "bin", |
| 399 | 399 | .long_name = NULL_IF_CONFIG_SMALL("Binary text"), |
| 400 | 400 | .priv_data_size = sizeof(BinDemuxContext), |
| @@ -406,7 +406,7 @@ AVInputFormat ff_bintext_demuxer = { · 5 unmodified lines | ||
| 406 | 406 | #endif |
| 407 | 407 | |
| 408 | 408 | #if CONFIG_XBIN_DEMUXER |
| 409 | −AVInputFormat ff_xbin_demuxer = { | |
| 409 | +const AVInputFormat ff_xbin_demuxer = { | |
| 410 | 410 | .name = "xbin", |
| 411 | 411 | .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text (XBIN)"), |
| 412 | 412 | .priv_data_size = sizeof(BinDemuxContext), |
| @@ -418,7 +418,7 @@ AVInputFormat ff_xbin_demuxer = { · 5 unmodified lines | ||
| 418 | 418 | #endif |
| 419 | 419 | |
| 420 | 420 | #if CONFIG_ADF_DEMUXER |
| 421 | −AVInputFormat ff_adf_demuxer = { | |
| 421 | +const AVInputFormat ff_adf_demuxer = { | |
| 422 | 422 | .name = "adf", |
| 423 | 423 | .long_name = NULL_IF_CONFIG_SMALL("Artworx Data Format"), |
| 424 | 424 | .priv_data_size = sizeof(BinDemuxContext), |
| @@ -430,7 +430,7 @@ AVInputFormat ff_adf_demuxer = { · 5 unmodified lines | ||
| 430 | 430 | #endif |
| 431 | 431 | |
| 432 | 432 | #if CONFIG_IDF_DEMUXER |
| 433 | −AVInputFormat ff_idf_demuxer = { | |
| 433 | +const AVInputFormat ff_idf_demuxer = { | |
| 434 | 434 | .name = "idf", |
| 435 | 435 | .long_name = NULL_IF_CONFIG_SMALL("iCE Draw File"), |
| 436 | 436 | .priv_data_size = sizeof(BinDemuxContext), |
| @@ -109,7 +109,7 @@ static int read_packet(AVFormatContext *s, · 108 unmodified lines | ||
| 109 | 109 | return 0; |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | −AVInputFormat ff_bit_demuxer = { | |
| 112 | +const AVInputFormat ff_bit_demuxer = { | |
| 113 | 113 | .name = "bit", |
| 114 | 114 | .long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"), |
| 115 | 115 | .read_probe = probe, |
| @@ -155,7 +155,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) · 39 unmodified lines | ||
| 155 | 155 | return 0; |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | −AVOutputFormat ff_bit_muxer = { | |
| 158 | +const AVOutputFormat ff_bit_muxer = { | |
| 159 | 159 | .name = "bit", |
| 160 | 160 | .long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"), |
| 161 | 161 | .mime_type = "audio/bit", |
| @@ -125,7 +125,7 @@ static int bmv_read_close(AVFormatContext *s) · 124 unmodified lines | ||
| 125 | 125 | return 0; |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | −AVInputFormat ff_bmv_demuxer = { | |
| 128 | +const AVInputFormat ff_bmv_demuxer = { | |
| 129 | 129 | .name = "bmv", |
| 130 | 130 | .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV"), |
| 131 | 131 | .priv_data_size = sizeof(BMVContext), |
| @@ -75,7 +75,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 74 unmodified lines | ||
| 75 | 75 | return av_get_packet(s->pb, pkt, st->codecpar->block_align); |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | −AVInputFormat ff_boa_demuxer = { | |
| 78 | +const AVInputFormat ff_boa_demuxer = { | |
| 79 | 79 | .name = "boa", |
| 80 | 80 | .long_name = NULL_IF_CONFIG_SMALL("Black Ops Audio"), |
| 81 | 81 | .read_probe = probe, |
| @@ -481,7 +481,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 480 unmodified lines | ||
| 481 | 481 | return 0; |
| 482 | 482 | } |
| 483 | 483 | |
| 484 | −AVInputFormat ff_brstm_demuxer = { | |
| 484 | +const AVInputFormat ff_brstm_demuxer = { | |
| 485 | 485 | .name = "brstm", |
| 486 | 486 | .long_name = NULL_IF_CONFIG_SMALL("BRSTM (Binary Revolution Stream)"), |
| 487 | 487 | .priv_data_size = sizeof(BRSTMDemuxContext), |
| @@ -493,7 +493,7 @@ AVInputFormat ff_brstm_demuxer = { · 5 unmodified lines | ||
| 493 | 493 | .extensions = "brstm", |
| 494 | 494 | }; |
| 495 | 495 | |
| 496 | −AVInputFormat ff_bfstm_demuxer = { | |
| 496 | +const AVInputFormat ff_bfstm_demuxer = { | |
| 497 | 497 | .name = "bfstm", |
| 498 | 498 | .long_name = NULL_IF_CONFIG_SMALL("BFSTM (Binary Cafe Stream)"), |
| 499 | 499 | .priv_data_size = sizeof(BRSTMDemuxContext), |
| @@ -185,7 +185,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 184 unmodified lines | ||
| 185 | 185 | return 0; |
| 186 | 186 | } |
| 187 | 187 | |
| 188 | −AVInputFormat ff_c93_demuxer = { | |
| 188 | +const AVInputFormat ff_c93_demuxer = { | |
| 189 | 189 | .name = "c93", |
| 190 | 190 | .long_name = NULL_IF_CONFIG_SMALL("Interplay C93"), |
| 191 | 191 | .priv_data_size = sizeof(C93DemuxContext), |
| @@ -457,7 +457,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 456 unmodified lines | ||
| 457 | 457 | return 0; |
| 458 | 458 | } |
| 459 | 459 | |
| 460 | −AVInputFormat ff_caf_demuxer = { | |
| 460 | +const AVInputFormat ff_caf_demuxer = { | |
| 461 | 461 | .name = "caf", |
| 462 | 462 | .long_name = NULL_IF_CONFIG_SMALL("Apple CAF (Core Audio Format)"), |
| 463 | 463 | .priv_data_size = sizeof(CafContext), |
| @@ -263,7 +263,7 @@ static int caf_write_trailer(AVFormatContext *s) · 262 unmodified lines | ||
| 263 | 263 | return 0; |
| 264 | 264 | } |
| 265 | 265 | |
| 266 | −AVOutputFormat ff_caf_muxer = { | |
| 266 | +const AVOutputFormat ff_caf_muxer = { | |
| 267 | 267 | .name = "caf", |
| 268 | 268 | .long_name = NULL_IF_CONFIG_SMALL("Apple CAF (Core Audio Format)"), |
| 269 | 269 | .mime_type = "audio/x-caf", |
| @@ -67,7 +67,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 66 unmodified lines | ||
| 67 | 67 | return ret; |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | −AVInputFormat ff_cdg_demuxer = { | |
| 70 | +const AVInputFormat ff_cdg_demuxer = { | |
| 71 | 71 | .name = "cdg", |
| 72 | 72 | .long_name = NULL_IF_CONFIG_SMALL("CD Graphics"), |
| 73 | 73 | .read_header = read_header, |
| @@ -258,7 +258,7 @@ static const AVClass cdxl_demuxer_class = { · 257 unmodified lines | ||
| 258 | 258 | .version = LIBAVUTIL_VERSION_INT, |
| 259 | 259 | }; |
| 260 | 260 | |
| 261 | −AVInputFormat ff_cdxl_demuxer = { | |
| 261 | +const AVInputFormat ff_cdxl_demuxer = { | |
| 262 | 262 | .name = "cdxl", |
| 263 | 263 | .long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"), |
| 264 | 264 | .priv_data_size = sizeof(CDXLDemuxContext), |
| @@ -179,7 +179,7 @@ static const AVClass chromaprint_class = { · 178 unmodified lines | ||
| 179 | 179 | .version = LIBAVUTIL_VERSION_INT, |
| 180 | 180 | }; |
| 181 | 181 | |
| 182 | −AVOutputFormat ff_chromaprint_muxer = { | |
| 182 | +const AVOutputFormat ff_chromaprint_muxer = { | |
| 183 | 183 | .name = "chromaprint", |
| 184 | 184 | .long_name = NULL_IF_CONFIG_SMALL("Chromaprint"), |
| 185 | 185 | .priv_data_size = sizeof(ChromaprintMuxContext), |
| @@ -322,7 +322,7 @@ static int cine_read_seek(AVFormatContext *avctx, int stream_index, int64_t time · 321 unmodified lines | ||
| 322 | 322 | return 0; |
| 323 | 323 | } |
| 324 | 324 | |
| 325 | −AVInputFormat ff_cine_demuxer = { | |
| 325 | +const AVInputFormat ff_cine_demuxer = { | |
| 326 | 326 | .name = "cine", |
| 327 | 327 | .long_name = NULL_IF_CONFIG_SMALL("Phantom Cine"), |
| 328 | 328 | .priv_data_size = sizeof(CineDemuxContext), |
| @@ -300,7 +300,7 @@ static const AVClass codec2raw_demux_class = { · 299 unmodified lines | ||
| 300 | 300 | }; |
| 301 | 301 | |
| 302 | 302 | #if CONFIG_CODEC2_DEMUXER |
| 303 | −AVInputFormat ff_codec2_demuxer = { | |
| 303 | +const AVInputFormat ff_codec2_demuxer = { | |
| 304 | 304 | .name = "codec2", |
| 305 | 305 | .long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 demuxer"), |
| 306 | 306 | .priv_data_size = sizeof(Codec2Context), |
| @@ -316,7 +316,7 @@ AVInputFormat ff_codec2_demuxer = { · 9 unmodified lines | ||
| 316 | 316 | #endif |
| 317 | 317 | |
| 318 | 318 | #if CONFIG_CODEC2_MUXER |
| 319 | −AVOutputFormat ff_codec2_muxer = { | |
| 319 | +const AVOutputFormat ff_codec2_muxer = { | |
| 320 | 320 | .name = "codec2", |
| 321 | 321 | .long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 muxer"), |
| 322 | 322 | .priv_data_size = sizeof(Codec2Context), |
| @@ -331,7 +331,7 @@ AVOutputFormat ff_codec2_muxer = { · 8 unmodified lines | ||
| 331 | 331 | #endif |
| 332 | 332 | |
| 333 | 333 | #if CONFIG_CODEC2RAW_DEMUXER |
| 334 | −AVInputFormat ff_codec2raw_demuxer = { | |
| 334 | +const AVInputFormat ff_codec2raw_demuxer = { | |
| 335 | 335 | .name = "codec2raw", |
| 336 | 336 | .long_name = NULL_IF_CONFIG_SMALL("raw codec2 demuxer"), |
| 337 | 337 | .priv_data_size = sizeof(Codec2Context), |
| @@ -775,7 +775,7 @@ static const AVClass concat_class = { · 774 unmodified lines | ||
| 775 | 775 | }; |
| 776 | 776 | |
| 777 | 777 | |
| 778 | −AVInputFormat ff_concat_demuxer = { | |
| 778 | +const AVInputFormat ff_concat_demuxer = { | |
| 779 | 779 | .name = "concat", |
| 780 | 780 | .long_name = NULL_IF_CONFIG_SMALL("Virtual concatenation script"), |
| 781 | 781 | .priv_data_size = sizeof(ConcatContext), |
| @@ -56,7 +56,7 @@ static int crc_write_trailer(struct AVFormatContext *s) · 55 unmodified lines | ||
| 56 | 56 | return 0; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | −AVOutputFormat ff_crc_muxer = { | |
| 59 | +const AVOutputFormat ff_crc_muxer = { | |
| 60 | 60 | .name = "crc", |
| 61 | 61 | .long_name = NULL_IF_CONFIG_SMALL("CRC testing"), |
| 62 | 62 | .priv_data_size = sizeof(CRCState), |
| @@ -2397,7 +2397,7 @@ static const AVClass dash_class = { · 2396 unmodified lines | ||
| 2397 | 2397 | .version = LIBAVUTIL_VERSION_INT, |
| 2398 | 2398 | }; |
| 2399 | 2399 | |
| 2400 | −AVInputFormat ff_dash_demuxer = { | |
| 2400 | +const AVInputFormat ff_dash_demuxer = { | |
| 2401 | 2401 | .name = "dash", |
| 2402 | 2402 | .long_name = NULL_IF_CONFIG_SMALL("Dynamic Adaptive Streaming over HTTP"), |
| 2403 | 2403 | .priv_class = &dash_class, |
| @@ -2383,7 +2383,7 @@ static const AVClass dash_class = { · 2382 unmodified lines | ||
| 2383 | 2383 | .version = LIBAVUTIL_VERSION_INT, |
| 2384 | 2384 | }; |
| 2385 | 2385 | |
| 2386 | −AVOutputFormat ff_dash_muxer = { | |
| 2386 | +const AVOutputFormat ff_dash_muxer = { | |
| 2387 | 2387 | .name = "dash", |
| 2388 | 2388 | .long_name = NULL_IF_CONFIG_SMALL("DASH Muxer"), |
| 2389 | 2389 | .extensions = "mpd", |
| @@ -50,7 +50,7 @@ static int daud_packet(AVFormatContext *s, AVPacket *pkt) { · 49 unmodified lines | ||
| 50 | 50 | return ret; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | −AVInputFormat ff_daud_demuxer = { | |
| 53 | +const AVInputFormat ff_daud_demuxer = { | |
| 54 | 54 | .name = "daud", |
| 55 | 55 | .long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio"), |
| 56 | 56 | .read_header = daud_header, |
| @@ -42,7 +42,7 @@ static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt) · 41 unmodified lines | ||
| 42 | 42 | return 0; |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | −AVOutputFormat ff_daud_muxer = { | |
| 45 | +const AVOutputFormat ff_daud_muxer = { | |
| 46 | 46 | .name = "daud", |
| 47 | 47 | .long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio"), |
| 48 | 48 | .extensions = "302", |
| @@ -78,7 +78,7 @@ static int dcstr_read_packet(AVFormatContext *s, AVPacket *pkt) · 77 unmodified lines | ||
| 78 | 78 | return av_get_packet(s->pb, pkt, par->block_align); |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | −AVInputFormat ff_dcstr_demuxer = { | |
| 81 | +const AVInputFormat ff_dcstr_demuxer = { | |
| 82 | 82 | .name = "dcstr", |
| 83 | 83 | .long_name = NULL_IF_CONFIG_SMALL("Sega DC STR"), |
| 84 | 84 | .read_probe = dcstr_probe, |
| @@ -68,7 +68,7 @@ static int derf_read_header(AVFormatContext *s) · 67 unmodified lines | ||
| 68 | 68 | return 0; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | −AVInputFormat ff_derf_demuxer = { | |
| 71 | +const AVInputFormat ff_derf_demuxer = { | |
| 72 | 72 | .name = "derf", |
| 73 | 73 | .long_name = NULL_IF_CONFIG_SMALL("Xilam DERF"), |
| 74 | 74 | .read_probe = derf_probe, |
| @@ -120,7 +120,7 @@ static int dfa_read_packet(AVFormatContext *s, AVPacket *pkt) · 119 unmodified lines | ||
| 120 | 120 | return 0; |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | −AVInputFormat ff_dfa_demuxer = { | |
| 123 | +const AVInputFormat ff_dfa_demuxer = { | |
| 124 | 124 | .name = "dfa", |
| 125 | 125 | .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"), |
| 126 | 126 | .read_probe = dfa_probe, |
| @@ -451,7 +451,7 @@ static int dhav_read_seek(AVFormatContext *s, int stream_index, · 450 unmodified lines | ||
| 451 | 451 | return 0; |
| 452 | 452 | } |
| 453 | 453 | |
| 454 | −AVInputFormat ff_dhav_demuxer = { | |
| 454 | +const AVInputFormat ff_dhav_demuxer = { | |
| 455 | 455 | .name = "dhav", |
| 456 | 456 | .long_name = NULL_IF_CONFIG_SMALL("Video DAV"), |
| 457 | 457 | .priv_data_size = sizeof(DHAVContext), |
| @@ -199,7 +199,7 @@ static int dsf_read_packet(AVFormatContext *s, AVPacket *pkt) · 198 unmodified lines | ||
| 199 | 199 | return 0; |
| 200 | 200 | } |
| 201 | 201 | |
| 202 | −AVInputFormat ff_dsf_demuxer = { | |
| 202 | +const AVInputFormat ff_dsf_demuxer = { | |
| 203 | 203 | .name = "dsf", |
| 204 | 204 | .long_name = NULL_IF_CONFIG_SMALL("DSD Stream File (DSF)"), |
| 205 | 205 | .priv_data_size = sizeof(DSFContext), |
| @@ -223,7 +223,7 @@ static int cin_read_packet(AVFormatContext *s, AVPacket *pkt) · 222 unmodified lines | ||
| 223 | 223 | return 0; |
| 224 | 224 | } |
| 225 | 225 | |
| 226 | −AVInputFormat ff_dsicin_demuxer = { | |
| 226 | +const AVInputFormat ff_dsicin_demuxer = { | |
| 227 | 227 | .name = "dsicin", |
| 228 | 228 | .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN"), |
| 229 | 229 | .priv_data_size = sizeof(CinDemuxContext), |
| @@ -354,7 +354,7 @@ static int dss_read_seek(AVFormatContext *s, int stream_index, · 353 unmodified lines | ||
| 354 | 354 | } |
| 355 | 355 | |
| 356 | 356 | |
| 357 | −AVInputFormat ff_dss_demuxer = { | |
| 357 | +const AVInputFormat ff_dss_demuxer = { | |
| 358 | 358 | .name = "dss", |
| 359 | 359 | .long_name = NULL_IF_CONFIG_SMALL("Digital Speech Standard (DSS)"), |
| 360 | 360 | .priv_data_size = sizeof(DSSDemuxContext), |
| @@ -133,7 +133,7 @@ static int dts_probe(const AVProbeData *p) · 132 unmodified lines | ||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | FF_RAW_DEMUXER_CLASS(dts) |
| 136 | −AVInputFormat ff_dts_demuxer = { | |
| 136 | +const AVInputFormat ff_dts_demuxer = { | |
| 137 | 137 | .name = "dts", |
| 138 | 138 | .long_name = NULL_IF_CONFIG_SMALL("raw DTS"), |
| 139 | 139 | .read_probe = dts_probe, |
| @@ -159,7 +159,7 @@ static int raw_read_packet(AVFormatContext *s, AVPacket *pkt) · 158 unmodified lines | ||
| 159 | 159 | return ret; |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | −AVInputFormat ff_dtshd_demuxer = { | |
| 162 | +const AVInputFormat ff_dtshd_demuxer = { | |
| 163 | 163 | .name = "dtshd", |
| 164 | 164 | .long_name = NULL_IF_CONFIG_SMALL("raw DTS-HD"), |
| 165 | 165 | .priv_data_size = sizeof(DTSHDDemuxContext), |
| @@ -614,7 +614,7 @@ static int dv_probe(const AVProbeData *p) · 613 unmodified lines | ||
| 614 | 614 | return 0; |
| 615 | 615 | } |
| 616 | 616 | |
| 617 | −AVInputFormat ff_dv_demuxer = { | |
| 617 | +const AVInputFormat ff_dv_demuxer = { | |
| 618 | 618 | .name = "dv", |
| 619 | 619 | .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), |
| 620 | 620 | .priv_data_size = sizeof(RawDVContext), |
| @@ -436,7 +436,7 @@ static void dv_deinit(AVFormatContext *s) · 435 unmodified lines | ||
| 436 | 436 | av_fifo_freep(&c->audio_data[i]); |
| 437 | 437 | } |
| 438 | 438 | |
| 439 | −AVOutputFormat ff_dv_muxer = { | |
| 439 | +const AVOutputFormat ff_dv_muxer = { | |
| 440 | 440 | .name = "dv", |
| 441 | 441 | .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), |
| 442 | 442 | .extensions = "dv", |
| @@ -226,7 +226,7 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt) · 225 unmodified lines | ||
| 226 | 226 | return AVERROR_EOF; |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | −AVInputFormat ff_dxa_demuxer = { | |
| 229 | +const AVInputFormat ff_dxa_demuxer = { | |
| 230 | 230 | .name = "dxa", |
| 231 | 231 | .long_name = NULL_IF_CONFIG_SMALL("DXA"), |
| 232 | 232 | .priv_data_size = sizeof(DXAContext), |
| @@ -94,7 +94,7 @@ static int cdata_read_packet(AVFormatContext *s, AVPacket *pkt) · 93 unmodified lines | ||
| 94 | 94 | return 0; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | −AVInputFormat ff_ea_cdata_demuxer = { | |
| 97 | +const AVInputFormat ff_ea_cdata_demuxer = { | |
| 98 | 98 | .name = "ea_cdata", |
| 99 | 99 | .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts cdata"), |
| 100 | 100 | .priv_data_size = sizeof(CdataDemuxContext), |
| @@ -752,7 +752,7 @@ get_video_packet: · 751 unmodified lines | ||
| 752 | 752 | return ret; |
| 753 | 753 | } |
| 754 | 754 | |
| 755 | −AVInputFormat ff_ea_demuxer = { | |
| 755 | +const AVInputFormat ff_ea_demuxer = { | |
| 756 | 756 | .name = "ea", |
| 757 | 757 | .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts Multimedia"), |
| 758 | 758 | .priv_data_size = sizeof(EaDemuxContext), |
| @@ -93,7 +93,7 @@ static int epaf_read_header(AVFormatContext *s) · 92 unmodified lines | ||
| 93 | 93 | return 0; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | −AVInputFormat ff_epaf_demuxer = { | |
| 96 | +const AVInputFormat ff_epaf_demuxer = { | |
| 97 | 97 | .name = "epaf", |
| 98 | 98 | .long_name = NULL_IF_CONFIG_SMALL("Ensoniq Paris Audio File"), |
| 99 | 99 | .read_probe = epaf_probe, |
| @@ -222,7 +222,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 221 unmodified lines | ||
| 222 | 222 | return AVERROR_EOF; |
| 223 | 223 | } |
| 224 | 224 | |
| 225 | −AVInputFormat ff_ffmetadata_demuxer = { | |
| 225 | +const AVInputFormat ff_ffmetadata_demuxer = { | |
| 226 | 226 | .name = "ffmetadata", |
| 227 | 227 | .long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text"), |
| 228 | 228 | .read_probe = probe, |
| @@ -87,7 +87,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) · 86 unmodified lines | ||
| 87 | 87 | return 0; |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | −AVOutputFormat ff_ffmetadata_muxer = { | |
| 90 | +const AVOutputFormat ff_ffmetadata_muxer = { | |
| 91 | 91 | .name = "ffmetadata", |
| 92 | 92 | .long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text"), |
| 93 | 93 | .extensions = "ffmeta", |
| @@ -697,7 +697,7 @@ static const AVClass fifo_muxer_class = { · 696 unmodified lines | ||
| 697 | 697 | .version = LIBAVUTIL_VERSION_INT, |
| 698 | 698 | }; |
| 699 | 699 | |
| 700 | −AVOutputFormat ff_fifo_muxer = { | |
| 700 | +const AVOutputFormat ff_fifo_muxer = { | |
| 701 | 701 | .name = "fifo", |
| 702 | 702 | .long_name = NULL_IF_CONFIG_SMALL("FIFO queue pseudo-muxer"), |
| 703 | 703 | .priv_data_size = sizeof(FifoContext), |
| @@ -138,7 +138,7 @@ static const AVClass failing_muxer_class = { · 137 unmodified lines | ||
| 138 | 138 | .version = LIBAVUTIL_VERSION_INT, |
| 139 | 139 | }; |
| 140 | 140 | |
| 141 | −AVOutputFormat ff_fifo_test_muxer = { | |
| 141 | +const AVOutputFormat ff_fifo_test_muxer = { | |
| 142 | 142 | .name = "fifo_test", |
| 143 | 143 | .long_name = NULL_IF_CONFIG_SMALL("Fifo test muxer"), |
| 144 | 144 | .priv_data_size = sizeof(FailingMuxerContext), |
| @@ -104,7 +104,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in · 103 unmodified lines | ||
| 104 | 104 | return 0; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | −AVInputFormat ff_filmstrip_demuxer = { | |
| 107 | +const AVInputFormat ff_filmstrip_demuxer = { | |
| 108 | 108 | .name = "filmstrip", |
| 109 | 109 | .long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"), |
| 110 | 110 | .priv_data_size = sizeof(FilmstripDemuxContext), |
| @@ -60,7 +60,7 @@ static int write_trailer(AVFormatContext *s) · 59 unmodified lines | ||
| 60 | 60 | return 0; |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | −AVOutputFormat ff_filmstrip_muxer = { | |
| 63 | +const AVOutputFormat ff_filmstrip_muxer = { | |
| 64 | 64 | .name = "filmstrip", |
| 65 | 65 | .long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"), |
| 66 | 66 | .extensions = "flm", |
| @@ -223,7 +223,7 @@ static const AVClass fits_demuxer_class = { · 222 unmodified lines | ||
| 223 | 223 | .version = LIBAVUTIL_VERSION_INT, |
| 224 | 224 | }; |
| 225 | 225 | |
| 226 | −AVInputFormat ff_fits_demuxer = { | |
| 226 | +const AVInputFormat ff_fits_demuxer = { | |
| 227 | 227 | .name = "fits", |
| 228 | 228 | .long_name = NULL_IF_CONFIG_SMALL("Flexible Image Transport System"), |
| 229 | 229 | .priv_data_size = sizeof(FITSContext), |
| @@ -194,7 +194,7 @@ static int fits_write_packet(AVFormatContext *s, AVPacket *pkt) · 193 unmodified lines | ||
| 194 | 194 | return 0; |
| 195 | 195 | } |
| 196 | 196 | |
| 197 | −AVOutputFormat ff_fits_muxer = { | |
| 197 | +const AVOutputFormat ff_fits_muxer = { | |
| 198 | 198 | .name = "fits", |
| 199 | 199 | .long_name = NULL_IF_CONFIG_SMALL("Flexible Image Transport System"), |
| 200 | 200 | .extensions = "fits", |
| @@ -330,7 +330,7 @@ static int flac_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in · 329 unmodified lines | ||
| 330 | 330 | } |
| 331 | 331 | |
| 332 | 332 | FF_RAW_DEMUXER_CLASS(flac) |
| 333 | −AVInputFormat ff_flac_demuxer = { | |
| 333 | +const AVInputFormat ff_flac_demuxer = { | |
| 334 | 334 | .name = "flac", |
| 335 | 335 | .long_name = NULL_IF_CONFIG_SMALL("raw FLAC"), |
| 336 | 336 | .read_probe = flac_probe, |
| @@ -411,7 +411,7 @@ static const AVClass flac_muxer_class = { · 410 unmodified lines | ||
| 411 | 411 | .version = LIBAVUTIL_VERSION_INT, |
| 412 | 412 | }; |
| 413 | 413 | |
| 414 | −AVOutputFormat ff_flac_muxer = { | |
| 414 | +const AVOutputFormat ff_flac_muxer = { | |
| 415 | 415 | .name = "flac", |
| 416 | 416 | .long_name = NULL_IF_CONFIG_SMALL("raw FLAC"), |
| 417 | 417 | .priv_data_size = sizeof(FlacMuxerContext), |
| @@ -285,7 +285,7 @@ static int flic_read_seek(AVFormatContext *s, int stream_index, · 284 unmodified lines | ||
| 285 | 285 | return 0; |
| 286 | 286 | } |
| 287 | 287 | |
| 288 | −AVInputFormat ff_flic_demuxer = { | |
| 288 | +const AVInputFormat ff_flic_demuxer = { | |
| 289 | 289 | .name = "flic", |
| 290 | 290 | .long_name = NULL_IF_CONFIG_SMALL("FLI/FLC/FLX animation"), |
| 291 | 291 | .priv_data_size = sizeof(FlicDemuxContext), |
| @@ -1372,7 +1372,7 @@ static const AVClass flv_class = { · 1371 unmodified lines | ||
| 1372 | 1372 | .version = LIBAVUTIL_VERSION_INT, |
| 1373 | 1373 | }; |
| 1374 | 1374 | |
| 1375 | −AVInputFormat ff_flv_demuxer = { | |
| 1375 | +const AVInputFormat ff_flv_demuxer = { | |
| 1376 | 1376 | .name = "flv", |
| 1377 | 1377 | .long_name = NULL_IF_CONFIG_SMALL("FLV (Flash Video)"), |
| 1378 | 1378 | .priv_data_size = sizeof(FLVContext), |
| @@ -1392,7 +1392,7 @@ static const AVClass live_flv_class = { · 13 unmodified lines | ||
| 1392 | 1392 | .version = LIBAVUTIL_VERSION_INT, |
| 1393 | 1393 | }; |
| 1394 | 1394 | |
| 1395 | −AVInputFormat ff_live_flv_demuxer = { | |
| 1395 | +const AVInputFormat ff_live_flv_demuxer = { | |
| 1396 | 1396 | .name = "live_flv", |
| 1397 | 1397 | .long_name = NULL_IF_CONFIG_SMALL("live RTMP FLV (Flash Video)"), |
| 1398 | 1398 | .priv_data_size = sizeof(FLVContext), |
| @@ -1413,7 +1413,7 @@ static const AVClass kux_class = { · 14 unmodified lines | ||
| 1413 | 1413 | .version = LIBAVUTIL_VERSION_INT, |
| 1414 | 1414 | }; |
| 1415 | 1415 | |
| 1416 | −AVInputFormat ff_kux_demuxer = { | |
| 1416 | +const AVInputFormat ff_kux_demuxer = { | |
| 1417 | 1417 | .name = "kux", |
| 1418 | 1418 | .long_name = NULL_IF_CONFIG_SMALL("KUX (YouKu)"), |
| 1419 | 1419 | .priv_data_size = sizeof(FLVContext), |
| @@ -1112,7 +1112,7 @@ static const AVClass flv_muxer_class = { · 1111 unmodified lines | ||
| 1112 | 1112 | .version = LIBAVUTIL_VERSION_INT, |
| 1113 | 1113 | }; |
| 1114 | 1114 | |
| 1115 | −AVOutputFormat ff_flv_muxer = { | |
| 1115 | +const AVOutputFormat ff_flv_muxer = { | |
| 1116 | 1116 | .name = "flv", |
| 1117 | 1117 | .long_name = NULL_IF_CONFIG_SMALL("FLV (Flash Video)"), |
| 1118 | 1118 | .mime_type = "video/x-flv", |
| @@ -129,7 +129,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt) · 128 unmodified lines | ||
| 129 | 129 | return 0; |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | −AVOutputFormat ff_framecrc_muxer = { | |
| 132 | +const AVOutputFormat ff_framecrc_muxer = { | |
| 133 | 133 | .name = "framecrc", |
| 134 | 134 | .long_name = NULL_IF_CONFIG_SMALL("framecrc testing"), |
| 135 | 135 | .audio_codec = AV_CODEC_ID_PCM_S16LE, |
| @@ -103,7 +103,7 @@ static int frm_read_packet(AVFormatContext *avctx, AVPacket *pkt) · 102 unmodified lines | ||
| 103 | 103 | return 0; |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | −AVInputFormat ff_frm_demuxer = { | |
| 106 | +const AVInputFormat ff_frm_demuxer = { | |
| 107 | 107 | .name = "frm", |
| 108 | 108 | .priv_data_size = sizeof(FrmContext), |
| 109 | 109 | .long_name = NULL_IF_CONFIG_SMALL("Megalux Frame"), |
| @@ -200,7 +200,7 @@ static int fsb_read_packet(AVFormatContext *s, AVPacket *pkt) · 199 unmodified lines | ||
| 200 | 200 | return ret; |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | −AVInputFormat ff_fsb_demuxer = { | |
| 203 | +const AVInputFormat ff_fsb_demuxer = { | |
| 204 | 204 | .name = "fsb", |
| 205 | 205 | .long_name = NULL_IF_CONFIG_SMALL("FMOD Sample Bank"), |
| 206 | 206 | .read_probe = fsb_probe, |
| @@ -78,7 +78,7 @@ static int fwse_read_header(AVFormatContext *s) · 77 unmodified lines | ||
| 78 | 78 | return 0; |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | −AVInputFormat ff_fwse_demuxer = { | |
| 81 | +const AVInputFormat ff_fwse_demuxer = { | |
| 82 | 82 | .name = "fwse", |
| 83 | 83 | .long_name = NULL_IF_CONFIG_SMALL("Capcom's MT Framework sound"), |
| 84 | 84 | .read_probe = fwse_probe, |
| @@ -47,7 +47,7 @@ static int g722_read_header(AVFormatContext *s) · 46 unmodified lines | ||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | FF_RAW_DEMUXER_CLASS(g722) |
| 50 | −AVInputFormat ff_g722_demuxer = { | |
| 50 | +const AVInputFormat ff_g722_demuxer = { | |
| 51 | 51 | .name = "g722", |
| 52 | 52 | .long_name = NULL_IF_CONFIG_SMALL("raw G.722"), |
| 53 | 53 | .read_header = g722_read_header, |
| @@ -75,7 +75,7 @@ static int g723_1_read_packet(AVFormatContext *s, AVPacket *pkt) · 74 unmodified lines | ||
| 75 | 75 | return pkt->size; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | −AVInputFormat ff_g723_1_demuxer = { | |
| 78 | +const AVInputFormat ff_g723_1_demuxer = { | |
| 79 | 79 | .name = "g723_1", |
| 80 | 80 | .long_name = NULL_IF_CONFIG_SMALL("G.723.1"), |
| 81 | 81 | .read_header = g723_1_init, |
| @@ -73,7 +73,7 @@ static const AVClass g726le_demuxer_class = { · 72 unmodified lines | ||
| 73 | 73 | .version = LIBAVUTIL_VERSION_INT, |
| 74 | 74 | }; |
| 75 | 75 | |
| 76 | −AVInputFormat ff_g726_demuxer = { | |
| 76 | +const AVInputFormat ff_g726_demuxer = { | |
| 77 | 77 | .name = "g726", |
| 78 | 78 | .long_name = NULL_IF_CONFIG_SMALL("raw big-endian G.726 (\"left aligned\")"), |
| 79 | 79 | .read_header = g726_read_header, |
| @@ -92,7 +92,7 @@ static const AVClass g726_demuxer_class = { · 12 unmodified lines | ||
| 92 | 92 | .version = LIBAVUTIL_VERSION_INT, |
| 93 | 93 | }; |
| 94 | 94 | |
| 95 | −AVInputFormat ff_g726le_demuxer = { | |
| 95 | +const AVInputFormat ff_g726le_demuxer = { | |
| 96 | 96 | .name = "g726le", |
| 97 | 97 | .long_name = NULL_IF_CONFIG_SMALL("raw little-endian G.726 (\"right aligned\")"), |
| 98 | 98 | .read_header = g726_read_header, |
| @@ -93,7 +93,7 @@ static const AVClass g729_demuxer_class = { · 92 unmodified lines | ||
| 93 | 93 | .version = LIBAVUTIL_VERSION_INT, |
| 94 | 94 | }; |
| 95 | 95 | |
| 96 | −AVInputFormat ff_g729_demuxer = { | |
| 96 | +const AVInputFormat ff_g729_demuxer = { | |
| 97 | 97 | .name = "g729", |
| 98 | 98 | .long_name = NULL_IF_CONFIG_SMALL("G.729 raw format demuxer"), |
| 99 | 99 | .priv_data_size = sizeof(G729DemuxerContext), |
| @@ -193,7 +193,7 @@ static int gdv_read_packet(AVFormatContext *ctx, AVPacket *pkt) · 192 unmodified lines | ||
| 193 | 193 | return 0; |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | −AVInputFormat ff_gdv_demuxer = { | |
| 196 | +const AVInputFormat ff_gdv_demuxer = { | |
| 197 | 197 | .name = "gdv", |
| 198 | 198 | .long_name = NULL_IF_CONFIG_SMALL("Gremlin Digital Video"), |
| 199 | 199 | .priv_data_size = sizeof(GDVContext), |
| @@ -189,7 +189,7 @@ static int genh_read_packet(AVFormatContext *s, AVPacket *pkt) · 188 unmodified lines | ||
| 189 | 189 | return ret; |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | −AVInputFormat ff_genh_demuxer = { | |
| 192 | +const AVInputFormat ff_genh_demuxer = { | |
| 193 | 193 | .name = "genh", |
| 194 | 194 | .long_name = NULL_IF_CONFIG_SMALL("GENeric Header"), |
| 195 | 195 | .priv_data_size = sizeof(GENHDemuxContext), |
| @@ -203,7 +203,7 @@ static const AVClass gif_muxer_class = { · 202 unmodified lines | ||
| 203 | 203 | .option = options, |
| 204 | 204 | }; |
| 205 | 205 | |
| 206 | −AVOutputFormat ff_gif_muxer = { | |
| 206 | +const AVOutputFormat ff_gif_muxer = { | |
| 207 | 207 | .name = "gif", |
| 208 | 208 | .long_name = NULL_IF_CONFIG_SMALL("CompuServe Graphics Interchange Format (GIF)"), |
| 209 | 209 | .mime_type = "image/gif", |
| @@ -397,7 +397,7 @@ static const AVClass demuxer_class = { · 396 unmodified lines | ||
| 397 | 397 | .category = AV_CLASS_CATEGORY_DEMUXER, |
| 398 | 398 | }; |
| 399 | 399 | |
| 400 | −AVInputFormat ff_gif_demuxer = { | |
| 400 | +const AVInputFormat ff_gif_demuxer = { | |
| 401 | 401 | .name = "gif", |
| 402 | 402 | .long_name = NULL_IF_CONFIG_SMALL("CompuServe Graphics Interchange Format (GIF)"), |
| 403 | 403 | .priv_data_size = sizeof(GIFDemuxContext), |
| @@ -103,7 +103,7 @@ static const AVClass gsm_class = { · 102 unmodified lines | ||
| 103 | 103 | .version = LIBAVUTIL_VERSION_INT, |
| 104 | 104 | }; |
| 105 | 105 | |
| 106 | −AVInputFormat ff_gsm_demuxer = { | |
| 106 | +const AVInputFormat ff_gsm_demuxer = { | |
| 107 | 107 | .name = "gsm", |
| 108 | 108 | .long_name = NULL_IF_CONFIG_SMALL("raw GSM"), |
| 109 | 109 | .priv_data_size = sizeof(GSMDemuxerContext), |
| @@ -599,7 +599,7 @@ static int64_t gxf_read_timestamp(AVFormatContext *s, int stream_index, · 598 unmodified lines | ||
| 599 | 599 | return res; |
| 600 | 600 | } |
| 601 | 601 | |
| 602 | −AVInputFormat ff_gxf_demuxer = { | |
| 602 | +const AVInputFormat ff_gxf_demuxer = { | |
| 603 | 603 | .name = "gxf", |
| 604 | 604 | .long_name = NULL_IF_CONFIG_SMALL("GXF (General eXchange Format)"), |
| 605 | 605 | .priv_data_size = sizeof(struct gxf_stream_info), |
| @@ -1025,7 +1025,7 @@ static int gxf_interleave_packet(AVFormatContext *s, AVPacket *out, AVPacket *pk · 1024 unmodified lines | ||
| 1025 | 1025 | return ff_interleave_packet_per_dts(s, out, NULL, flush); |
| 1026 | 1026 | } |
| 1027 | 1027 | |
| 1028 | −AVOutputFormat ff_gxf_muxer = { | |
| 1028 | +const AVOutputFormat ff_gxf_muxer = { | |
| 1029 | 1029 | .name = "gxf", |
| 1030 | 1030 | .long_name = NULL_IF_CONFIG_SMALL("GXF (General eXchange Format)"), |
| 1031 | 1031 | .extensions = "gxf", |
| @@ -171,7 +171,7 @@ static const AVClass hashenc_class = { · 170 unmodified lines | ||
| 171 | 171 | .version = LIBAVUTIL_VERSION_INT, |
| 172 | 172 | }; |
| 173 | 173 | |
| 174 | −AVOutputFormat ff_hash_muxer = { | |
| 174 | +const AVOutputFormat ff_hash_muxer = { | |
| 175 | 175 | .name = "hash", |
| 176 | 176 | .long_name = NULL_IF_CONFIG_SMALL("Hash testing"), |
| 177 | 177 | .priv_data_size = sizeof(struct HashContext), |
| @@ -195,7 +195,7 @@ static const AVClass md5enc_class = { · 17 unmodified lines | ||
| 195 | 195 | .version = LIBAVUTIL_VERSION_INT, |
| 196 | 196 | }; |
| 197 | 197 | |
| 198 | −AVOutputFormat ff_md5_muxer = { | |
| 198 | +const AVOutputFormat ff_md5_muxer = { | |
| 199 | 199 | .name = "md5", |
| 200 | 200 | .long_name = NULL_IF_CONFIG_SMALL("MD5 testing"), |
| 201 | 201 | .priv_data_size = sizeof(struct HashContext), |
| @@ -219,7 +219,7 @@ static const AVClass streamhashenc_class = { · 17 unmodified lines | ||
| 219 | 219 | .version = LIBAVUTIL_VERSION_INT, |
| 220 | 220 | }; |
| 221 | 221 | |
| 222 | −AVOutputFormat ff_streamhash_muxer = { | |
| 222 | +const AVOutputFormat ff_streamhash_muxer = { | |
| 223 | 223 | .name = "streamhash", |
| 224 | 224 | .long_name = NULL_IF_CONFIG_SMALL("Per-stream hash testing"), |
| 225 | 225 | .priv_data_size = sizeof(struct HashContext), |
| @@ -330,7 +330,7 @@ static const AVClass framehash_class = { · 104 unmodified lines | ||
| 330 | 330 | .version = LIBAVUTIL_VERSION_INT, |
| 331 | 331 | }; |
| 332 | 332 | |
| 333 | −AVOutputFormat ff_framehash_muxer = { | |
| 333 | +const AVOutputFormat ff_framehash_muxer = { | |
| 334 | 334 | .name = "framehash", |
| 335 | 335 | .long_name = NULL_IF_CONFIG_SMALL("Per-frame hash testing"), |
| 336 | 336 | .priv_data_size = sizeof(struct HashContext), |
| @@ -354,7 +354,7 @@ static const AVClass framemd5_class = { · 17 unmodified lines | ||
| 354 | 354 | .version = LIBAVUTIL_VERSION_INT, |
| 355 | 355 | }; |
| 356 | 356 | |
| 357 | −AVOutputFormat ff_framemd5_muxer = { | |
| 357 | +const AVOutputFormat ff_framemd5_muxer = { | |
| 358 | 358 | .name = "framemd5", |
| 359 | 359 | .long_name = NULL_IF_CONFIG_SMALL("Per-frame MD5 testing"), |
| 360 | 360 | .priv_data_size = sizeof(struct HashContext), |
| @@ -113,7 +113,7 @@ static int hca_read_packet(AVFormatContext *s, AVPacket *pkt) · 112 unmodified lines | ||
| 113 | 113 | return ret; |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | −AVInputFormat ff_hca_demuxer = { | |
| 116 | +const AVInputFormat ff_hca_demuxer = { | |
| 117 | 117 | .name = "hca", |
| 118 | 118 | .long_name = NULL_IF_CONFIG_SMALL("CRI HCA"), |
| 119 | 119 | .read_probe = hca_probe, |
| @@ -82,7 +82,7 @@ static int hcom_read_header(AVFormatContext *s) · 81 unmodified lines | ||
| 82 | 82 | return 0; |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | −AVInputFormat ff_hcom_demuxer = { | |
| 85 | +const AVInputFormat ff_hcom_demuxer = { | |
| 86 | 86 | .name = "hcom", |
| 87 | 87 | .long_name = NULL_IF_CONFIG_SMALL("Macintosh HCOM"), |
| 88 | 88 | .read_probe = hcom_probe, |
| @@ -566,7 +566,7 @@ static const AVClass hds_class = { · 565 unmodified lines | ||
| 566 | 566 | .version = LIBAVUTIL_VERSION_INT, |
| 567 | 567 | }; |
| 568 | 568 | |
| 569 | −AVOutputFormat ff_hds_muxer = { | |
| 569 | +const AVOutputFormat ff_hds_muxer = { | |
| 570 | 570 | .name = "hds", |
| 571 | 571 | .long_name = NULL_IF_CONFIG_SMALL("HDS Muxer"), |
| 572 | 572 | .priv_data_size = sizeof(HDSContext), |
| @@ -2413,7 +2413,7 @@ static const AVClass hls_class = { · 2412 unmodified lines | ||
| 2413 | 2413 | .version = LIBAVUTIL_VERSION_INT, |
| 2414 | 2414 | }; |
| 2415 | 2415 | |
| 2416 | −AVInputFormat ff_hls_demuxer = { | |
| 2416 | +const AVInputFormat ff_hls_demuxer = { | |
| 2417 | 2417 | .name = "hls", |
| 2418 | 2418 | .long_name = NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming"), |
| 2419 | 2419 | .priv_class = &hls_class, |
| @@ -3159,7 +3159,7 @@ static const AVClass hls_class = { · 3158 unmodified lines | ||
| 3159 | 3159 | }; |
| 3160 | 3160 | |
| 3161 | 3161 | |
| 3162 | −AVOutputFormat ff_hls_muxer = { | |
| 3162 | +const AVOutputFormat ff_hls_muxer = { | |
| 3163 | 3163 | .name = "hls", |
| 3164 | 3164 | .long_name = NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming"), |
| 3165 | 3165 | .extensions = "m3u8", |
| @@ -158,7 +158,7 @@ static int hnm_read_packet(AVFormatContext *s, AVPacket *pkt) · 157 unmodified lines | ||
| 158 | 158 | return ret; |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | −AVInputFormat ff_hnm_demuxer = { | |
| 161 | +const AVInputFormat ff_hnm_demuxer = { | |
| 162 | 162 | .name = "hnm", |
| 163 | 163 | .long_name = NULL_IF_CONFIG_SMALL("Cryo HNM v4"), |
| 164 | 164 | .priv_data_size = sizeof(Hnm4DemuxContext), |
| @@ -220,7 +220,7 @@ static int ico_read_close(AVFormatContext * s) · 219 unmodified lines | ||
| 220 | 220 | return 0; |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | −AVInputFormat ff_ico_demuxer = { | |
| 223 | +const AVInputFormat ff_ico_demuxer = { | |
| 224 | 224 | .name = "ico", |
| 225 | 225 | .long_name = NULL_IF_CONFIG_SMALL("Microsoft Windows ICO"), |
| 226 | 226 | .priv_data_size = sizeof(IcoDemuxContext), |
| @@ -191,7 +191,7 @@ static void ico_deinit(AVFormatContext *s) · 190 unmodified lines | ||
| 191 | 191 | av_freep(&ico->images); |
| 192 | 192 | } |
| 193 | 193 | |
| 194 | −AVOutputFormat ff_ico_muxer = { | |
| 194 | +const AVOutputFormat ff_ico_muxer = { | |
| 195 | 195 | .name = "ico", |
| 196 | 196 | .long_name = NULL_IF_CONFIG_SMALL("Microsoft Windows ICO"), |
| 197 | 197 | .priv_data_size = sizeof(IcoMuxContext), |
| @@ -366,7 +366,7 @@ static int idcin_read_seek(AVFormatContext *s, int stream_index, · 365 unmodified lines | ||
| 366 | 366 | return -1; |
| 367 | 367 | } |
| 368 | 368 | |
| 369 | −AVInputFormat ff_idcin_demuxer = { | |
| 369 | +const AVInputFormat ff_idcin_demuxer = { | |
| 370 | 370 | .name = "idcin", |
| 371 | 371 | .long_name = NULL_IF_CONFIG_SMALL("id Cinematic"), |
| 372 | 372 | .priv_data_size = sizeof(IdcinDemuxContext), |
| @@ -239,7 +239,7 @@ static int roq_read_packet(AVFormatContext *s, · 238 unmodified lines | ||
| 239 | 239 | return ret; |
| 240 | 240 | } |
| 241 | 241 | |
| 242 | −AVInputFormat ff_roq_demuxer = { | |
| 242 | +const AVInputFormat ff_roq_demuxer = { | |
| 243 | 243 | .name = "roq", |
| 244 | 244 | .long_name = NULL_IF_CONFIG_SMALL("id RoQ"), |
| 245 | 245 | .priv_data_size = sizeof(RoqDemuxContext), |
| @@ -59,7 +59,7 @@ static int roq_write_header(struct AVFormatContext *s) · 58 unmodified lines | ||
| 59 | 59 | return 0; |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | −AVOutputFormat ff_roq_muxer = { | |
| 62 | +const AVOutputFormat ff_roq_muxer = { | |
| 63 | 63 | .name = "roq", |
| 64 | 64 | .long_name = NULL_IF_CONFIG_SMALL("raw id RoQ"), |
| 65 | 65 | .extensions = "roq", |
| @@ -896,7 +896,7 @@ static int iff_read_packet(AVFormatContext *s, · 895 unmodified lines | ||
| 896 | 896 | return ret; |
| 897 | 897 | } |
| 898 | 898 | |
| 899 | −AVInputFormat ff_iff_demuxer = { | |
| 899 | +const AVInputFormat ff_iff_demuxer = { | |
| 900 | 900 | .name = "iff", |
| 901 | 901 | .long_name = NULL_IF_CONFIG_SMALL("IFF (Interchange File Format)"), |
| 902 | 902 | .priv_data_size = sizeof(IffDemuxContext), |
| @@ -305,7 +305,7 @@ static int ifv_read_seek(AVFormatContext *s, int stream_index, int64_t ts, int f · 304 unmodified lines | ||
| 305 | 305 | return 0; |
| 306 | 306 | } |
| 307 | 307 | |
| 308 | −AVInputFormat ff_ifv_demuxer = { | |
| 308 | +const AVInputFormat ff_ifv_demuxer = { | |
| 309 | 309 | .name = "ifv", |
| 310 | 310 | .long_name = NULL_IF_CONFIG_SMALL("IFV CCTV DVR"), |
| 311 | 311 | .priv_data_size = sizeof(IFVContext), |
| @@ -112,7 +112,7 @@ static int ilbc_read_packet(AVFormatContext *s, · 111 unmodified lines | ||
| 112 | 112 | return 0; |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | −AVInputFormat ff_ilbc_demuxer = { | |
| 115 | +const AVInputFormat ff_ilbc_demuxer = { | |
| 116 | 116 | .name = "ilbc", |
| 117 | 117 | .long_name = NULL_IF_CONFIG_SMALL("iLBC storage"), |
| 118 | 118 | .read_probe = ilbc_probe, |
| @@ -122,7 +122,7 @@ AVInputFormat ff_ilbc_demuxer = { · 3 unmodified lines | ||
| 122 | 122 | }; |
| 123 | 123 | |
| 124 | 124 | #if CONFIG_ILBC_MUXER |
| 125 | −AVOutputFormat ff_ilbc_muxer = { | |
| 125 | +const AVOutputFormat ff_ilbc_muxer = { | |
| 126 | 126 | .name = "ilbc", |
| 127 | 127 | .long_name = NULL_IF_CONFIG_SMALL("iLBC storage"), |
| 128 | 128 | .mime_type = "audio/iLBC", |
| @@ -61,7 +61,7 @@ static const AVClass image2_alias_pix_class = { · 60 unmodified lines | ||
| 61 | 61 | .version = LIBAVUTIL_VERSION_INT, |
| 62 | 62 | }; |
| 63 | 63 | |
| 64 | −AVInputFormat ff_image2_alias_pix_demuxer = { | |
| 64 | +const AVInputFormat ff_image2_alias_pix_demuxer = { | |
| 65 | 65 | .name = "alias_pix", |
| 66 | 66 | .long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"), |
| 67 | 67 | .priv_data_size = sizeof(VideoDemuxData), |
| @@ -45,7 +45,7 @@ static const AVClass image2_brender_pix_class = { · 44 unmodified lines | ||
| 45 | 45 | .version = LIBAVUTIL_VERSION_INT, |
| 46 | 46 | }; |
| 47 | 47 | |
| 48 | −AVInputFormat ff_image2_brender_pix_demuxer = { | |
| 48 | +const AVInputFormat ff_image2_brender_pix_demuxer = { | |
| 49 | 49 | .name = "brender_pix", |
| 50 | 50 | .long_name = NULL_IF_CONFIG_SMALL("BRender PIX image"), |
| 51 | 51 | .priv_data_size = sizeof(VideoDemuxData), |
| @@ -633,7 +633,7 @@ static const AVClass img2_class = { · 632 unmodified lines | ||
| 633 | 633 | .option = ff_img_options, |
| 634 | 634 | .version = LIBAVUTIL_VERSION_INT, |
| 635 | 635 | }; |
| 636 | −AVInputFormat ff_image2_demuxer = { | |
| 636 | +const AVInputFormat ff_image2_demuxer = { | |
| 637 | 637 | .name = "image2", |
| 638 | 638 | .long_name = NULL_IF_CONFIG_SMALL("image2 sequence"), |
| 639 | 639 | .priv_data_size = sizeof(VideoDemuxData), |
| @@ -659,7 +659,7 @@ static const AVClass img2pipe_class = { · 19 unmodified lines | ||
| 659 | 659 | .option = ff_img2pipe_options, |
| 660 | 660 | .version = LIBAVUTIL_VERSION_INT, |
| 661 | 661 | }; |
| 662 | −AVInputFormat ff_image2pipe_demuxer = { | |
| 662 | +const AVInputFormat ff_image2pipe_demuxer = { | |
| 663 | 663 | .name = "image2pipe", |
| 664 | 664 | .long_name = NULL_IF_CONFIG_SMALL("piped image2 sequence"), |
| 665 | 665 | .priv_data_size = sizeof(VideoDemuxData), |
| @@ -1112,7 +1112,7 @@ static const AVClass imgname ## _class = {\ · 446 unmodified lines | ||
| 1112 | 1112 | .option = ff_img2pipe_options,\ |
| 1113 | 1113 | .version = LIBAVUTIL_VERSION_INT,\ |
| 1114 | 1114 | };\ |
| 1115 | −AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\ | |
| 1115 | +const AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\ | |
| 1116 | 1116 | .name = AV_STRINGIFY(imgname) "_pipe",\ |
| 1117 | 1117 | .long_name = NULL_IF_CONFIG_SMALL("piped " AV_STRINGIFY(imgname) " sequence"),\ |
| 1118 | 1118 | .priv_data_size = sizeof(VideoDemuxData),\ |
| @@ -257,7 +257,7 @@ static const AVClass img2mux_class = { · 256 unmodified lines | ||
| 257 | 257 | .version = LIBAVUTIL_VERSION_INT, |
| 258 | 258 | }; |
| 259 | 259 | |
| 260 | −AVOutputFormat ff_image2_muxer = { | |
| 260 | +const AVOutputFormat ff_image2_muxer = { | |
| 261 | 261 | .name = "image2", |
| 262 | 262 | .long_name = NULL_IF_CONFIG_SMALL("image2 sequence"), |
| 263 | 263 | .extensions = "bmp,dpx,exr,jls,jpeg,jpg,ljpg,pam,pbm,pcx,pfm,pgm,pgmyuv,png," |
| @@ -273,7 +273,7 @@ AVOutputFormat ff_image2_muxer = { · 9 unmodified lines | ||
| 273 | 273 | }; |
| 274 | 274 | #endif |
| 275 | 275 | #if CONFIG_IMAGE2PIPE_MUXER |
| 276 | −AVOutputFormat ff_image2pipe_muxer = { | |
| 276 | +const AVOutputFormat ff_image2pipe_muxer = { | |
| 277 | 277 | .name = "image2pipe", |
| 278 | 278 | .long_name = NULL_IF_CONFIG_SMALL("piped image2 sequence"), |
| 279 | 279 | .priv_data_size = sizeof(VideoMuxData), |
| @@ -156,7 +156,7 @@ retry: · 155 unmodified lines | ||
| 156 | 156 | return ret; |
| 157 | 157 | } |
| 158 | 158 | |
| 159 | −AVInputFormat ff_simbiosis_imx_demuxer = { | |
| 159 | +const AVInputFormat ff_simbiosis_imx_demuxer = { | |
| 160 | 160 | .name = "simbiosis_imx", |
| 161 | 161 | .long_name = NULL_IF_CONFIG_SMALL("Simbiosis Interactive IMX"), |
| 162 | 162 | .priv_data_size = sizeof(SimbiosisIMXDemuxContext), |
| @@ -63,7 +63,7 @@ static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt) · 62 unmodified lines | ||
| 63 | 63 | |
| 64 | 64 | FF_RAWVIDEO_DEMUXER_CLASS(ingenient) |
| 65 | 65 | |
| 66 | −AVInputFormat ff_ingenient_demuxer = { | |
| 66 | +const AVInputFormat ff_ingenient_demuxer = { | |
| 67 | 67 | .name = "ingenient", |
| 68 | 68 | .long_name = NULL_IF_CONFIG_SMALL("raw Ingenient MJPEG"), |
| 69 | 69 | .priv_data_size = sizeof(FFRawVideoDemuxerContext), |
| @@ -701,7 +701,7 @@ static int ipmovie_read_packet(AVFormatContext *s, · 700 unmodified lines | ||
| 701 | 701 | } |
| 702 | 702 | } |
| 703 | 703 | |
| 704 | −AVInputFormat ff_ipmovie_demuxer = { | |
| 704 | +const AVInputFormat ff_ipmovie_demuxer = { | |
| 705 | 705 | .name = "ipmovie", |
| 706 | 706 | .long_name = NULL_IF_CONFIG_SMALL("Interplay MVE"), |
| 707 | 707 | .priv_data_size = sizeof(IPMVEContext), |
| @@ -75,7 +75,7 @@ static const AVClass ipu_demuxer_class = { · 74 unmodified lines | ||
| 75 | 75 | .version = LIBAVUTIL_VERSION_INT, |
| 76 | 76 | }; |
| 77 | 77 | |
| 78 | −AVInputFormat ff_ipu_demuxer = { | |
| 78 | +const AVInputFormat ff_ipu_demuxer = { | |
| 79 | 79 | .name = "ipu", |
| 80 | 80 | .long_name = NULL_IF_CONFIG_SMALL("raw IPU Video"), |
| 81 | 81 | .read_probe = ipu_read_probe, |
| @@ -106,7 +106,7 @@ static int ircam_read_header(AVFormatContext *s) · 105 unmodified lines | ||
| 106 | 106 | return 0; |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | −AVInputFormat ff_ircam_demuxer = { | |
| 109 | +const AVInputFormat ff_ircam_demuxer = { | |
| 110 | 110 | .name = "ircam", |
| 111 | 111 | .long_name = NULL_IF_CONFIG_SMALL("Berkeley/IRCAM/CARL Sound Format"), |
| 112 | 112 | .read_probe = ircam_probe, |
| @@ -50,7 +50,7 @@ static int ircam_write_header(AVFormatContext *s) · 49 unmodified lines | ||
| 50 | 50 | return 0; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | −AVOutputFormat ff_ircam_muxer = { | |
| 53 | +const AVOutputFormat ff_ircam_muxer = { | |
| 54 | 54 | .name = "ircam", |
| 55 | 55 | .extensions = "sf,ircam", |
| 56 | 56 | .long_name = NULL_IF_CONFIG_SMALL("Berkeley/IRCAM/CARL Sound Format"), |
| @@ -143,7 +143,7 @@ static int iss_read_packet(AVFormatContext *s, AVPacket *pkt) · 142 unmodified lines | ||
| 143 | 143 | return 0; |
| 144 | 144 | } |
| 145 | 145 | |
| 146 | −AVInputFormat ff_iss_demuxer = { | |
| 146 | +const AVInputFormat ff_iss_demuxer = { | |
| 147 | 147 | .name = "iss", |
| 148 | 148 | .long_name = NULL_IF_CONFIG_SMALL("Funcom ISS"), |
| 149 | 149 | .priv_data_size = sizeof(IssDemuxContext), |
| @@ -107,7 +107,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 106 unmodified lines | ||
| 107 | 107 | return 0; |
| 108 | 108 | } |
| 109 | 109 | |
| 110 | −AVInputFormat ff_iv8_demuxer = { | |
| 110 | +const AVInputFormat ff_iv8_demuxer = { | |
| 111 | 111 | .name = "iv8", |
| 112 | 112 | .long_name = NULL_IF_CONFIG_SMALL("IndigoVision 8000 video"), |
| 113 | 113 | .read_probe = probe, |
| @@ -81,7 +81,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 80 unmodified lines | ||
| 81 | 81 | return ret; |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | −AVInputFormat ff_ivf_demuxer = { | |
| 84 | +const AVInputFormat ff_ivf_demuxer = { | |
| 85 | 85 | .name = "ivf", |
| 86 | 86 | .long_name = NULL_IF_CONFIG_SMALL("On2 IVF"), |
| 87 | 87 | .read_probe = probe, |
| @@ -121,7 +121,7 @@ static const AVCodecTag codec_ivf_tags[] = { · 120 unmodified lines | ||
| 121 | 121 | { AV_CODEC_ID_NONE, 0 } |
| 122 | 122 | }; |
| 123 | 123 | |
| 124 | −AVOutputFormat ff_ivf_muxer = { | |
| 124 | +const AVOutputFormat ff_ivf_muxer = { | |
| 125 | 125 | .priv_data_size = sizeof(IVFEncContext), |
| 126 | 126 | .name = "ivf", |
| 127 | 127 | .long_name = NULL_IF_CONFIG_SMALL("On2 IVF"), |
| @@ -276,7 +276,7 @@ static int jacosub_read_seek(AVFormatContext *s, int stream_index, · 275 unmodified lines | ||
| 276 | 276 | min_ts, ts, max_ts, flags); |
| 277 | 277 | } |
| 278 | 278 | |
| 279 | −AVInputFormat ff_jacosub_demuxer = { | |
| 279 | +const AVInputFormat ff_jacosub_demuxer = { | |
| 280 | 280 | .name = "jacosub", |
| 281 | 281 | .long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle format"), |
| 282 | 282 | .priv_data_size = sizeof(JACOsubContext), |
| @@ -29,7 +29,7 @@ static int jacosub_write_header(AVFormatContext *s) · 28 unmodified lines | ||
| 29 | 29 | return 0; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | −AVOutputFormat ff_jacosub_muxer = { | |
| 32 | +const AVOutputFormat ff_jacosub_muxer = { | |
| 33 | 33 | .name = "jacosub", |
| 34 | 34 | .long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle format"), |
| 35 | 35 | .mime_type = "text/x-jacosub", |
| @@ -254,7 +254,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 253 unmodified lines | ||
| 254 | 254 | return 0; |
| 255 | 255 | } |
| 256 | 256 | |
| 257 | −AVInputFormat ff_jv_demuxer = { | |
| 257 | +const AVInputFormat ff_jv_demuxer = { | |
| 258 | 258 | .name = "jv", |
| 259 | 259 | .long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV"), |
| 260 | 260 | .priv_data_size = sizeof(JVDemuxContext), |
| @@ -119,7 +119,7 @@ static int kvag_seek(AVFormatContext *s, int stream_index, · 118 unmodified lines | ||
| 119 | 119 | return avio_seek(s->pb, KVAG_HEADER_SIZE, SEEK_SET); |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | −AVInputFormat ff_kvag_demuxer = { | |
| 122 | +const AVInputFormat ff_kvag_demuxer = { | |
| 123 | 123 | .name = "kvag", |
| 124 | 124 | .long_name = NULL_IF_CONFIG_SMALL("Simon & Schuster Interactive VAG"), |
| 125 | 125 | .read_probe = kvag_probe, |
| @@ -193,7 +193,7 @@ static int kvag_write_trailer(AVFormatContext *s) · 67 unmodified lines | ||
| 193 | 193 | return 0; |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | −AVOutputFormat ff_kvag_muxer = { | |
| 196 | +const AVOutputFormat ff_kvag_muxer = { | |
| 197 | 197 | .name = "kvag", |
| 198 | 198 | .long_name = NULL_IF_CONFIG_SMALL("Simon & Schuster Interactive VAG"), |
| 199 | 199 | .extensions = "vag", |
| @@ -256,7 +256,7 @@ static int latm_check_bitstream(struct AVFormatContext *s, const AVPacket *pkt) · 255 unmodified lines | ||
| 256 | 256 | return ret; |
| 257 | 257 | } |
| 258 | 258 | |
| 259 | −AVOutputFormat ff_latm_muxer = { | |
| 259 | +const AVOutputFormat ff_latm_muxer = { | |
| 260 | 260 | .name = "latm", |
| 261 | 261 | .long_name = NULL_IF_CONFIG_SMALL("LOAS/LATM"), |
| 262 | 262 | .mime_type = "audio/MP4A-LATM", |
| @@ -197,7 +197,7 @@ static const AVClass class_gme = { · 196 unmodified lines | ||
| 197 | 197 | .version = LIBAVUTIL_VERSION_INT, |
| 198 | 198 | }; |
| 199 | 199 | |
| 200 | −AVInputFormat ff_libgme_demuxer = { | |
| 200 | +const AVInputFormat ff_libgme_demuxer = { | |
| 201 | 201 | .name = "libgme", |
| 202 | 202 | .long_name = NULL_IF_CONFIG_SMALL("Game Music Emu demuxer"), |
| 203 | 203 | .priv_data_size = sizeof(GMEContext), |
| @@ -380,7 +380,7 @@ static const AVClass modplug_class = { · 379 unmodified lines | ||
| 380 | 380 | .version = LIBAVUTIL_VERSION_INT, |
| 381 | 381 | }; |
| 382 | 382 | |
| 383 | −AVInputFormat ff_libmodplug_demuxer = { | |
| 383 | +const AVInputFormat ff_libmodplug_demuxer = { | |
| 384 | 384 | .name = "libmodplug", |
| 385 | 385 | .long_name = NULL_IF_CONFIG_SMALL("ModPlug demuxer"), |
| 386 | 386 | .priv_data_size = sizeof(ModPlugContext), |
| @@ -281,7 +281,7 @@ static const AVClass class_openmpt = { · 280 unmodified lines | ||
| 281 | 281 | .version = LIBAVUTIL_VERSION_INT, |
| 282 | 282 | }; |
| 283 | 283 | |
| 284 | −AVInputFormat ff_libopenmpt_demuxer = { | |
| 284 | +const AVInputFormat ff_libopenmpt_demuxer = { | |
| 285 | 285 | .name = "libopenmpt", |
| 286 | 286 | .long_name = NULL_IF_CONFIG_SMALL("Tracker formats (libopenmpt)"), |
| 287 | 287 | .priv_data_size = sizeof(OpenMPTContext), |
| @@ -121,7 +121,7 @@ static int lmlm4_read_packet(AVFormatContext *s, AVPacket *pkt) · 120 unmodified lines | ||
| 121 | 121 | return ret; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | −AVInputFormat ff_lmlm4_demuxer = { | |
| 124 | +const AVInputFormat ff_lmlm4_demuxer = { | |
| 125 | 125 | .name = "lmlm4", |
| 126 | 126 | .long_name = NULL_IF_CONFIG_SMALL("raw lmlm4"), |
| 127 | 127 | .read_probe = lmlm4_probe, |
| @@ -84,7 +84,7 @@ static int loas_read_header(AVFormatContext *s) · 83 unmodified lines | ||
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | FF_RAW_DEMUXER_CLASS(loas) |
| 87 | −AVInputFormat ff_loas_demuxer = { | |
| 87 | +const AVInputFormat ff_loas_demuxer = { | |
| 88 | 88 | .name = "loas", |
| 89 | 89 | .long_name = NULL_IF_CONFIG_SMALL("LOAS AudioSyncStream"), |
| 90 | 90 | .read_probe = loas_probe, |
| @@ -241,7 +241,7 @@ static int lrc_read_close(AVFormatContext *s) · 240 unmodified lines | ||
| 241 | 241 | return 0; |
| 242 | 242 | } |
| 243 | 243 | |
| 244 | −AVInputFormat ff_lrc_demuxer = { | |
| 244 | +const AVInputFormat ff_lrc_demuxer = { | |
| 245 | 245 | .name = "lrc", |
| 246 | 246 | .long_name = NULL_IF_CONFIG_SMALL("LRC lyrics"), |
| 247 | 247 | .priv_data_size = sizeof (LRCContext), |
| @@ -140,7 +140,7 @@ static int lrc_write_packet(AVFormatContext *s, AVPacket *pkt) · 139 unmodified lines | ||
| 140 | 140 | return 0; |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | −AVOutputFormat ff_lrc_muxer = { | |
| 143 | +const AVOutputFormat ff_lrc_muxer = { | |
| 144 | 144 | .name = "lrc", |
| 145 | 145 | .long_name = NULL_IF_CONFIG_SMALL("LRC lyrics"), |
| 146 | 146 | .extensions = "lrc", |
| @@ -115,7 +115,7 @@ static int dat_read_packet(AVFormatContext *s, AVPacket *pkt) · 114 unmodified lines | ||
| 115 | 115 | return ret; |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | −AVInputFormat ff_luodat_demuxer = { | |
| 118 | +const AVInputFormat ff_luodat_demuxer = { | |
| 119 | 119 | .name = "luodat", |
| 120 | 120 | .long_name = NULL_IF_CONFIG_SMALL("Video CCTV DAT"), |
| 121 | 121 | .read_probe = dat_probe, |
| @@ -145,7 +145,7 @@ static int lvf_read_packet(AVFormatContext *s, AVPacket *pkt) · 144 unmodified lines | ||
| 145 | 145 | return AVERROR_EOF; |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | −AVInputFormat ff_lvf_demuxer = { | |
| 148 | +const AVInputFormat ff_lvf_demuxer = { | |
| 149 | 149 | .name = "lvf", |
| 150 | 150 | .long_name = NULL_IF_CONFIG_SMALL("LVF"), |
| 151 | 151 | .read_probe = lvf_probe, |
| @@ -334,7 +334,7 @@ static int lxf_read_packet(AVFormatContext *s, AVPacket *pkt) · 333 unmodified lines | ||
| 334 | 334 | return ret; |
| 335 | 335 | } |
| 336 | 336 | |
| 337 | −AVInputFormat ff_lxf_demuxer = { | |
| 337 | +const AVInputFormat ff_lxf_demuxer = { | |
| 338 | 338 | .name = "lxf", |
| 339 | 339 | .long_name = NULL_IF_CONFIG_SMALL("VR native stream (LXF)"), |
| 340 | 340 | .priv_data_size = sizeof(LXFDemuxContext), |
| @@ -4306,7 +4306,7 @@ static const AVClass webm_dash_class = { · 4305 unmodified lines | ||
| 4306 | 4306 | .version = LIBAVUTIL_VERSION_INT, |
| 4307 | 4307 | }; |
| 4308 | 4308 | |
| 4309 | −AVInputFormat ff_matroska_demuxer = { | |
| 4309 | +const AVInputFormat ff_matroska_demuxer = { | |
| 4310 | 4310 | .name = "matroska,webm", |
| 4311 | 4311 | .long_name = NULL_IF_CONFIG_SMALL("Matroska / WebM"), |
| 4312 | 4312 | .extensions = "mkv,mk3d,mka,mks,webm", |
| @@ -4319,7 +4319,7 @@ AVInputFormat ff_matroska_demuxer = { · 6 unmodified lines | ||
| 4319 | 4319 | .mime_type = "audio/webm,audio/x-matroska,video/webm,video/x-matroska" |
| 4320 | 4320 | }; |
| 4321 | 4321 | |
| 4322 | −AVInputFormat ff_webm_dash_manifest_demuxer = { | |
| 4322 | +const AVInputFormat ff_webm_dash_manifest_demuxer = { | |
| 4323 | 4323 | .name = "webm_dash_manifest", |
| 4324 | 4324 | .long_name = NULL_IF_CONFIG_SMALL("WebM DASH Manifest"), |
| 4325 | 4325 | .priv_data_size = sizeof(MatroskaDemuxContext), |
| @@ -2837,7 +2837,7 @@ static const AVClass matroska_class = { · 2836 unmodified lines | ||
| 2837 | 2837 | .version = LIBAVUTIL_VERSION_INT, |
| 2838 | 2838 | }; |
| 2839 | 2839 | |
| 2840 | −AVOutputFormat ff_matroska_muxer = { | |
| 2840 | +const AVOutputFormat ff_matroska_muxer = { | |
| 2841 | 2841 | .name = "matroska", |
| 2842 | 2842 | .long_name = NULL_IF_CONFIG_SMALL("Matroska"), |
| 2843 | 2843 | .mime_type = "video/x-matroska", |
| @@ -2873,7 +2873,7 @@ static const AVClass webm_class = { · 29 unmodified lines | ||
| 2873 | 2873 | .version = LIBAVUTIL_VERSION_INT, |
| 2874 | 2874 | }; |
| 2875 | 2875 | |
| 2876 | −AVOutputFormat ff_webm_muxer = { | |
| 2876 | +const AVOutputFormat ff_webm_muxer = { | |
| 2877 | 2877 | .name = "webm", |
| 2878 | 2878 | .long_name = NULL_IF_CONFIG_SMALL("WebM"), |
| 2879 | 2879 | .mime_type = "video/webm", |
| @@ -2902,7 +2902,7 @@ static const AVClass mka_class = { · 22 unmodified lines | ||
| 2902 | 2902 | .option = options, |
| 2903 | 2903 | .version = LIBAVUTIL_VERSION_INT, |
| 2904 | 2904 | }; |
| 2905 | −AVOutputFormat ff_matroska_audio_muxer = { | |
| 2905 | +const AVOutputFormat ff_matroska_audio_muxer = { | |
| 2906 | 2906 | .name = "matroska", |
| 2907 | 2907 | .long_name = NULL_IF_CONFIG_SMALL("Matroska Audio"), |
| 2908 | 2908 | .mime_type = "audio/x-matroska", |
| @@ -217,7 +217,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 216 unmodified lines | ||
| 217 | 217 | return 0; |
| 218 | 218 | } |
| 219 | 219 | |
| 220 | −AVInputFormat ff_mca_demuxer = { | |
| 220 | +const AVInputFormat ff_mca_demuxer = { | |
| 221 | 221 | .name = "mca", |
| 222 | 222 | .long_name = NULL_IF_CONFIG_SMALL("MCA Audio Format"), |
| 223 | 223 | .priv_data_size = sizeof(MCADemuxContext), |
| @@ -225,7 +225,7 @@ static int mcc_read_close(AVFormatContext *s) · 224 unmodified lines | ||
| 225 | 225 | return 0; |
| 226 | 226 | } |
| 227 | 227 | |
| 228 | −AVInputFormat ff_mcc_demuxer = { | |
| 228 | +const AVInputFormat ff_mcc_demuxer = { | |
| 229 | 229 | .name = "mcc", |
| 230 | 230 | .long_name = NULL_IF_CONFIG_SMALL("MacCaption"), |
| 231 | 231 | .priv_data_size = sizeof(MCCContext), |
| @@ -96,7 +96,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 95 unmodified lines | ||
| 96 | 96 | return ret; |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | −AVInputFormat ff_mgsts_demuxer = { | |
| 99 | +const AVInputFormat ff_mgsts_demuxer = { | |
| 100 | 100 | .name = "mgsts", |
| 101 | 101 | .long_name = NULL_IF_CONFIG_SMALL("Metal Gear Solid: The Twin Snakes"), |
| 102 | 102 | .read_probe = read_probe, |
| @@ -203,7 +203,7 @@ static const AVClass microdvd_class = { · 202 unmodified lines | ||
| 203 | 203 | .version = LIBAVUTIL_VERSION_INT, |
| 204 | 204 | }; |
| 205 | 205 | |
| 206 | −AVInputFormat ff_microdvd_demuxer = { | |
| 206 | +const AVInputFormat ff_microdvd_demuxer = { | |
| 207 | 207 | .name = "microdvd", |
| 208 | 208 | .long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle format"), |
| 209 | 209 | .priv_data_size = sizeof(MicroDVDContext), |
| @@ -55,7 +55,7 @@ static int microdvd_write_packet(AVFormatContext *avf, AVPacket *pkt) · 54 unmodified lines | ||
| 55 | 55 | return 0; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | −AVOutputFormat ff_microdvd_muxer = { | |
| 58 | +const AVOutputFormat ff_microdvd_muxer = { | |
| 59 | 59 | .name = "microdvd", |
| 60 | 60 | .long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle format"), |
| 61 | 61 | .mime_type = "text/x-microdvd", |
| @@ -40,7 +40,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) · 39 unmodified lines | ||
| 40 | 40 | return 0; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | −AVOutputFormat ff_mkvtimestamp_v2_muxer = { | |
| 43 | +const AVOutputFormat ff_mkvtimestamp_v2_muxer = { | |
| 44 | 44 | .name = "mkvtimestamp_v2", |
| 45 | 45 | .long_name = NULL_IF_CONFIG_SMALL("extract pts as timecode v2 format, as defined by mkvtoolnix"), |
| 46 | 46 | .audio_codec = AV_CODEC_ID_NONE, |
| @@ -57,7 +57,7 @@ static int mlp_probe(const AVProbeData *p) · 56 unmodified lines | ||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | FF_RAW_DEMUXER_CLASS(mlp) |
| 60 | −AVInputFormat ff_mlp_demuxer = { | |
| 60 | +const AVInputFormat ff_mlp_demuxer = { | |
| 61 | 61 | .name = "mlp", |
| 62 | 62 | .long_name = NULL_IF_CONFIG_SMALL("raw MLP"), |
| 63 | 63 | .read_probe = mlp_probe, |
| @@ -78,7 +78,7 @@ static int thd_probe(const AVProbeData *p) · 14 unmodified lines | ||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | FF_RAW_DEMUXER_CLASS(truehd) |
| 81 | −AVInputFormat ff_truehd_demuxer = { | |
| 81 | +const AVInputFormat ff_truehd_demuxer = { | |
| 82 | 82 | .name = "truehd", |
| 83 | 83 | .long_name = NULL_IF_CONFIG_SMALL("raw TrueHD"), |
| 84 | 84 | .read_probe = thd_probe, |
| @@ -481,7 +481,7 @@ static int read_close(AVFormatContext *s) · 480 unmodified lines | ||
| 481 | 481 | return 0; |
| 482 | 482 | } |
| 483 | 483 | |
| 484 | −AVInputFormat ff_mlv_demuxer = { | |
| 484 | +const AVInputFormat ff_mlv_demuxer = { | |
| 485 | 485 | .name = "mlv", |
| 486 | 486 | .long_name = NULL_IF_CONFIG_SMALL("Magic Lantern Video (MLV)"), |
| 487 | 487 | .priv_data_size = sizeof(MlvContext), |
| @@ -190,7 +190,7 @@ static int read_packet(AVFormatContext *s, · 189 unmodified lines | ||
| 190 | 190 | } |
| 191 | 191 | } |
| 192 | 192 | |
| 193 | −AVInputFormat ff_mm_demuxer = { | |
| 193 | +const AVInputFormat ff_mm_demuxer = { | |
| 194 | 194 | .name = "mm", |
| 195 | 195 | .long_name = NULL_IF_CONFIG_SMALL("American Laser Games MM"), |
| 196 | 196 | .priv_data_size = sizeof(MmDemuxContext), |
| @@ -295,7 +295,7 @@ static int mmf_read_packet(AVFormatContext *s, AVPacket *pkt) · 294 unmodified lines | ||
| 295 | 295 | } |
| 296 | 296 | |
| 297 | 297 | #if CONFIG_MMF_DEMUXER |
| 298 | −AVInputFormat ff_mmf_demuxer = { | |
| 298 | +const AVInputFormat ff_mmf_demuxer = { | |
| 299 | 299 | .name = "mmf", |
| 300 | 300 | .long_name = NULL_IF_CONFIG_SMALL("Yamaha SMAF"), |
| 301 | 301 | .priv_data_size = sizeof(MMFContext), |
| @@ -307,7 +307,7 @@ AVInputFormat ff_mmf_demuxer = { · 5 unmodified lines | ||
| 307 | 307 | #endif |
| 308 | 308 | |
| 309 | 309 | #if CONFIG_MMF_MUXER |
| 310 | −AVOutputFormat ff_mmf_muxer = { | |
| 310 | +const AVOutputFormat ff_mmf_muxer = { | |
| 311 | 311 | .name = "mmf", |
| 312 | 312 | .long_name = NULL_IF_CONFIG_SMALL("Yamaha SMAF"), |
| 313 | 313 | .mime_type = "application/vnd.smaf", |
| @@ -91,7 +91,7 @@ static int mods_read_packet(AVFormatContext *s, AVPacket *pkt) · 90 unmodified lines | ||
| 91 | 91 | return ret; |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | −AVInputFormat ff_mods_demuxer = { | |
| 94 | +const AVInputFormat ff_mods_demuxer = { | |
| 95 | 95 | .name = "mods", |
| 96 | 96 | .long_name = NULL_IF_CONFIG_SMALL("MobiClip MODS"), |
| 97 | 97 | .read_probe = mods_probe, |
| @@ -375,7 +375,7 @@ static int moflex_read_close(AVFormatContext *s) · 374 unmodified lines | ||
| 375 | 375 | return 0; |
| 376 | 376 | } |
| 377 | 377 | |
| 378 | −AVInputFormat ff_moflex_demuxer = { | |
| 378 | +const AVInputFormat ff_moflex_demuxer = { | |
| 379 | 379 | .name = "moflex", |
| 380 | 380 | .long_name = NULL_IF_CONFIG_SMALL("MobiClip MOFLEX"), |
| 381 | 381 | .priv_data_size = sizeof(MOFLEXDemuxContext), |
| @@ -8220,7 +8220,7 @@ static const AVClass mov_class = { · 8219 unmodified lines | ||
| 8220 | 8220 | .version = LIBAVUTIL_VERSION_INT, |
| 8221 | 8221 | }; |
| 8222 | 8222 | |
| 8223 | −AVInputFormat ff_mov_demuxer = { | |
| 8223 | +const AVInputFormat ff_mov_demuxer = { | |
| 8224 | 8224 | .name = "mov,mp4,m4a,3gp,3g2,mj2", |
| 8225 | 8225 | .long_name = NULL_IF_CONFIG_SMALL("QuickTime / MOV"), |
| 8226 | 8226 | .priv_class = &mov_class, |
| @@ -7209,7 +7209,7 @@ static const AVCodecTag codec_f4v_tags[] = { · 7208 unmodified lines | ||
| 7209 | 7209 | |
| 7210 | 7210 | #if CONFIG_MOV_MUXER |
| 7211 | 7211 | MOV_CLASS(mov) |
| 7212 | −AVOutputFormat ff_mov_muxer = { | |
| 7212 | +const AVOutputFormat ff_mov_muxer = { | |
| 7213 | 7213 | .name = "mov", |
| 7214 | 7214 | .long_name = NULL_IF_CONFIG_SMALL("QuickTime / MOV"), |
| 7215 | 7215 | .extensions = "mov", |
| @@ -7232,7 +7232,7 @@ AVOutputFormat ff_mov_muxer = { · 16 unmodified lines | ||
| 7232 | 7232 | #endif |
| 7233 | 7233 | #if CONFIG_TGP_MUXER |
| 7234 | 7234 | MOV_CLASS(tgp) |
| 7235 | −AVOutputFormat ff_tgp_muxer = { | |
| 7235 | +const AVOutputFormat ff_tgp_muxer = { | |
| 7236 | 7236 | .name = "3gp", |
| 7237 | 7237 | .long_name = NULL_IF_CONFIG_SMALL("3GP (3GPP file format)"), |
| 7238 | 7238 | .extensions = "3gp", |
| @@ -7252,7 +7252,7 @@ AVOutputFormat ff_tgp_muxer = { · 13 unmodified lines | ||
| 7252 | 7252 | #endif |
| 7253 | 7253 | #if CONFIG_MP4_MUXER |
| 7254 | 7254 | MOV_CLASS(mp4) |
| 7255 | −AVOutputFormat ff_mp4_muxer = { | |
| 7255 | +const AVOutputFormat ff_mp4_muxer = { | |
| 7256 | 7256 | .name = "mp4", |
| 7257 | 7257 | .long_name = NULL_IF_CONFIG_SMALL("MP4 (MPEG-4 Part 14)"), |
| 7258 | 7258 | .mime_type = "video/mp4", |
| @@ -7274,7 +7274,7 @@ AVOutputFormat ff_mp4_muxer = { · 15 unmodified lines | ||
| 7274 | 7274 | #endif |
| 7275 | 7275 | #if CONFIG_PSP_MUXER |
| 7276 | 7276 | MOV_CLASS(psp) |
| 7277 | −AVOutputFormat ff_psp_muxer = { | |
| 7277 | +const AVOutputFormat ff_psp_muxer = { | |
| 7278 | 7278 | .name = "psp", |
| 7279 | 7279 | .long_name = NULL_IF_CONFIG_SMALL("PSP MP4 (MPEG-4 Part 14)"), |
| 7280 | 7280 | .extensions = "mp4,psp", |
| @@ -7295,7 +7295,7 @@ AVOutputFormat ff_psp_muxer = { · 14 unmodified lines | ||
| 7295 | 7295 | #endif |
| 7296 | 7296 | #if CONFIG_TG2_MUXER |
| 7297 | 7297 | MOV_CLASS(tg2) |
| 7298 | −AVOutputFormat ff_tg2_muxer = { | |
| 7298 | +const AVOutputFormat ff_tg2_muxer = { | |
| 7299 | 7299 | .name = "3g2", |
| 7300 | 7300 | .long_name = NULL_IF_CONFIG_SMALL("3GP2 (3GPP2 file format)"), |
| 7301 | 7301 | .extensions = "3g2", |
| @@ -7315,7 +7315,7 @@ AVOutputFormat ff_tg2_muxer = { · 13 unmodified lines | ||
| 7315 | 7315 | #endif |
| 7316 | 7316 | #if CONFIG_IPOD_MUXER |
| 7317 | 7317 | MOV_CLASS(ipod) |
| 7318 | −AVOutputFormat ff_ipod_muxer = { | |
| 7318 | +const AVOutputFormat ff_ipod_muxer = { | |
| 7319 | 7319 | .name = "ipod", |
| 7320 | 7320 | .long_name = NULL_IF_CONFIG_SMALL("iPod H.264 MP4 (MPEG-4 Part 14)"), |
| 7321 | 7321 | .mime_type = "video/mp4", |
| @@ -7336,7 +7336,7 @@ AVOutputFormat ff_ipod_muxer = { · 14 unmodified lines | ||
| 7336 | 7336 | #endif |
| 7337 | 7337 | #if CONFIG_ISMV_MUXER |
| 7338 | 7338 | MOV_CLASS(ismv) |
| 7339 | −AVOutputFormat ff_ismv_muxer = { | |
| 7339 | +const AVOutputFormat ff_ismv_muxer = { | |
| 7340 | 7340 | .name = "ismv", |
| 7341 | 7341 | .long_name = NULL_IF_CONFIG_SMALL("ISMV/ISMA (Smooth Streaming)"), |
| 7342 | 7342 | .mime_type = "video/mp4", |
| @@ -7358,7 +7358,7 @@ AVOutputFormat ff_ismv_muxer = { · 15 unmodified lines | ||
| 7358 | 7358 | #endif |
| 7359 | 7359 | #if CONFIG_F4V_MUXER |
| 7360 | 7360 | MOV_CLASS(f4v) |
| 7361 | −AVOutputFormat ff_f4v_muxer = { | |
| 7361 | +const AVOutputFormat ff_f4v_muxer = { | |
| 7362 | 7362 | .name = "f4v", |
| 7363 | 7363 | .long_name = NULL_IF_CONFIG_SMALL("F4V Adobe Flash Video"), |
| 7364 | 7364 | .mime_type = "application/f4v", |
| @@ -606,7 +606,7 @@ static const AVClass demuxer_class = { · 605 unmodified lines | ||
| 606 | 606 | .category = AV_CLASS_CATEGORY_DEMUXER, |
| 607 | 607 | }; |
| 608 | 608 | |
| 609 | −AVInputFormat ff_mp3_demuxer = { | |
| 609 | +const AVInputFormat ff_mp3_demuxer = { | |
| 610 | 610 | .name = "mp3", |
| 611 | 611 | .long_name = NULL_IF_CONFIG_SMALL("MP2/3 (MPEG audio layer 2/3)"), |
| 612 | 612 | .read_probe = mp3_read_probe, |
| @@ -636,7 +636,7 @@ static void mp3_deinit(struct AVFormatContext *s) · 635 unmodified lines | ||
| 636 | 636 | av_freep(&mp3->xing_frame); |
| 637 | 637 | } |
| 638 | 638 | |
| 639 | −AVOutputFormat ff_mp3_muxer = { | |
| 639 | +const AVOutputFormat ff_mp3_muxer = { | |
| 640 | 640 | .name = "mp3", |
| 641 | 641 | .long_name = NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"), |
| 642 | 642 | .mime_type = "audio/mpeg", |
| @@ -218,7 +218,7 @@ static int mpc_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 217 unmodified lines | ||
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | |
| 221 | −AVInputFormat ff_mpc_demuxer = { | |
| 221 | +const AVInputFormat ff_mpc_demuxer = { | |
| 222 | 222 | .name = "mpc", |
| 223 | 223 | .long_name = NULL_IF_CONFIG_SMALL("Musepack"), |
| 224 | 224 | .priv_data_size = sizeof(MPCContext), |
| @@ -325,7 +325,7 @@ static int mpc8_read_seek(AVFormatContext *s, int stream_index, int64_t timestam · 324 unmodified lines | ||
| 325 | 325 | } |
| 326 | 326 | |
| 327 | 327 | |
| 328 | −AVInputFormat ff_mpc8_demuxer = { | |
| 328 | +const AVInputFormat ff_mpc8_demuxer = { | |
| 329 | 329 | .name = "mpc8", |
| 330 | 330 | .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"), |
| 331 | 331 | .priv_data_size = sizeof(MPCContext), |
| @@ -681,7 +681,7 @@ static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index, · 680 unmodified lines | ||
| 681 | 681 | return dts; |
| 682 | 682 | } |
| 683 | 683 | |
| 684 | −AVInputFormat ff_mpegps_demuxer = { | |
| 684 | +const AVInputFormat ff_mpegps_demuxer = { | |
| 685 | 685 | .name = "mpeg", |
| 686 | 686 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-PS (MPEG-2 Program Stream)"), |
| 687 | 687 | .priv_data_size = sizeof(MpegDemuxContext), |
| @@ -1040,7 +1040,7 @@ static const AVClass vobsub_demuxer_class = { · 352 unmodified lines | ||
| 1040 | 1040 | .version = LIBAVUTIL_VERSION_INT, |
| 1041 | 1041 | }; |
| 1042 | 1042 | |
| 1043 | −AVInputFormat ff_vobsub_demuxer = { | |
| 1043 | +const AVInputFormat ff_vobsub_demuxer = { | |
| 1044 | 1044 | .name = "vobsub", |
| 1045 | 1045 | .long_name = NULL_IF_CONFIG_SMALL("VobSub subtitle format"), |
| 1046 | 1046 | .priv_data_size = sizeof(VobSubDemuxContext), |
| @@ -83,10 +83,10 @@ typedef struct MpegMuxContext { · 82 unmodified lines | ||
| 83 | 83 | int preload; |
| 84 | 84 | } MpegMuxContext; |
| 85 | 85 | |
| 86 | −extern AVOutputFormat ff_mpeg1vcd_muxer; | |
| 87 | −extern AVOutputFormat ff_mpeg2dvd_muxer; | |
| 88 | −extern AVOutputFormat ff_mpeg2svcd_muxer; | |
| 89 | −extern AVOutputFormat ff_mpeg2vob_muxer; | |
| 86 | +extern const AVOutputFormat ff_mpeg1vcd_muxer; | |
| 87 | +extern const AVOutputFormat ff_mpeg2dvd_muxer; | |
| 88 | +extern const AVOutputFormat ff_mpeg2svcd_muxer; | |
| 89 | +extern const AVOutputFormat ff_mpeg2vob_muxer; | |
| 90 | 90 | |
| 91 | 91 | static int put_pack_header(AVFormatContext *ctx, uint8_t *buf, |
| 92 | 92 | int64_t timestamp) |
| @@ -1290,7 +1290,7 @@ static const AVClass flavor ## _class = { \ · 1197 unmodified lines | ||
| 1290 | 1290 | |
| 1291 | 1291 | #if CONFIG_MPEG1SYSTEM_MUXER |
| 1292 | 1292 | MPEGENC_CLASS(mpeg) |
| 1293 | −AVOutputFormat ff_mpeg1system_muxer = { | |
| 1293 | +const AVOutputFormat ff_mpeg1system_muxer = { | |
| 1294 | 1294 | .name = "mpeg", |
| 1295 | 1295 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 Systems / MPEG program stream"), |
| 1296 | 1296 | .mime_type = "video/mpeg", |
| @@ -1308,7 +1308,7 @@ AVOutputFormat ff_mpeg1system_muxer = { · 11 unmodified lines | ||
| 1308 | 1308 | |
| 1309 | 1309 | #if CONFIG_MPEG1VCD_MUXER |
| 1310 | 1310 | MPEGENC_CLASS(vcd) |
| 1311 | −AVOutputFormat ff_mpeg1vcd_muxer = { | |
| 1311 | +const AVOutputFormat ff_mpeg1vcd_muxer = { | |
| 1312 | 1312 | .name = "vcd", |
| 1313 | 1313 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 Systems / MPEG program stream (VCD)"), |
| 1314 | 1314 | .mime_type = "video/mpeg", |
| @@ -1325,7 +1325,7 @@ AVOutputFormat ff_mpeg1vcd_muxer = { · 10 unmodified lines | ||
| 1325 | 1325 | |
| 1326 | 1326 | #if CONFIG_MPEG2VOB_MUXER |
| 1327 | 1327 | MPEGENC_CLASS(vob) |
| 1328 | −AVOutputFormat ff_mpeg2vob_muxer = { | |
| 1328 | +const AVOutputFormat ff_mpeg2vob_muxer = { | |
| 1329 | 1329 | .name = "vob", |
| 1330 | 1330 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 PS (VOB)"), |
| 1331 | 1331 | .mime_type = "video/mpeg", |
| @@ -1344,7 +1344,7 @@ AVOutputFormat ff_mpeg2vob_muxer = { · 12 unmodified lines | ||
| 1344 | 1344 | /* Same as mpeg2vob_mux except that the pack size is 2324 */ |
| 1345 | 1345 | #if CONFIG_MPEG2SVCD_MUXER |
| 1346 | 1346 | MPEGENC_CLASS(svcd) |
| 1347 | −AVOutputFormat ff_mpeg2svcd_muxer = { | |
| 1347 | +const AVOutputFormat ff_mpeg2svcd_muxer = { | |
| 1348 | 1348 | .name = "svcd", |
| 1349 | 1349 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 PS (SVCD)"), |
| 1350 | 1350 | .mime_type = "video/mpeg", |
| @@ -1363,7 +1363,7 @@ AVOutputFormat ff_mpeg2svcd_muxer = { · 12 unmodified lines | ||
| 1363 | 1363 | /* Same as mpeg2vob_mux except the 'is_dvd' flag is set to produce NAV pkts */ |
| 1364 | 1364 | #if CONFIG_MPEG2DVD_MUXER |
| 1365 | 1365 | MPEGENC_CLASS(dvd) |
| 1366 | −AVOutputFormat ff_mpeg2dvd_muxer = { | |
| 1366 | +const AVOutputFormat ff_mpeg2dvd_muxer = { | |
| 1367 | 1367 | .name = "dvd", |
| 1368 | 1368 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 PS (DVD VOB)"), |
| 1369 | 1369 | .mime_type = "video/mpeg", |
| @@ -266,7 +266,7 @@ typedef struct PESContext { · 265 unmodified lines | ||
| 266 | 266 | int merged_st; |
| 267 | 267 | } PESContext; |
| 268 | 268 | |
| 269 | −extern AVInputFormat ff_mpegts_demuxer; | |
| 269 | +extern const AVInputFormat ff_mpegts_demuxer; | |
| 270 | 270 | |
| 271 | 271 | static struct Program * get_program(MpegTSContext *ts, unsigned int programid) |
| 272 | 272 | { |
| @@ -3389,7 +3389,7 @@ void avpriv_mpegts_parse_close(MpegTSContext *ts) · 3116 unmodified lines | ||
| 3389 | 3389 | av_free(ts); |
| 3390 | 3390 | } |
| 3391 | 3391 | |
| 3392 | −AVInputFormat ff_mpegts_demuxer = { | |
| 3392 | +const AVInputFormat ff_mpegts_demuxer = { | |
| 3393 | 3393 | .name = "mpegts", |
| 3394 | 3394 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"), |
| 3395 | 3395 | .priv_data_size = sizeof(MpegTSContext), |
| @@ -3402,7 +3402,7 @@ AVInputFormat ff_mpegts_demuxer = { · 6 unmodified lines | ||
| 3402 | 3402 | .priv_class = &mpegts_class, |
| 3403 | 3403 | }; |
| 3404 | 3404 | |
| 3405 | −AVInputFormat ff_mpegtsraw_demuxer = { | |
| 3405 | +const AVInputFormat ff_mpegtsraw_demuxer = { | |
| 3406 | 3406 | .name = "mpegtsraw", |
| 3407 | 3407 | .long_name = NULL_IF_CONFIG_SMALL("raw MPEG-TS (MPEG-2 Transport Stream)"), |
| 3408 | 3408 | .priv_data_size = sizeof(MpegTSContext), |
| @@ -2134,7 +2134,7 @@ static const AVClass mpegts_muxer_class = { · 2133 unmodified lines | ||
| 2134 | 2134 | .version = LIBAVUTIL_VERSION_INT, |
| 2135 | 2135 | }; |
| 2136 | 2136 | |
| 2137 | −AVOutputFormat ff_mpegts_muxer = { | |
| 2137 | +const AVOutputFormat ff_mpegts_muxer = { | |
| 2138 | 2138 | .name = "mpegts", |
| 2139 | 2139 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"), |
| 2140 | 2140 | .mime_type = "video/MP2T", |
| @@ -61,7 +61,7 @@ static const AVClass mpjpeg_muxer_class = { · 60 unmodified lines | ||
| 61 | 61 | .version = LIBAVUTIL_VERSION_INT, |
| 62 | 62 | }; |
| 63 | 63 | |
| 64 | −AVOutputFormat ff_mpjpeg_muxer = { | |
| 64 | +const AVOutputFormat ff_mpjpeg_muxer = { | |
| 65 | 65 | .name = "mpjpeg", |
| 66 | 66 | .long_name = NULL_IF_CONFIG_SMALL("MIME multipart JPEG"), |
| 67 | 67 | .mime_type = "multipart/x-mixed-replace;boundary=" BOUNDARY_TAG, |
| @@ -380,7 +380,7 @@ static const AVClass mpjpeg_demuxer_class = { · 379 unmodified lines | ||
| 380 | 380 | .version = LIBAVUTIL_VERSION_INT, |
| 381 | 381 | }; |
| 382 | 382 | |
| 383 | −AVInputFormat ff_mpjpeg_demuxer = { | |
| 383 | +const AVInputFormat ff_mpjpeg_demuxer = { | |
| 384 | 384 | .name = "mpjpeg", |
| 385 | 385 | .long_name = NULL_IF_CONFIG_SMALL("MIME multipart JPEG"), |
| 386 | 386 | .mime_type = "multipart/x-mixed-replace", |
| @@ -145,7 +145,7 @@ static int mpl2_read_close(AVFormatContext *s) · 144 unmodified lines | ||
| 145 | 145 | return 0; |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | −AVInputFormat ff_mpl2_demuxer = { | |
| 148 | +const AVInputFormat ff_mpl2_demuxer = { | |
| 149 | 149 | .name = "mpl2", |
| 150 | 150 | .long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitles"), |
| 151 | 151 | .priv_data_size = sizeof(MPL2Context), |
| @@ -193,7 +193,7 @@ static int mpsub_read_close(AVFormatContext *s) · 192 unmodified lines | ||
| 193 | 193 | return 0; |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | −AVInputFormat ff_mpsub_demuxer = { | |
| 196 | +const AVInputFormat ff_mpsub_demuxer = { | |
| 197 | 197 | .name = "mpsub", |
| 198 | 198 | .long_name = NULL_IF_CONFIG_SMALL("MPlayer subtitles"), |
| 199 | 199 | .priv_data_size = sizeof(MPSubContext), |
| @@ -100,7 +100,7 @@ static int msf_read_packet(AVFormatContext *s, AVPacket *pkt) · 99 unmodified lines | ||
| 100 | 100 | return av_get_packet(s->pb, pkt, par->block_align ? par->block_align : 1024 * par->channels); |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | −AVInputFormat ff_msf_demuxer = { | |
| 103 | +const AVInputFormat ff_msf_demuxer = { | |
| 104 | 104 | .name = "msf", |
| 105 | 105 | .long_name = NULL_IF_CONFIG_SMALL("Sony PS3 MSF"), |
| 106 | 106 | .read_probe = msf_probe, |
| @@ -136,7 +136,7 @@ static int msnwc_tcp_read_packet(AVFormatContext *ctx, AVPacket *pkt) · 135 unmodified lines | ||
| 136 | 136 | return HEADER_SIZE + size; |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | −AVInputFormat ff_msnwc_tcp_demuxer = { | |
| 139 | +const AVInputFormat ff_msnwc_tcp_demuxer = { | |
| 140 | 140 | .name = "msnwctcp", |
| 141 | 141 | .long_name = NULL_IF_CONFIG_SMALL("MSN TCP Webcam stream"), |
| 142 | 142 | .read_probe = msnwc_tcp_probe, |
| @@ -106,7 +106,7 @@ static int msp_read_packet(AVFormatContext *s, AVPacket *pkt) · 105 unmodified lines | ||
| 106 | 106 | return 0; |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | −AVInputFormat ff_msp_demuxer = { | |
| 109 | +const AVInputFormat ff_msp_demuxer = { | |
| 110 | 110 | .name = "msp", |
| 111 | 111 | .long_name = NULL_IF_CONFIG_SMALL("Microsoft Paint (MSP))"), |
| 112 | 112 | .read_probe = msp_probe, |
| @@ -71,7 +71,7 @@ static int mtaf_read_packet(AVFormatContext *s, AVPacket *pkt) · 70 unmodified lines | ||
| 71 | 71 | return av_get_packet(s->pb, pkt, par->block_align); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | −AVInputFormat ff_mtaf_demuxer = { | |
| 74 | +const AVInputFormat ff_mtaf_demuxer = { | |
| 75 | 75 | .name = "mtaf", |
| 76 | 76 | .long_name = NULL_IF_CONFIG_SMALL("Konami PS2 MTAF"), |
| 77 | 77 | .read_probe = mtaf_probe, |
| @@ -225,7 +225,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt) · 224 unmodified lines | ||
| 225 | 225 | return ret; |
| 226 | 226 | } |
| 227 | 227 | |
| 228 | −AVInputFormat ff_mtv_demuxer = { | |
| 228 | +const AVInputFormat ff_mtv_demuxer = { | |
| 229 | 229 | .name = "mtv", |
| 230 | 230 | .long_name = NULL_IF_CONFIG_SMALL("MTV"), |
| 231 | 231 | .priv_data_size = sizeof(MTVDemuxContext), |
| @@ -178,7 +178,7 @@ static int musx_read_packet(AVFormatContext *s, AVPacket *pkt) · 177 unmodified lines | ||
| 178 | 178 | return av_get_packet(s->pb, pkt, par->block_align); |
| 179 | 179 | } |
| 180 | 180 | |
| 181 | −AVInputFormat ff_musx_demuxer = { | |
| 181 | +const AVInputFormat ff_musx_demuxer = { | |
| 182 | 182 | .name = "musx", |
| 183 | 183 | .long_name = NULL_IF_CONFIG_SMALL("Eurocom MUSX"), |
| 184 | 184 | .read_probe = musx_probe, |
| @@ -498,7 +498,7 @@ static int mv_read_seek(AVFormatContext *avctx, int stream_index, · 497 unmodified lines | ||
| 498 | 498 | return 0; |
| 499 | 499 | } |
| 500 | 500 | |
| 501 | −AVInputFormat ff_mv_demuxer = { | |
| 501 | +const AVInputFormat ff_mv_demuxer = { | |
| 502 | 502 | .name = "mv", |
| 503 | 503 | .long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics Movie"), |
| 504 | 504 | .priv_data_size = sizeof(MvContext), |
| @@ -143,7 +143,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 142 unmodified lines | ||
| 143 | 143 | return 0; |
| 144 | 144 | } |
| 145 | 145 | |
| 146 | −AVInputFormat ff_mvi_demuxer = { | |
| 146 | +const AVInputFormat ff_mvi_demuxer = { | |
| 147 | 147 | .name = "mvi", |
| 148 | 148 | .long_name = NULL_IF_CONFIG_SMALL("Motion Pixels MVI"), |
| 149 | 149 | .priv_data_size = sizeof(MviDemuxContext), |
| @@ -3911,7 +3911,7 @@ static const AVClass demuxer_class = { · 3910 unmodified lines | ||
| 3911 | 3911 | .category = AV_CLASS_CATEGORY_DEMUXER, |
| 3912 | 3912 | }; |
| 3913 | 3913 | |
| 3914 | −AVInputFormat ff_mxf_demuxer = { | |
| 3914 | +const AVInputFormat ff_mxf_demuxer = { | |
| 3915 | 3915 | .name = "mxf", |
| 3916 | 3916 | .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format)"), |
| 3917 | 3917 | .flags = AVFMT_SEEK_TO_PTS, |
| @@ -61,8 +61,8 @@ · 60 unmodified lines | ||
| 61 | 61 | #include "mxf.h" |
| 62 | 62 | #include "config.h" |
| 63 | 63 | |
| 64 | −extern AVOutputFormat ff_mxf_d10_muxer; | |
| 65 | −extern AVOutputFormat ff_mxf_opatom_muxer; | |
| 64 | +extern const AVOutputFormat ff_mxf_d10_muxer; | |
| 65 | +extern const AVOutputFormat ff_mxf_opatom_muxer; | |
| 66 | 66 | |
| 67 | 67 | #define EDIT_UNITS_PER_BODY 250 |
| 68 | 68 | #define KAG_SIZE 512 |
| @@ -3239,7 +3239,7 @@ static const AVClass mxf_opatom_muxer_class = { · 3170 unmodified lines | ||
| 3239 | 3239 | .version = LIBAVUTIL_VERSION_INT, |
| 3240 | 3240 | }; |
| 3241 | 3241 | |
| 3242 | −AVOutputFormat ff_mxf_muxer = { | |
| 3242 | +const AVOutputFormat ff_mxf_muxer = { | |
| 3243 | 3243 | .name = "mxf", |
| 3244 | 3244 | .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format)"), |
| 3245 | 3245 | .mime_type = "application/mxf", |
| @@ -3256,7 +3256,7 @@ AVOutputFormat ff_mxf_muxer = { · 10 unmodified lines | ||
| 3256 | 3256 | .priv_class = &mxf_muxer_class, |
| 3257 | 3257 | }; |
| 3258 | 3258 | |
| 3259 | −AVOutputFormat ff_mxf_d10_muxer = { | |
| 3259 | +const AVOutputFormat ff_mxf_d10_muxer = { | |
| 3260 | 3260 | .name = "mxf_d10", |
| 3261 | 3261 | .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format) D-10 Mapping"), |
| 3262 | 3262 | .mime_type = "application/mxf", |
| @@ -3272,7 +3272,7 @@ AVOutputFormat ff_mxf_d10_muxer = { · 9 unmodified lines | ||
| 3272 | 3272 | .priv_class = &mxf_d10_muxer_class, |
| 3273 | 3273 | }; |
| 3274 | 3274 | |
| 3275 | −AVOutputFormat ff_mxf_opatom_muxer = { | |
| 3275 | +const AVOutputFormat ff_mxf_opatom_muxer = { | |
| 3276 | 3276 | .name = "mxf_opatom", |
| 3277 | 3277 | .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format) Operational Pattern Atom"), |
| 3278 | 3278 | .mime_type = "application/mxf", |
| @@ -249,7 +249,7 @@ static int mxg_close(struct AVFormatContext *s) · 248 unmodified lines | ||
| 249 | 249 | return 0; |
| 250 | 250 | } |
| 251 | 251 | |
| 252 | −AVInputFormat ff_mxg_demuxer = { | |
| 252 | +const AVInputFormat ff_mxg_demuxer = { | |
| 253 | 253 | .name = "mxg", |
| 254 | 254 | .long_name = NULL_IF_CONFIG_SMALL("MxPEG clip"), |
| 255 | 255 | .priv_data_size = sizeof(MXGContext), |
| @@ -90,7 +90,7 @@ static int nc_read_packet(AVFormatContext *s, AVPacket *pkt) · 89 unmodified lines | ||
| 90 | 90 | return size; |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | −AVInputFormat ff_nc_demuxer = { | |
| 93 | +const AVInputFormat ff_nc_demuxer = { | |
| 94 | 94 | .name = "nc", |
| 95 | 95 | .long_name = NULL_IF_CONFIG_SMALL("NC camera feed"), |
| 96 | 96 | .read_probe = nc_probe, |
| @@ -132,7 +132,7 @@ static int nist_read_header(AVFormatContext *s) · 131 unmodified lines | ||
| 132 | 132 | return AVERROR_EOF; |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | −AVInputFormat ff_nistsphere_demuxer = { | |
| 135 | +const AVInputFormat ff_nistsphere_demuxer = { | |
| 136 | 136 | .name = "nistsphere", |
| 137 | 137 | .long_name = NULL_IF_CONFIG_SMALL("NIST SPeech HEader REsources"), |
| 138 | 138 | .read_probe = nist_probe, |
| @@ -96,7 +96,7 @@ static int nsp_read_header(AVFormatContext *s) · 95 unmodified lines | ||
| 96 | 96 | return 0; |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | −AVInputFormat ff_nsp_demuxer = { | |
| 99 | +const AVInputFormat ff_nsp_demuxer = { | |
| 100 | 100 | .name = "nsp", |
| 101 | 101 | .long_name = NULL_IF_CONFIG_SMALL("Computerized Speech Lab NSP"), |
| 102 | 102 | .read_probe = nsp_probe, |
| @@ -734,7 +734,7 @@ static int nsv_probe(const AVProbeData *p) · 733 unmodified lines | ||
| 734 | 734 | return score; |
| 735 | 735 | } |
| 736 | 736 | |
| 737 | −AVInputFormat ff_nsv_demuxer = { | |
| 737 | +const AVInputFormat ff_nsv_demuxer = { | |
| 738 | 738 | .name = "nsv", |
| 739 | 739 | .long_name = NULL_IF_CONFIG_SMALL("Nullsoft Streaming Video"), |
| 740 | 740 | .priv_data_size = sizeof(NSVContext), |
| @@ -26,7 +26,7 @@ static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt) · 25 unmodified lines | ||
| 26 | 26 | return 0; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | −AVOutputFormat ff_null_muxer = { | |
| 29 | +const AVOutputFormat ff_null_muxer = { | |
| 30 | 30 | .name = "null", |
| 31 | 31 | .long_name = NULL_IF_CONFIG_SMALL("raw null video"), |
| 32 | 32 | .audio_codec = AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE), |
| @@ -1292,7 +1292,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 1291 unmodified lines | ||
| 1292 | 1292 | return 0; |
| 1293 | 1293 | } |
| 1294 | 1294 | |
| 1295 | −AVInputFormat ff_nut_demuxer = { | |
| 1295 | +const AVInputFormat ff_nut_demuxer = { | |
| 1296 | 1296 | .name = "nut", |
| 1297 | 1297 | .long_name = NULL_IF_CONFIG_SMALL("NUT"), |
| 1298 | 1298 | .flags = AVFMT_SEEK_TO_PTS, |
| @@ -1228,7 +1228,7 @@ static const AVClass class = { · 1227 unmodified lines | ||
| 1228 | 1228 | .version = LIBAVUTIL_VERSION_INT, |
| 1229 | 1229 | }; |
| 1230 | 1230 | |
| 1231 | −AVOutputFormat ff_nut_muxer = { | |
| 1231 | +const AVOutputFormat ff_nut_muxer = { | |
| 1232 | 1232 | .name = "nut", |
| 1233 | 1233 | .long_name = NULL_IF_CONFIG_SMALL("NUT"), |
| 1234 | 1234 | .mime_type = "video/x-nut", |
| @@ -394,7 +394,7 @@ static int64_t nuv_read_dts(AVFormatContext *s, int stream_index, · 393 unmodified lines | ||
| 394 | 394 | } |
| 395 | 395 | |
| 396 | 396 | |
| 397 | −AVInputFormat ff_nuv_demuxer = { | |
| 397 | +const AVInputFormat ff_nuv_demuxer = { | |
| 398 | 398 | .name = "nuv", |
| 399 | 399 | .long_name = NULL_IF_CONFIG_SMALL("NuppelVideo"), |
| 400 | 400 | .priv_data_size = sizeof(NUVContext), |
| @@ -966,7 +966,7 @@ static int ogg_probe(const AVProbeData *p) · 965 unmodified lines | ||
| 966 | 966 | return 0; |
| 967 | 967 | } |
| 968 | 968 | |
| 969 | −AVInputFormat ff_ogg_demuxer = { | |
| 969 | +const AVInputFormat ff_ogg_demuxer = { | |
| 970 | 970 | .name = "ogg", |
| 971 | 971 | .long_name = NULL_IF_CONFIG_SMALL("Ogg"), |
| 972 | 972 | .priv_data_size = sizeof(struct ogg), |
| @@ -745,7 +745,7 @@ static void ogg_free(AVFormatContext *s) · 744 unmodified lines | ||
| 745 | 745 | |
| 746 | 746 | #if CONFIG_OGG_MUXER |
| 747 | 747 | OGG_CLASS(ogg, Ogg) |
| 748 | −AVOutputFormat ff_ogg_muxer = { | |
| 748 | +const AVOutputFormat ff_ogg_muxer = { | |
| 749 | 749 | .name = "ogg", |
| 750 | 750 | .long_name = NULL_IF_CONFIG_SMALL("Ogg"), |
| 751 | 751 | .mime_type = "application/ogg", |
| @@ -776,7 +776,7 @@ AVOutputFormat ff_ogg_muxer = { · 24 unmodified lines | ||
| 776 | 776 | |
| 777 | 777 | #if CONFIG_OGA_MUXER |
| 778 | 778 | OGG_CLASS(oga, Ogg audio) |
| 779 | −AVOutputFormat ff_oga_muxer = { | |
| 779 | +const AVOutputFormat ff_oga_muxer = { | |
| 780 | 780 | .name = "oga", |
| 781 | 781 | .long_name = NULL_IF_CONFIG_SMALL("Ogg Audio"), |
| 782 | 782 | .mime_type = "audio/ogg", |
| @@ -795,7 +795,7 @@ AVOutputFormat ff_oga_muxer = { · 12 unmodified lines | ||
| 795 | 795 | |
| 796 | 796 | #if CONFIG_OGV_MUXER |
| 797 | 797 | OGG_CLASS(ogv, Ogg video) |
| 798 | −AVOutputFormat ff_ogv_muxer = { | |
| 798 | +const AVOutputFormat ff_ogv_muxer = { | |
| 799 | 799 | .name = "ogv", |
| 800 | 800 | .long_name = NULL_IF_CONFIG_SMALL("Ogg Video"), |
| 801 | 801 | .mime_type = "video/ogg", |
| @@ -817,7 +817,7 @@ AVOutputFormat ff_ogv_muxer = { · 15 unmodified lines | ||
| 817 | 817 | |
| 818 | 818 | #if CONFIG_SPX_MUXER |
| 819 | 819 | OGG_CLASS(spx, Ogg Speex) |
| 820 | −AVOutputFormat ff_spx_muxer = { | |
| 820 | +const AVOutputFormat ff_spx_muxer = { | |
| 821 | 821 | .name = "spx", |
| 822 | 822 | .long_name = NULL_IF_CONFIG_SMALL("Ogg Speex"), |
| 823 | 823 | .mime_type = "audio/ogg", |
| @@ -836,7 +836,7 @@ AVOutputFormat ff_spx_muxer = { · 12 unmodified lines | ||
| 836 | 836 | |
| 837 | 837 | #if CONFIG_OPUS_MUXER |
| 838 | 838 | OGG_CLASS(opus, Ogg Opus) |
| 839 | −AVOutputFormat ff_opus_muxer = { | |
| 839 | +const AVOutputFormat ff_opus_muxer = { | |
| 840 | 840 | .name = "opus", |
| 841 | 841 | .long_name = NULL_IF_CONFIG_SMALL("Ogg Opus"), |
| 842 | 842 | .mime_type = "audio/ogg", |
| @@ -624,7 +624,7 @@ wipe: · 623 unmodified lines | ||
| 624 | 624 | return err; |
| 625 | 625 | } |
| 626 | 626 | |
| 627 | −AVInputFormat ff_oma_demuxer = { | |
| 627 | +const AVInputFormat ff_oma_demuxer = { | |
| 628 | 628 | .name = "oma", |
| 629 | 629 | .long_name = NULL_IF_CONFIG_SMALL("Sony OpenMG audio"), |
| 630 | 630 | .priv_data_size = sizeof(OMAContext), |
| @@ -94,7 +94,7 @@ static av_cold int oma_write_header(AVFormatContext *s) · 93 unmodified lines | ||
| 94 | 94 | return 0; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | −AVOutputFormat ff_oma_muxer = { | |
| 97 | +const AVOutputFormat ff_oma_muxer = { | |
| 98 | 98 | .name = "oma", |
| 99 | 99 | .long_name = NULL_IF_CONFIG_SMALL("Sony OpenMG audio"), |
| 100 | 100 | .mime_type = "audio/x-oma", |
| @@ -271,7 +271,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 270 unmodified lines | ||
| 271 | 271 | return pkt->size; |
| 272 | 272 | } |
| 273 | 273 | |
| 274 | −AVInputFormat ff_paf_demuxer = { | |
| 274 | +const AVInputFormat ff_paf_demuxer = { | |
| 275 | 275 | .name = "paf", |
| 276 | 276 | .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File"), |
| 277 | 277 | .priv_data_size = sizeof(PAFDemuxContext), |
| @@ -108,7 +108,7 @@ static const AVClass name_ ## _demuxer_class = { \ · 107 unmodified lines | ||
| 108 | 108 | .option = pcm_options, \ |
| 109 | 109 | .version = LIBAVUTIL_VERSION_INT, \ |
| 110 | 110 | }; \ |
| 111 | −AVInputFormat ff_pcm_ ## name_ ## _demuxer = { \ | |
| 111 | +const AVInputFormat ff_pcm_ ## name_ ## _demuxer = { \ | |
| 112 | 112 | .name = #name_, \ |
| 113 | 113 | .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ |
| 114 | 114 | .priv_data_size = sizeof(PCMAudioDemuxerContext), \ |
| @@ -168,7 +168,7 @@ static const AVClass sln_demuxer_class = { · 53 unmodified lines | ||
| 168 | 168 | .version = LIBAVUTIL_VERSION_INT, |
| 169 | 169 | }; |
| 170 | 170 | |
| 171 | −AVInputFormat ff_sln_demuxer = { | |
| 171 | +const AVInputFormat ff_sln_demuxer = { | |
| 172 | 172 | .name = "sln", |
| 173 | 173 | .long_name = NULL_IF_CONFIG_SMALL("Asterisk raw pcm"), |
| 174 | 174 | .priv_data_size = sizeof(PCMAudioDemuxerContext), |
| @@ -24,7 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #define PCMDEF_0(name_, long_name_, ext, codec) |
| 26 | 26 | #define PCMDEF_1(name_, long_name_, ext, codec) \ |
| 27 | −AVOutputFormat ff_pcm_ ## name_ ## _muxer = { \ | |
| 27 | +const AVOutputFormat ff_pcm_ ## name_ ## _muxer = { \ | |
| 28 | 28 | .name = #name_, \ |
| 29 | 29 | .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ |
| 30 | 30 | .extensions = ext, \ |
| @@ -128,7 +128,7 @@ static int pjs_read_close(AVFormatContext *s) · 127 unmodified lines | ||
| 128 | 128 | return 0; |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | −AVInputFormat ff_pjs_demuxer = { | |
| 131 | +const AVInputFormat ff_pjs_demuxer = { | |
| 132 | 132 | .name = "pjs", |
| 133 | 133 | .long_name = NULL_IF_CONFIG_SMALL("PJS (Phoenix Japanimation Society) subtitles"), |
| 134 | 134 | .priv_data_size = sizeof(PJSContext), |
| @@ -183,7 +183,7 @@ static int pmp_close(AVFormatContext *s) · 182 unmodified lines | ||
| 183 | 183 | return 0; |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | −AVInputFormat ff_pmp_demuxer = { | |
| 186 | +const AVInputFormat ff_pmp_demuxer = { | |
| 187 | 187 | .name = "pmp", |
| 188 | 188 | .long_name = NULL_IF_CONFIG_SMALL("Playstation Portable PMP"), |
| 189 | 189 | .priv_data_size = sizeof(PMPContext), |
| @@ -332,7 +332,7 @@ static int pp_bnk_seek(AVFormatContext *s, int stream_index, · 331 unmodified lines | ||
| 332 | 332 | return 0; |
| 333 | 333 | } |
| 334 | 334 | |
| 335 | −AVInputFormat ff_pp_bnk_demuxer = { | |
| 335 | +const AVInputFormat ff_pp_bnk_demuxer = { | |
| 336 | 336 | .name = "pp_bnk", |
| 337 | 337 | .long_name = NULL_IF_CONFIG_SMALL("Pro Pinball Series Soundbank"), |
| 338 | 338 | .priv_data_size = sizeof(PPBnkCtx), |
| @@ -299,7 +299,7 @@ static int str_read_close(AVFormatContext *s) · 298 unmodified lines | ||
| 299 | 299 | return 0; |
| 300 | 300 | } |
| 301 | 301 | |
| 302 | −AVInputFormat ff_str_demuxer = { | |
| 302 | +const AVInputFormat ff_str_demuxer = { | |
| 303 | 303 | .name = "psxstr", |
| 304 | 304 | .long_name = NULL_IF_CONFIG_SMALL("Sony Playstation STR"), |
| 305 | 305 | .priv_data_size = sizeof(StrDemuxContext), |
| @@ -227,7 +227,7 @@ static int64_t pva_read_timestamp(struct AVFormatContext *s, int stream_index, · 226 unmodified lines | ||
| 227 | 227 | return res; |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | −AVInputFormat ff_pva_demuxer = { | |
| 230 | +const AVInputFormat ff_pva_demuxer = { | |
| 231 | 231 | .name = "pva", |
| 232 | 232 | .long_name = NULL_IF_CONFIG_SMALL("TechnoTrend PVA"), |
| 233 | 233 | .priv_data_size = sizeof(PVAContext), |
| @@ -65,7 +65,7 @@ static int pvf_read_header(AVFormatContext *s) · 64 unmodified lines | ||
| 65 | 65 | return 0; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | −AVInputFormat ff_pvf_demuxer = { | |
| 68 | +const AVInputFormat ff_pvf_demuxer = { | |
| 69 | 69 | .name = "pvf", |
| 70 | 70 | .long_name = NULL_IF_CONFIG_SMALL("PVF (Portable Voice Format)"), |
| 71 | 71 | .read_probe = pvf_probe, |
| @@ -195,7 +195,7 @@ static int qcp_read_packet(AVFormatContext *s, AVPacket *pkt) · 194 unmodified lines | ||
| 195 | 195 | return AVERROR_EOF; |
| 196 | 196 | } |
| 197 | 197 | |
| 198 | −AVInputFormat ff_qcp_demuxer = { | |
| 198 | +const AVInputFormat ff_qcp_demuxer = { | |
| 199 | 199 | .name = "qcp", |
| 200 | 200 | .long_name = NULL_IF_CONFIG_SMALL("QCP"), |
| 201 | 201 | .priv_data_size = sizeof(QCPContext), |
| @@ -400,7 +400,7 @@ static int r3d_seek(AVFormatContext *s, int stream_index, int64_t sample_time, i · 399 unmodified lines | ||
| 400 | 400 | return 0; |
| 401 | 401 | } |
| 402 | 402 | |
| 403 | −AVInputFormat ff_r3d_demuxer = { | |
| 403 | +const AVInputFormat ff_r3d_demuxer = { | |
| 404 | 404 | .name = "r3d", |
| 405 | 405 | .long_name = NULL_IF_CONFIG_SMALL("REDCODE R3D"), |
| 406 | 406 | .priv_data_size = sizeof(R3DContext), |
| @@ -133,7 +133,7 @@ const AVOption ff_raw_options[] = { · 132 unmodified lines | ||
| 133 | 133 | #if CONFIG_DATA_DEMUXER |
| 134 | 134 | FF_RAW_DEMUXER_CLASS(raw_data) |
| 135 | 135 | |
| 136 | −AVInputFormat ff_data_demuxer = { | |
| 136 | +const AVInputFormat ff_data_demuxer = { | |
| 137 | 137 | .name = "data", |
| 138 | 138 | .long_name = NULL_IF_CONFIG_SMALL("raw data"), |
| 139 | 139 | .read_header = ff_raw_data_read_header, |
| @@ -70,7 +70,7 @@ static const AVClass name ## _demuxer_class = {\ · 69 unmodified lines | ||
| 70 | 70 | |
| 71 | 71 | #define FF_DEF_RAWVIDEO_DEMUXER2(shortname, longname, probe, ext, id, flag)\ |
| 72 | 72 | FF_RAWVIDEO_DEMUXER_CLASS(shortname)\ |
| 73 | −AVInputFormat ff_ ## shortname ## _demuxer = {\ | |
| 73 | +const AVInputFormat ff_ ## shortname ## _demuxer = {\ | |
| 74 | 74 | .name = #shortname,\ |
| 75 | 75 | .long_name = NULL_IF_CONFIG_SMALL(longname),\ |
| 76 | 76 | .read_probe = probe,\ |
| @@ -96,7 +96,7 @@ static const AVClass name ## _demuxer_class = {\ · 19 unmodified lines | ||
| 96 | 96 | |
| 97 | 97 | #define FF_DEF_RAWSUB_DEMUXER(shortname, longname, probe, ext, id, flag)\ |
| 98 | 98 | FF_RAWSUB_DEMUXER_CLASS(shortname)\ |
| 99 | −AVInputFormat ff_ ## shortname ## _demuxer = {\ | |
| 99 | +const AVInputFormat ff_ ## shortname ## _demuxer = {\ | |
| 100 | 100 | .name = #shortname,\ |
| 101 | 101 | .long_name = NULL_IF_CONFIG_SMALL(longname),\ |
| 102 | 102 | .read_probe = probe,\ |
| @@ -57,7 +57,7 @@ static int force_one_stream(AVFormatContext *s) · 56 unmodified lines | ||
| 57 | 57 | /* Note: Do not forget to add new entries to the Makefile as well. */ |
| 58 | 58 | |
| 59 | 59 | #if CONFIG_AC3_MUXER |
| 60 | −AVOutputFormat ff_ac3_muxer = { | |
| 60 | +const AVOutputFormat ff_ac3_muxer = { | |
| 61 | 61 | .name = "ac3", |
| 62 | 62 | .long_name = NULL_IF_CONFIG_SMALL("raw AC-3"), |
| 63 | 63 | .mime_type = "audio/x-ac3", |
| @@ -90,7 +90,7 @@ static int adx_write_trailer(AVFormatContext *s) · 26 unmodified lines | ||
| 90 | 90 | return 0; |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | −AVOutputFormat ff_adx_muxer = { | |
| 93 | +const AVOutputFormat ff_adx_muxer = { | |
| 94 | 94 | .name = "adx", |
| 95 | 95 | .long_name = NULL_IF_CONFIG_SMALL("CRI ADX"), |
| 96 | 96 | .extensions = "adx", |
| @@ -104,7 +104,7 @@ AVOutputFormat ff_adx_muxer = { · 7 unmodified lines | ||
| 104 | 104 | #endif |
| 105 | 105 | |
| 106 | 106 | #if CONFIG_APTX_MUXER |
| 107 | −AVOutputFormat ff_aptx_muxer = { | |
| 107 | +const AVOutputFormat ff_aptx_muxer = { | |
| 108 | 108 | .name = "aptx", |
| 109 | 109 | .long_name = NULL_IF_CONFIG_SMALL("raw aptX (Audio Processing Technology for Bluetooth)"), |
| 110 | 110 | .extensions = "aptx", |
| @@ -117,7 +117,7 @@ AVOutputFormat ff_aptx_muxer = { · 6 unmodified lines | ||
| 117 | 117 | #endif |
| 118 | 118 | |
| 119 | 119 | #if CONFIG_APTX_HD_MUXER |
| 120 | −AVOutputFormat ff_aptx_hd_muxer = { | |
| 120 | +const AVOutputFormat ff_aptx_hd_muxer = { | |
| 121 | 121 | .name = "aptx_hd", |
| 122 | 122 | .long_name = NULL_IF_CONFIG_SMALL("raw aptX HD (Audio Processing Technology for Bluetooth)"), |
| 123 | 123 | .extensions = "aptxhd", |
| @@ -130,7 +130,7 @@ AVOutputFormat ff_aptx_hd_muxer = { · 6 unmodified lines | ||
| 130 | 130 | #endif |
| 131 | 131 | |
| 132 | 132 | #if CONFIG_AVS2_MUXER |
| 133 | −AVOutputFormat ff_avs2_muxer = { | |
| 133 | +const AVOutputFormat ff_avs2_muxer = { | |
| 134 | 134 | .name = "avs2", |
| 135 | 135 | .long_name = NULL_IF_CONFIG_SMALL("raw AVS2-P2/IEEE1857.4 video"), |
| 136 | 136 | .extensions = "avs,avs2", |
| @@ -143,7 +143,7 @@ AVOutputFormat ff_avs2_muxer = { · 6 unmodified lines | ||
| 143 | 143 | #endif |
| 144 | 144 | |
| 145 | 145 | #if CONFIG_CAVSVIDEO_MUXER |
| 146 | −AVOutputFormat ff_cavsvideo_muxer = { | |
| 146 | +const AVOutputFormat ff_cavsvideo_muxer = { | |
| 147 | 147 | .name = "cavsvideo", |
| 148 | 148 | .long_name = NULL_IF_CONFIG_SMALL("raw Chinese AVS (Audio Video Standard) video"), |
| 149 | 149 | .extensions = "cavs", |
| @@ -156,7 +156,7 @@ AVOutputFormat ff_cavsvideo_muxer = { · 6 unmodified lines | ||
| 156 | 156 | #endif |
| 157 | 157 | |
| 158 | 158 | #if CONFIG_CODEC2RAW_MUXER |
| 159 | −AVOutputFormat ff_codec2raw_muxer = { | |
| 159 | +const AVOutputFormat ff_codec2raw_muxer = { | |
| 160 | 160 | .name = "codec2raw", |
| 161 | 161 | .long_name = NULL_IF_CONFIG_SMALL("raw codec2 muxer"), |
| 162 | 162 | .audio_codec = AV_CODEC_ID_CODEC2, |
| @@ -169,7 +169,7 @@ AVOutputFormat ff_codec2raw_muxer = { · 6 unmodified lines | ||
| 169 | 169 | |
| 170 | 170 | |
| 171 | 171 | #if CONFIG_DATA_MUXER |
| 172 | −AVOutputFormat ff_data_muxer = { | |
| 172 | +const AVOutputFormat ff_data_muxer = { | |
| 173 | 173 | .name = "data", |
| 174 | 174 | .long_name = NULL_IF_CONFIG_SMALL("raw data"), |
| 175 | 175 | .init = force_one_stream, |
| @@ -179,7 +179,7 @@ AVOutputFormat ff_data_muxer = { · 3 unmodified lines | ||
| 179 | 179 | #endif |
| 180 | 180 | |
| 181 | 181 | #if CONFIG_DIRAC_MUXER |
| 182 | −AVOutputFormat ff_dirac_muxer = { | |
| 182 | +const AVOutputFormat ff_dirac_muxer = { | |
| 183 | 183 | .name = "dirac", |
| 184 | 184 | .long_name = NULL_IF_CONFIG_SMALL("raw Dirac"), |
| 185 | 185 | .extensions = "drc,vc2", |
| @@ -192,7 +192,7 @@ AVOutputFormat ff_dirac_muxer = { · 6 unmodified lines | ||
| 192 | 192 | #endif |
| 193 | 193 | |
| 194 | 194 | #if CONFIG_DNXHD_MUXER |
| 195 | −AVOutputFormat ff_dnxhd_muxer = { | |
| 195 | +const AVOutputFormat ff_dnxhd_muxer = { | |
| 196 | 196 | .name = "dnxhd", |
| 197 | 197 | .long_name = NULL_IF_CONFIG_SMALL("raw DNxHD (SMPTE VC-3)"), |
| 198 | 198 | .extensions = "dnxhd,dnxhr", |
| @@ -205,7 +205,7 @@ AVOutputFormat ff_dnxhd_muxer = { · 6 unmodified lines | ||
| 205 | 205 | #endif |
| 206 | 206 | |
| 207 | 207 | #if CONFIG_DTS_MUXER |
| 208 | −AVOutputFormat ff_dts_muxer = { | |
| 208 | +const AVOutputFormat ff_dts_muxer = { | |
| 209 | 209 | .name = "dts", |
| 210 | 210 | .long_name = NULL_IF_CONFIG_SMALL("raw DTS"), |
| 211 | 211 | .mime_type = "audio/x-dca", |
| @@ -219,7 +219,7 @@ AVOutputFormat ff_dts_muxer = { · 7 unmodified lines | ||
| 219 | 219 | #endif |
| 220 | 220 | |
| 221 | 221 | #if CONFIG_EAC3_MUXER |
| 222 | −AVOutputFormat ff_eac3_muxer = { | |
| 222 | +const AVOutputFormat ff_eac3_muxer = { | |
| 223 | 223 | .name = "eac3", |
| 224 | 224 | .long_name = NULL_IF_CONFIG_SMALL("raw E-AC-3"), |
| 225 | 225 | .mime_type = "audio/x-eac3", |
| @@ -233,7 +233,7 @@ AVOutputFormat ff_eac3_muxer = { · 7 unmodified lines | ||
| 233 | 233 | #endif |
| 234 | 234 | |
| 235 | 235 | #if CONFIG_G722_MUXER |
| 236 | −AVOutputFormat ff_g722_muxer = { | |
| 236 | +const AVOutputFormat ff_g722_muxer = { | |
| 237 | 237 | .name = "g722", |
| 238 | 238 | .long_name = NULL_IF_CONFIG_SMALL("raw G.722"), |
| 239 | 239 | .mime_type = "audio/G722", |
| @@ -247,7 +247,7 @@ AVOutputFormat ff_g722_muxer = { · 7 unmodified lines | ||
| 247 | 247 | #endif |
| 248 | 248 | |
| 249 | 249 | #if CONFIG_G723_1_MUXER |
| 250 | −AVOutputFormat ff_g723_1_muxer = { | |
| 250 | +const AVOutputFormat ff_g723_1_muxer = { | |
| 251 | 251 | .name = "g723_1", |
| 252 | 252 | .long_name = NULL_IF_CONFIG_SMALL("raw G.723.1"), |
| 253 | 253 | .mime_type = "audio/g723", |
| @@ -261,7 +261,7 @@ AVOutputFormat ff_g723_1_muxer = { · 7 unmodified lines | ||
| 261 | 261 | #endif |
| 262 | 262 | |
| 263 | 263 | #if CONFIG_G726_MUXER |
| 264 | −AVOutputFormat ff_g726_muxer = { | |
| 264 | +const AVOutputFormat ff_g726_muxer = { | |
| 265 | 265 | .name = "g726", |
| 266 | 266 | .long_name = NULL_IF_CONFIG_SMALL("raw big-endian G.726 (\"left-justified\")"), |
| 267 | 267 | .audio_codec = AV_CODEC_ID_ADPCM_G726, |
| @@ -273,7 +273,7 @@ AVOutputFormat ff_g726_muxer = { · 5 unmodified lines | ||
| 273 | 273 | #endif |
| 274 | 274 | |
| 275 | 275 | #if CONFIG_G726LE_MUXER |
| 276 | −AVOutputFormat ff_g726le_muxer = { | |
| 276 | +const AVOutputFormat ff_g726le_muxer = { | |
| 277 | 277 | .name = "g726le", |
| 278 | 278 | .long_name = NULL_IF_CONFIG_SMALL("raw little-endian G.726 (\"right-justified\")"), |
| 279 | 279 | .audio_codec = AV_CODEC_ID_ADPCM_G726LE, |
| @@ -285,7 +285,7 @@ AVOutputFormat ff_g726le_muxer = { · 5 unmodified lines | ||
| 285 | 285 | #endif |
| 286 | 286 | |
| 287 | 287 | #if CONFIG_GSM_MUXER |
| 288 | −AVOutputFormat ff_gsm_muxer = { | |
| 288 | +const AVOutputFormat ff_gsm_muxer = { | |
| 289 | 289 | .name = "gsm", |
| 290 | 290 | .long_name = NULL_IF_CONFIG_SMALL("raw GSM"), |
| 291 | 291 | .mime_type = "audio/x-gsm", |
| @@ -299,7 +299,7 @@ AVOutputFormat ff_gsm_muxer = { · 7 unmodified lines | ||
| 299 | 299 | #endif |
| 300 | 300 | |
| 301 | 301 | #if CONFIG_H261_MUXER |
| 302 | −AVOutputFormat ff_h261_muxer = { | |
| 302 | +const AVOutputFormat ff_h261_muxer = { | |
| 303 | 303 | .name = "h261", |
| 304 | 304 | .long_name = NULL_IF_CONFIG_SMALL("raw H.261"), |
| 305 | 305 | .mime_type = "video/x-h261", |
| @@ -313,7 +313,7 @@ AVOutputFormat ff_h261_muxer = { · 7 unmodified lines | ||
| 313 | 313 | #endif |
| 314 | 314 | |
| 315 | 315 | #if CONFIG_H263_MUXER |
| 316 | −AVOutputFormat ff_h263_muxer = { | |
| 316 | +const AVOutputFormat ff_h263_muxer = { | |
| 317 | 317 | .name = "h263", |
| 318 | 318 | .long_name = NULL_IF_CONFIG_SMALL("raw H.263"), |
| 319 | 319 | .mime_type = "video/x-h263", |
| @@ -336,7 +336,7 @@ static int h264_check_bitstream(struct AVFormatContext *s, const AVPacket *pkt) · 16 unmodified lines | ||
| 336 | 336 | return 1; |
| 337 | 337 | } |
| 338 | 338 | |
| 339 | −AVOutputFormat ff_h264_muxer = { | |
| 339 | +const AVOutputFormat ff_h264_muxer = { | |
| 340 | 340 | .name = "h264", |
| 341 | 341 | .long_name = NULL_IF_CONFIG_SMALL("raw H.264 video"), |
| 342 | 342 | .extensions = "h264,264", |
| @@ -359,7 +359,7 @@ static int hevc_check_bitstream(struct AVFormatContext *s, const AVPacket *pkt) · 16 unmodified lines | ||
| 359 | 359 | return 1; |
| 360 | 360 | } |
| 361 | 361 | |
| 362 | −AVOutputFormat ff_hevc_muxer = { | |
| 362 | +const AVOutputFormat ff_hevc_muxer = { | |
| 363 | 363 | .name = "hevc", |
| 364 | 364 | .long_name = NULL_IF_CONFIG_SMALL("raw HEVC video"), |
| 365 | 365 | .extensions = "hevc,h265,265", |
| @@ -373,7 +373,7 @@ AVOutputFormat ff_hevc_muxer = { · 7 unmodified lines | ||
| 373 | 373 | #endif |
| 374 | 374 | |
| 375 | 375 | #if CONFIG_M4V_MUXER |
| 376 | −AVOutputFormat ff_m4v_muxer = { | |
| 376 | +const AVOutputFormat ff_m4v_muxer = { | |
| 377 | 377 | .name = "m4v", |
| 378 | 378 | .long_name = NULL_IF_CONFIG_SMALL("raw MPEG-4 video"), |
| 379 | 379 | .extensions = "m4v", |
| @@ -386,7 +386,7 @@ AVOutputFormat ff_m4v_muxer = { · 6 unmodified lines | ||
| 386 | 386 | #endif |
| 387 | 387 | |
| 388 | 388 | #if CONFIG_MJPEG_MUXER |
| 389 | −AVOutputFormat ff_mjpeg_muxer = { | |
| 389 | +const AVOutputFormat ff_mjpeg_muxer = { | |
| 390 | 390 | .name = "mjpeg", |
| 391 | 391 | .long_name = NULL_IF_CONFIG_SMALL("raw MJPEG video"), |
| 392 | 392 | .mime_type = "video/x-mjpeg", |
| @@ -400,7 +400,7 @@ AVOutputFormat ff_mjpeg_muxer = { · 7 unmodified lines | ||
| 400 | 400 | #endif |
| 401 | 401 | |
| 402 | 402 | #if CONFIG_MLP_MUXER |
| 403 | −AVOutputFormat ff_mlp_muxer = { | |
| 403 | +const AVOutputFormat ff_mlp_muxer = { | |
| 404 | 404 | .name = "mlp", |
| 405 | 405 | .long_name = NULL_IF_CONFIG_SMALL("raw MLP"), |
| 406 | 406 | .extensions = "mlp", |
| @@ -413,7 +413,7 @@ AVOutputFormat ff_mlp_muxer = { · 6 unmodified lines | ||
| 413 | 413 | #endif |
| 414 | 414 | |
| 415 | 415 | #if CONFIG_MP2_MUXER |
| 416 | −AVOutputFormat ff_mp2_muxer = { | |
| 416 | +const AVOutputFormat ff_mp2_muxer = { | |
| 417 | 417 | .name = "mp2", |
| 418 | 418 | .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), |
| 419 | 419 | .mime_type = "audio/mpeg", |
| @@ -427,7 +427,7 @@ AVOutputFormat ff_mp2_muxer = { · 7 unmodified lines | ||
| 427 | 427 | #endif |
| 428 | 428 | |
| 429 | 429 | #if CONFIG_MPEG1VIDEO_MUXER |
| 430 | −AVOutputFormat ff_mpeg1video_muxer = { | |
| 430 | +const AVOutputFormat ff_mpeg1video_muxer = { | |
| 431 | 431 | .name = "mpeg1video", |
| 432 | 432 | .long_name = NULL_IF_CONFIG_SMALL("raw MPEG-1 video"), |
| 433 | 433 | .mime_type = "video/mpeg", |
| @@ -441,7 +441,7 @@ AVOutputFormat ff_mpeg1video_muxer = { · 7 unmodified lines | ||
| 441 | 441 | #endif |
| 442 | 442 | |
| 443 | 443 | #if CONFIG_MPEG2VIDEO_MUXER |
| 444 | −AVOutputFormat ff_mpeg2video_muxer = { | |
| 444 | +const AVOutputFormat ff_mpeg2video_muxer = { | |
| 445 | 445 | .name = "mpeg2video", |
| 446 | 446 | .long_name = NULL_IF_CONFIG_SMALL("raw MPEG-2 video"), |
| 447 | 447 | .extensions = "m2v", |
| @@ -454,7 +454,7 @@ AVOutputFormat ff_mpeg2video_muxer = { · 6 unmodified lines | ||
| 454 | 454 | #endif |
| 455 | 455 | |
| 456 | 456 | #if CONFIG_RAWVIDEO_MUXER |
| 457 | −AVOutputFormat ff_rawvideo_muxer = { | |
| 457 | +const AVOutputFormat ff_rawvideo_muxer = { | |
| 458 | 458 | .name = "rawvideo", |
| 459 | 459 | .long_name = NULL_IF_CONFIG_SMALL("raw video"), |
| 460 | 460 | .extensions = "yuv,rgb", |
| @@ -466,7 +466,7 @@ AVOutputFormat ff_rawvideo_muxer = { · 5 unmodified lines | ||
| 466 | 466 | #endif |
| 467 | 467 | |
| 468 | 468 | #if CONFIG_SBC_MUXER |
| 469 | −AVOutputFormat ff_sbc_muxer = { | |
| 469 | +const AVOutputFormat ff_sbc_muxer = { | |
| 470 | 470 | .name = "sbc", |
| 471 | 471 | .long_name = NULL_IF_CONFIG_SMALL("raw SBC"), |
| 472 | 472 | .mime_type = "audio/x-sbc", |
| @@ -479,7 +479,7 @@ AVOutputFormat ff_sbc_muxer = { · 6 unmodified lines | ||
| 479 | 479 | #endif |
| 480 | 480 | |
| 481 | 481 | #if CONFIG_TRUEHD_MUXER |
| 482 | −AVOutputFormat ff_truehd_muxer = { | |
| 482 | +const AVOutputFormat ff_truehd_muxer = { | |
| 483 | 483 | .name = "truehd", |
| 484 | 484 | .long_name = NULL_IF_CONFIG_SMALL("raw TrueHD"), |
| 485 | 485 | .extensions = "thd", |
| @@ -492,7 +492,7 @@ AVOutputFormat ff_truehd_muxer = { · 6 unmodified lines | ||
| 492 | 492 | #endif |
| 493 | 493 | |
| 494 | 494 | #if CONFIG_VC1_MUXER |
| 495 | −AVOutputFormat ff_vc1_muxer = { | |
| 495 | +const AVOutputFormat ff_vc1_muxer = { | |
| 496 | 496 | .name = "vc1", |
| 497 | 497 | .long_name = NULL_IF_CONFIG_SMALL("raw VC-1 video"), |
| 498 | 498 | .extensions = "vc1", |
| @@ -100,7 +100,7 @@ static const AVClass rawvideo_demuxer_class = { · 99 unmodified lines | ||
| 100 | 100 | .version = LIBAVUTIL_VERSION_INT, |
| 101 | 101 | }; |
| 102 | 102 | |
| 103 | −AVInputFormat ff_rawvideo_demuxer = { | |
| 103 | +const AVInputFormat ff_rawvideo_demuxer = { | |
| 104 | 104 | .name = "rawvideo", |
| 105 | 105 | .long_name = NULL_IF_CONFIG_SMALL("raw video"), |
| 106 | 106 | .priv_data_size = sizeof(RawVideoDemuxerContext), |
| @@ -149,7 +149,7 @@ static int realtext_read_close(AVFormatContext *s) · 148 unmodified lines | ||
| 149 | 149 | return 0; |
| 150 | 150 | } |
| 151 | 151 | |
| 152 | −AVInputFormat ff_realtext_demuxer = { | |
| 152 | +const AVInputFormat ff_realtext_demuxer = { | |
| 153 | 153 | .name = "realtext", |
| 154 | 154 | .long_name = NULL_IF_CONFIG_SMALL("RealText subtitle format"), |
| 155 | 155 | .priv_data_size = sizeof(RealTextContext), |
| @@ -150,7 +150,7 @@ static int redspark_read_packet(AVFormatContext *s, AVPacket *pkt) · 149 unmodified lines | ||
| 150 | 150 | return ret; |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | −AVInputFormat ff_redspark_demuxer = { | |
| 153 | +const AVInputFormat ff_redspark_demuxer = { | |
| 154 | 154 | .name = "redspark", |
| 155 | 155 | .long_name = NULL_IF_CONFIG_SMALL("RedSpark"), |
| 156 | 156 | .priv_data_size = sizeof(RedSparkContext), |
| @@ -300,7 +300,7 @@ static int rl2_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 299 unmodified lines | ||
| 300 | 300 | return 0; |
| 301 | 301 | } |
| 302 | 302 | |
| 303 | −AVInputFormat ff_rl2_demuxer = { | |
| 303 | +const AVInputFormat ff_rl2_demuxer = { | |
| 304 | 304 | .name = "rl2", |
| 305 | 305 | .long_name = NULL_IF_CONFIG_SMALL("RL2"), |
| 306 | 306 | .priv_data_size = sizeof(Rl2DemuxContext), |
| @@ -34,7 +34,7 @@ RMStream *ff_rm_alloc_rmstream (void); · 33 unmodified lines | ||
| 34 | 34 | void ff_rm_free_rmstream (RMStream *rms); |
| 35 | 35 | |
| 36 | 36 | /*< input format for Realmedia-style RTSP streams */ |
| 37 | −extern AVInputFormat ff_rdt_demuxer; | |
| 37 | +extern const AVInputFormat ff_rdt_demuxer; | |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * Read the MDPR chunk, which contains stream-specific codec initialization |
| @@ -1147,7 +1147,7 @@ static int rm_read_seek(AVFormatContext *s, int stream_index, · 1146 unmodified lines | ||
| 1147 | 1147 | } |
| 1148 | 1148 | |
| 1149 | 1149 | |
| 1150 | −AVInputFormat ff_rm_demuxer = { | |
| 1150 | +const AVInputFormat ff_rm_demuxer = { | |
| 1151 | 1151 | .name = "rm", |
| 1152 | 1152 | .long_name = NULL_IF_CONFIG_SMALL("RealMedia"), |
| 1153 | 1153 | .priv_data_size = sizeof(RMDemuxContext), |
| @@ -1159,7 +1159,7 @@ AVInputFormat ff_rm_demuxer = { · 5 unmodified lines | ||
| 1159 | 1159 | .read_seek = rm_read_seek, |
| 1160 | 1160 | }; |
| 1161 | 1161 | |
| 1162 | −AVInputFormat ff_rdt_demuxer = { | |
| 1162 | +const AVInputFormat ff_rdt_demuxer = { | |
| 1163 | 1163 | .name = "rdt", |
| 1164 | 1164 | .long_name = NULL_IF_CONFIG_SMALL("RDT demuxer"), |
| 1165 | 1165 | .priv_data_size = sizeof(RMDemuxContext), |
| @@ -1406,7 +1406,7 @@ static int ivr_read_packet(AVFormatContext *s, AVPacket *pkt) · 240 unmodified lines | ||
| 1406 | 1406 | return ret; |
| 1407 | 1407 | } |
| 1408 | 1408 | |
| 1409 | −AVInputFormat ff_ivr_demuxer = { | |
| 1409 | +const AVInputFormat ff_ivr_demuxer = { | |
| 1410 | 1410 | .name = "ivr", |
| 1411 | 1411 | .long_name = NULL_IF_CONFIG_SMALL("IVR (Internet Video Recording)"), |
| 1412 | 1412 | .priv_data_size = sizeof(RMDemuxContext), |
| @@ -465,7 +465,7 @@ static int rm_write_trailer(AVFormatContext *s) · 464 unmodified lines | ||
| 465 | 465 | } |
| 466 | 466 | |
| 467 | 467 | |
| 468 | −AVOutputFormat ff_rm_muxer = { | |
| 468 | +const AVOutputFormat ff_rm_muxer = { | |
| 469 | 469 | .name = "rm", |
| 470 | 470 | .long_name = NULL_IF_CONFIG_SMALL("RealMedia"), |
| 471 | 471 | .mime_type = "application/vnd.rn-realmedia", |
| @@ -382,7 +382,7 @@ static int rpl_read_packet(AVFormatContext *s, AVPacket *pkt) · 381 unmodified lines | ||
| 382 | 382 | return ret; |
| 383 | 383 | } |
| 384 | 384 | |
| 385 | −AVInputFormat ff_rpl_demuxer = { | |
| 385 | +const AVInputFormat ff_rpl_demuxer = { | |
| 386 | 386 | .name = "rpl", |
| 387 | 387 | .long_name = NULL_IF_CONFIG_SMALL("RPL / ARMovie"), |
| 388 | 388 | .priv_data_size = sizeof(RPLContext), |
| @@ -220,7 +220,7 @@ static int rsd_read_packet(AVFormatContext *s, AVPacket *pkt) · 219 unmodified lines | ||
| 220 | 220 | return ret; |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | −AVInputFormat ff_rsd_demuxer = { | |
| 223 | +const AVInputFormat ff_rsd_demuxer = { | |
| 224 | 224 | .name = "rsd", |
| 225 | 225 | .long_name = NULL_IF_CONFIG_SMALL("GameCube RSD"), |
| 226 | 226 | .read_probe = rsd_probe, |
| @@ -72,7 +72,7 @@ static int rso_read_header(AVFormatContext *s) · 71 unmodified lines | ||
| 72 | 72 | return 0; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | −AVInputFormat ff_rso_demuxer = { | |
| 75 | +const AVInputFormat ff_rso_demuxer = { | |
| 76 | 76 | .name = "rso", |
| 77 | 77 | .long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO"), |
| 78 | 78 | .extensions = "rso", |
| @@ -91,7 +91,7 @@ static int rso_write_trailer(AVFormatContext *s) · 90 unmodified lines | ||
| 91 | 91 | return 0; |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | −AVOutputFormat ff_rso_muxer = { | |
| 94 | +const AVOutputFormat ff_rso_muxer = { | |
| 95 | 95 | .name = "rso", |
| 96 | 96 | .long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO"), |
| 97 | 97 | .extensions = "rso", |
| @@ -648,7 +648,7 @@ static int rtp_write_trailer(AVFormatContext *s1) · 647 unmodified lines | ||
| 648 | 648 | return 0; |
| 649 | 649 | } |
| 650 | 650 | |
| 651 | −AVOutputFormat ff_rtp_muxer = { | |
| 651 | +const AVOutputFormat ff_rtp_muxer = { | |
| 652 | 652 | .name = "rtp", |
| 653 | 653 | .long_name = NULL_IF_CONFIG_SMALL("RTP output"), |
| 654 | 654 | .priv_data_size = sizeof(RTPMuxContext), |
| @@ -187,7 +187,7 @@ static const AVClass rtp_mpegts_class = { · 186 unmodified lines | ||
| 187 | 187 | .version = LIBAVUTIL_VERSION_INT, |
| 188 | 188 | }; |
| 189 | 189 | |
| 190 | −AVOutputFormat ff_rtp_mpegts_muxer = { | |
| 190 | +const AVOutputFormat ff_rtp_mpegts_muxer = { | |
| 191 | 191 | .name = "rtp_mpegts", |
| 192 | 192 | .long_name = NULL_IF_CONFIG_SMALL("RTP/mpegts output format"), |
| 193 | 193 | .priv_data_size = sizeof(MuxChain), |
| @@ -2464,7 +2464,7 @@ static const AVClass sdp_demuxer_class = { · 2463 unmodified lines | ||
| 2464 | 2464 | .version = LIBAVUTIL_VERSION_INT, |
| 2465 | 2465 | }; |
| 2466 | 2466 | |
| 2467 | −AVInputFormat ff_sdp_demuxer = { | |
| 2467 | +const AVInputFormat ff_sdp_demuxer = { | |
| 2468 | 2468 | .name = "sdp", |
| 2469 | 2469 | .long_name = NULL_IF_CONFIG_SMALL("SDP"), |
| 2470 | 2470 | .priv_data_size = sizeof(RTSPState), |
| @@ -2623,7 +2623,7 @@ static const AVClass rtp_demuxer_class = { · 152 unmodified lines | ||
| 2623 | 2623 | .version = LIBAVUTIL_VERSION_INT, |
| 2624 | 2624 | }; |
| 2625 | 2625 | |
| 2626 | −AVInputFormat ff_rtp_demuxer = { | |
| 2626 | +const AVInputFormat ff_rtp_demuxer = { | |
| 2627 | 2627 | .name = "rtp", |
| 2628 | 2628 | .long_name = NULL_IF_CONFIG_SMALL("RTP input"), |
| 2629 | 2629 | .priv_data_size = sizeof(RTSPState), |
| @@ -983,7 +983,7 @@ static const AVClass rtsp_demuxer_class = { · 982 unmodified lines | ||
| 983 | 983 | .version = LIBAVUTIL_VERSION_INT, |
| 984 | 984 | }; |
| 985 | 985 | |
| 986 | −AVInputFormat ff_rtsp_demuxer = { | |
| 986 | +const AVInputFormat ff_rtsp_demuxer = { | |
| 987 | 987 | .name = "rtsp", |
| 988 | 988 | .long_name = NULL_IF_CONFIG_SMALL("RTSP input"), |
| 989 | 989 | .priv_data_size = sizeof(RTSPState), |
| @@ -240,7 +240,7 @@ static int rtsp_write_close(AVFormatContext *s) · 239 unmodified lines | ||
| 240 | 240 | return 0; |
| 241 | 241 | } |
| 242 | 242 | |
| 243 | −AVOutputFormat ff_rtsp_muxer = { | |
| 243 | +const AVOutputFormat ff_rtsp_muxer = { | |
| 244 | 244 | .name = "rtsp", |
| 245 | 245 | .long_name = NULL_IF_CONFIG_SMALL("RTSP output"), |
| 246 | 246 | .priv_data_size = sizeof(RTSPState), |
| @@ -186,7 +186,7 @@ static int s337m_read_packet(AVFormatContext *s, AVPacket *pkt) · 185 unmodified lines | ||
| 186 | 186 | return 0; |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | −AVInputFormat ff_s337m_demuxer = { | |
| 189 | +const AVInputFormat ff_s337m_demuxer = { | |
| 190 | 190 | .name = "s337m", |
| 191 | 191 | .long_name = NULL_IF_CONFIG_SMALL("SMPTE 337M"), |
| 192 | 192 | .read_probe = s337m_probe, |
| @@ -142,7 +142,7 @@ static int sami_read_close(AVFormatContext *s) · 141 unmodified lines | ||
| 142 | 142 | return 0; |
| 143 | 143 | } |
| 144 | 144 | |
| 145 | −AVInputFormat ff_sami_demuxer = { | |
| 145 | +const AVInputFormat ff_sami_demuxer = { | |
| 146 | 146 | .name = "sami", |
| 147 | 147 | .long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle format"), |
| 148 | 148 | .priv_data_size = sizeof(SAMIContext), |
| @@ -234,7 +234,7 @@ static int sap_fetch_packet(AVFormatContext *s, AVPacket *pkt) · 233 unmodified lines | ||
| 234 | 234 | return ret; |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | −AVInputFormat ff_sap_demuxer = { | |
| 237 | +const AVInputFormat ff_sap_demuxer = { | |
| 238 | 238 | .name = "sap", |
| 239 | 239 | .long_name = NULL_IF_CONFIG_SMALL("SAP input"), |
| 240 | 240 | .priv_data_size = sizeof(struct SAPState), |
| @@ -267,7 +267,7 @@ static int sap_write_packet(AVFormatContext *s, AVPacket *pkt) · 266 unmodified lines | ||
| 267 | 267 | return ff_write_chained(rtpctx, 0, pkt, s, 0); |
| 268 | 268 | } |
| 269 | 269 | |
| 270 | −AVOutputFormat ff_sap_muxer = { | |
| 270 | +const AVOutputFormat ff_sap_muxer = { | |
| 271 | 271 | .name = "sap", |
| 272 | 272 | .long_name = NULL_IF_CONFIG_SMALL("SAP output"), |
| 273 | 273 | .priv_data_size = sizeof(struct SAPState), |
| @@ -23,7 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "rawdec.h" |
| 24 | 24 | |
| 25 | 25 | FF_RAW_DEMUXER_CLASS(sbc) |
| 26 | −AVInputFormat ff_sbc_demuxer = { | |
| 26 | +const AVInputFormat ff_sbc_demuxer = { | |
| 27 | 27 | .name = "sbc", |
| 28 | 28 | .long_name = NULL_IF_CONFIG_SMALL("raw SBC (low-complexity subband codec)"), |
| 29 | 29 | .extensions = "sbc,msbc", |
| @@ -1518,7 +1518,7 @@ static const AVClass sbg_demuxer_class = { · 1517 unmodified lines | ||
| 1518 | 1518 | .version = LIBAVUTIL_VERSION_INT, |
| 1519 | 1519 | }; |
| 1520 | 1520 | |
| 1521 | −AVInputFormat ff_sbg_demuxer = { | |
| 1521 | +const AVInputFormat ff_sbg_demuxer = { | |
| 1522 | 1522 | .name = "sbg", |
| 1523 | 1523 | .long_name = NULL_IF_CONFIG_SMALL("SBaGen binaural beats script"), |
| 1524 | 1524 | .priv_data_size = sizeof(struct sbg_demuxer), |
| @@ -201,7 +201,7 @@ static int scc_read_close(AVFormatContext *s) · 200 unmodified lines | ||
| 201 | 201 | return 0; |
| 202 | 202 | } |
| 203 | 203 | |
| 204 | −AVInputFormat ff_scc_demuxer = { | |
| 204 | +const AVInputFormat ff_scc_demuxer = { | |
| 205 | 205 | .name = "scc", |
| 206 | 206 | .long_name = NULL_IF_CONFIG_SMALL("Scenarist Closed Captions"), |
| 207 | 207 | .priv_data_size = sizeof(SCCContext), |
| @@ -111,7 +111,7 @@ static int scc_write_packet(AVFormatContext *avf, AVPacket *pkt) · 110 unmodified lines | ||
| 111 | 111 | return 0; |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | −AVOutputFormat ff_scc_muxer = { | |
| 114 | +const AVOutputFormat ff_scc_muxer = { | |
| 115 | 115 | .name = "scc", |
| 116 | 116 | .long_name = NULL_IF_CONFIG_SMALL("Scenarist Closed Captions"), |
| 117 | 117 | .extensions = "scc", |
| @@ -109,7 +109,7 @@ static int sdr2_read_packet(AVFormatContext *s, AVPacket *pkt) · 108 unmodified lines | ||
| 109 | 109 | return ret; |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | −AVInputFormat ff_sdr2_demuxer = { | |
| 112 | +const AVInputFormat ff_sdr2_demuxer = { | |
| 113 | 113 | .name = "sdr2", |
| 114 | 114 | .long_name = NULL_IF_CONFIG_SMALL("SDR2"), |
| 115 | 115 | .read_probe = sdr2_probe, |
| @@ -153,7 +153,7 @@ static int sds_read_packet(AVFormatContext *ctx, AVPacket *pkt) · 152 unmodified lines | ||
| 153 | 153 | return ret; |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | −AVInputFormat ff_sds_demuxer = { | |
| 156 | +const AVInputFormat ff_sds_demuxer = { | |
| 157 | 157 | .name = "sds", |
| 158 | 158 | .long_name = NULL_IF_CONFIG_SMALL("MIDI Sample Dump Standard"), |
| 159 | 159 | .priv_data_size = sizeof(SDSContext), |
| @@ -78,7 +78,7 @@ static int sdx_read_header(AVFormatContext *s) · 77 unmodified lines | ||
| 78 | 78 | return 0; |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | −AVInputFormat ff_sdx_demuxer = { | |
| 81 | +const AVInputFormat ff_sdx_demuxer = { | |
| 82 | 82 | .name = "sdx", |
| 83 | 83 | .long_name = NULL_IF_CONFIG_SMALL("Sample Dump eXchange"), |
| 84 | 84 | .read_probe = sdx_probe, |
| @@ -331,7 +331,7 @@ static int film_read_seek(AVFormatContext *s, int stream_index, int64_t timestam · 330 unmodified lines | ||
| 331 | 331 | return 0; |
| 332 | 332 | } |
| 333 | 333 | |
| 334 | −AVInputFormat ff_segafilm_demuxer = { | |
| 334 | +const AVInputFormat ff_segafilm_demuxer = { | |
| 335 | 335 | .name = "film_cpk", |
| 336 | 336 | .long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"), |
| 337 | 337 | .priv_data_size = sizeof(FilmDemuxContext), |
| @@ -321,7 +321,7 @@ static void film_deinit(AVFormatContext *format_context) · 320 unmodified lines | ||
| 321 | 321 | ffio_free_dyn_buf(&film->header); |
| 322 | 322 | } |
| 323 | 323 | |
| 324 | −AVOutputFormat ff_segafilm_muxer = { | |
| 324 | +const AVOutputFormat ff_segafilm_muxer = { | |
| 325 | 325 | .name = "film_cpk", |
| 326 | 326 | .long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"), |
| 327 | 327 | .extensions = "cpk", |
| @@ -1053,7 +1053,7 @@ static const AVClass seg_class = { · 1052 unmodified lines | ||
| 1053 | 1053 | .version = LIBAVUTIL_VERSION_INT, |
| 1054 | 1054 | }; |
| 1055 | 1055 | |
| 1056 | −AVOutputFormat ff_segment_muxer = { | |
| 1056 | +const AVOutputFormat ff_segment_muxer = { | |
| 1057 | 1057 | .name = "segment", |
| 1058 | 1058 | .long_name = NULL_IF_CONFIG_SMALL("segment"), |
| 1059 | 1059 | .priv_data_size = sizeof(SegmentContext), |
| @@ -1076,7 +1076,7 @@ static const AVClass sseg_class = { · 16 unmodified lines | ||
| 1076 | 1076 | .version = LIBAVUTIL_VERSION_INT, |
| 1077 | 1077 | }; |
| 1078 | 1078 | |
| 1079 | −AVOutputFormat ff_stream_segment_muxer = { | |
| 1079 | +const AVOutputFormat ff_stream_segment_muxer = { | |
| 1080 | 1080 | .name = "stream_segment,ssegment", |
| 1081 | 1081 | .long_name = NULL_IF_CONFIG_SMALL("streaming segment muxer"), |
| 1082 | 1082 | .priv_data_size = sizeof(SegmentContext), |
| @@ -132,7 +132,7 @@ static const AVClass ser_demuxer_class = { · 131 unmodified lines | ||
| 132 | 132 | .version = LIBAVUTIL_VERSION_INT, |
| 133 | 133 | }; |
| 134 | 134 | |
| 135 | −AVInputFormat ff_ser_demuxer = { | |
| 135 | +const AVInputFormat ff_ser_demuxer = { | |
| 136 | 136 | .name = "ser", |
| 137 | 137 | .long_name = NULL_IF_CONFIG_SMALL("SER (Simple uncompressed video format for astronomical capturing)"), |
| 138 | 138 | .priv_data_size = sizeof(SERDemuxerContext), |
| @@ -466,7 +466,7 @@ static int sga_seek(AVFormatContext *s, int stream_index, · 465 unmodified lines | ||
| 466 | 466 | return -1; |
| 467 | 467 | } |
| 468 | 468 | |
| 469 | −AVInputFormat ff_sga_demuxer = { | |
| 469 | +const AVInputFormat ff_sga_demuxer = { | |
| 470 | 470 | .name = "sga", |
| 471 | 471 | .long_name = NULL_IF_CONFIG_SMALL("Digital Pictures SGA"), |
| 472 | 472 | .priv_data_size = sizeof(SGADemuxContext), |
| @@ -66,7 +66,7 @@ static int shn_probe(const AVProbeData *p) · 65 unmodified lines | ||
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | FF_RAW_DEMUXER_CLASS(shorten) |
| 69 | −AVInputFormat ff_shorten_demuxer = { | |
| 69 | +const AVInputFormat ff_shorten_demuxer = { | |
| 70 | 70 | .name = "shn", |
| 71 | 71 | .long_name = NULL_IF_CONFIG_SMALL("raw Shorten"), |
| 72 | 72 | .read_probe = shn_probe, |
| @@ -317,7 +317,7 @@ static int vmd_read_close(AVFormatContext *s) · 316 unmodified lines | ||
| 317 | 317 | return 0; |
| 318 | 318 | } |
| 319 | 319 | |
| 320 | −AVInputFormat ff_vmd_demuxer = { | |
| 320 | +const AVInputFormat ff_vmd_demuxer = { | |
| 321 | 321 | .name = "vmd", |
| 322 | 322 | .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD"), |
| 323 | 323 | .priv_data_size = sizeof(VmdDemuxContext), |
| @@ -249,7 +249,7 @@ static int siff_read_packet(AVFormatContext *s, AVPacket *pkt) · 248 unmodified lines | ||
| 249 | 249 | return pkt->size; |
| 250 | 250 | } |
| 251 | 251 | |
| 252 | −AVInputFormat ff_siff_demuxer = { | |
| 252 | +const AVInputFormat ff_siff_demuxer = { | |
| 253 | 253 | .name = "siff", |
| 254 | 254 | .long_name = NULL_IF_CONFIG_SMALL("Beam Software SIFF"), |
| 255 | 255 | .priv_data_size = sizeof(SIFFContext), |
| @@ -386,7 +386,7 @@ static int smacker_read_seek(AVFormatContext *s, int stream_index, · 385 unmodified lines | ||
| 386 | 386 | return 0; |
| 387 | 387 | } |
| 388 | 388 | |
| 389 | −AVInputFormat ff_smacker_demuxer = { | |
| 389 | +const AVInputFormat ff_smacker_demuxer = { | |
| 390 | 390 | .name = "smk", |
| 391 | 391 | .long_name = NULL_IF_CONFIG_SMALL("Smacker"), |
| 392 | 392 | .priv_data_size = sizeof(SmackerContext), |
| @@ -180,7 +180,7 @@ static int smjpeg_read_packet(AVFormatContext *s, AVPacket *pkt) · 179 unmodified lines | ||
| 180 | 180 | return ret; |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | −AVInputFormat ff_smjpeg_demuxer = { | |
| 183 | +const AVInputFormat ff_smjpeg_demuxer = { | |
| 184 | 184 | .name = "smjpeg", |
| 185 | 185 | .long_name = NULL_IF_CONFIG_SMALL("Loki SDL MJPEG"), |
| 186 | 186 | .priv_data_size = sizeof(SMJPEGContext), |
| @@ -132,7 +132,7 @@ static int smjpeg_write_trailer(AVFormatContext *s) · 131 unmodified lines | ||
| 132 | 132 | return 0; |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | −AVOutputFormat ff_smjpeg_muxer = { | |
| 135 | +const AVOutputFormat ff_smjpeg_muxer = { | |
| 136 | 136 | .name = "smjpeg", |
| 137 | 137 | .long_name = NULL_IF_CONFIG_SMALL("Loki SDL MJPEG"), |
| 138 | 138 | .priv_data_size = sizeof(SMJPEGMuxContext), |
| @@ -637,7 +637,7 @@ static const AVClass ism_class = { · 636 unmodified lines | ||
| 637 | 637 | }; |
| 638 | 638 | |
| 639 | 639 | |
| 640 | −AVOutputFormat ff_smoothstreaming_muxer = { | |
| 640 | +const AVOutputFormat ff_smoothstreaming_muxer = { | |
| 641 | 641 | .name = "smoothstreaming", |
| 642 | 642 | .long_name = NULL_IF_CONFIG_SMALL("Smooth Streaming Muxer"), |
| 643 | 643 | .priv_data_size = sizeof(SmoothStreamingContext), |
| @@ -242,7 +242,7 @@ static int smush_read_packet(AVFormatContext *ctx, AVPacket *pkt) · 241 unmodified lines | ||
| 242 | 242 | return 0; |
| 243 | 243 | } |
| 244 | 244 | |
| 245 | −AVInputFormat ff_smush_demuxer = { | |
| 245 | +const AVInputFormat ff_smush_demuxer = { | |
| 246 | 246 | .name = "smush", |
| 247 | 247 | .long_name = NULL_IF_CONFIG_SMALL("LucasArts Smush"), |
| 248 | 248 | .priv_data_size = sizeof(SMUSHContext), |
| @@ -138,7 +138,7 @@ static int sol_read_packet(AVFormatContext *s, · 137 unmodified lines | ||
| 138 | 138 | return 0; |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | −AVInputFormat ff_sol_demuxer = { | |
| 141 | +const AVInputFormat ff_sol_demuxer = { | |
| 142 | 142 | .name = "sol", |
| 143 | 143 | .long_name = NULL_IF_CONFIG_SMALL("Sierra SOL"), |
| 144 | 144 | .read_probe = sol_probe, |
| @@ -124,7 +124,7 @@ static int sox_read_header(AVFormatContext *s) · 123 unmodified lines | ||
| 124 | 124 | return 0; |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | −AVInputFormat ff_sox_demuxer = { | |
| 127 | +const AVInputFormat ff_sox_demuxer = { | |
| 128 | 128 | .name = "sox", |
| 129 | 129 | .long_name = NULL_IF_CONFIG_SMALL("SoX native"), |
| 130 | 130 | .read_probe = sox_probe, |
| @@ -104,7 +104,7 @@ static int sox_write_trailer(AVFormatContext *s) · 103 unmodified lines | ||
| 104 | 104 | return 0; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | −AVOutputFormat ff_sox_muxer = { | |
| 107 | +const AVOutputFormat ff_sox_muxer = { | |
| 108 | 108 | .name = "sox", |
| 109 | 109 | .long_name = NULL_IF_CONFIG_SMALL("SoX native"), |
| 110 | 110 | .extensions = "sox", |
| @@ -231,7 +231,7 @@ int ff_spdif_read_packet(AVFormatContext *s, AVPacket *pkt) · 230 unmodified lines | ||
| 231 | 231 | return 0; |
| 232 | 232 | } |
| 233 | 233 | |
| 234 | −AVInputFormat ff_spdif_demuxer = { | |
| 234 | +const AVInputFormat ff_spdif_demuxer = { | |
| 235 | 235 | .name = "spdif", |
| 236 | 236 | .long_name = NULL_IF_CONFIG_SMALL("IEC 61937 (compressed data in S/PDIF)"), |
| 237 | 237 | .read_probe = spdif_probe, |
| @@ -673,7 +673,7 @@ static int spdif_write_packet(struct AVFormatContext *s, AVPacket *pkt) · 672 unmodified lines | ||
| 673 | 673 | return 0; |
| 674 | 674 | } |
| 675 | 675 | |
| 676 | −AVOutputFormat ff_spdif_muxer = { | |
| 676 | +const AVOutputFormat ff_spdif_muxer = { | |
| 677 | 677 | .name = "spdif", |
| 678 | 678 | .long_name = NULL_IF_CONFIG_SMALL("IEC 61937 (used on S/PDIF - IEC958)"), |
| 679 | 679 | .extensions = "spdif", |
| @@ -234,7 +234,7 @@ static int srt_read_close(AVFormatContext *s) · 233 unmodified lines | ||
| 234 | 234 | return 0; |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | −AVInputFormat ff_srt_demuxer = { | |
| 237 | +const AVInputFormat ff_srt_demuxer = { | |
| 238 | 238 | .name = "srt", |
| 239 | 239 | .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), |
| 240 | 240 | .priv_data_size = sizeof(SRTContext), |
| @@ -96,7 +96,7 @@ static int srt_write_packet(AVFormatContext *avf, AVPacket *pkt) · 95 unmodified lines | ||
| 96 | 96 | return 0; |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | −AVOutputFormat ff_srt_muxer = { | |
| 99 | +const AVOutputFormat ff_srt_muxer = { | |
| 100 | 100 | .name = "srt", |
| 101 | 101 | .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), |
| 102 | 102 | .mime_type = "application/x-subrip", |
| @@ -130,7 +130,7 @@ static int stl_read_close(AVFormatContext *s) · 129 unmodified lines | ||
| 130 | 130 | return 0; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | −AVInputFormat ff_stl_demuxer = { | |
| 133 | +const AVInputFormat ff_stl_demuxer = { | |
| 134 | 134 | .name = "stl", |
| 135 | 135 | .long_name = NULL_IF_CONFIG_SMALL("Spruce subtitle format"), |
| 136 | 136 | .priv_data_size = sizeof(STLContext), |
| @@ -113,7 +113,7 @@ static int subviewer1_read_close(AVFormatContext *s) · 112 unmodified lines | ||
| 113 | 113 | return 0; |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | −AVInputFormat ff_subviewer1_demuxer = { | |
| 116 | +const AVInputFormat ff_subviewer1_demuxer = { | |
| 117 | 117 | .name = "subviewer1", |
| 118 | 118 | .long_name = NULL_IF_CONFIG_SMALL("SubViewer v1 subtitle format"), |
| 119 | 119 | .priv_data_size = sizeof(SubViewer1Context), |
| @@ -203,7 +203,7 @@ static int subviewer_read_close(AVFormatContext *s) · 202 unmodified lines | ||
| 203 | 203 | return 0; |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | −AVInputFormat ff_subviewer_demuxer = { | |
| 206 | +const AVInputFormat ff_subviewer_demuxer = { | |
| 207 | 207 | .name = "subviewer", |
| 208 | 208 | .long_name = NULL_IF_CONFIG_SMALL("SubViewer subtitle format"), |
| 209 | 209 | .priv_data_size = sizeof(SubViewerContext), |
| @@ -97,7 +97,7 @@ static int sup_probe(const AVProbeData *p) · 96 unmodified lines | ||
| 97 | 97 | return AVPROBE_SCORE_MAX; |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | −AVInputFormat ff_sup_demuxer = { | |
| 100 | +const AVInputFormat ff_sup_demuxer = { | |
| 101 | 101 | .name = "sup", |
| 102 | 102 | .long_name = NULL_IF_CONFIG_SMALL("raw HDMV Presentation Graphic Stream subtitles"), |
| 103 | 103 | .extensions = "sup", |
| @@ -84,7 +84,7 @@ static int sup_write_header(AVFormatContext *s) · 83 unmodified lines | ||
| 84 | 84 | return 0; |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | −AVOutputFormat ff_sup_muxer = { | |
| 87 | +const AVOutputFormat ff_sup_muxer = { | |
| 88 | 88 | .name = "sup", |
| 89 | 89 | .long_name = NULL_IF_CONFIG_SMALL("raw HDMV Presentation Graphic Stream subtitles"), |
| 90 | 90 | .extensions = "sup", |
| @@ -68,7 +68,7 @@ static int svag_read_packet(AVFormatContext *s, AVPacket *pkt) · 67 unmodified lines | ||
| 68 | 68 | return av_get_packet(s->pb, pkt, par->block_align); |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | −AVInputFormat ff_svag_demuxer = { | |
| 71 | +const AVInputFormat ff_svag_demuxer = { | |
| 72 | 72 | .name = "svag", |
| 73 | 73 | .long_name = NULL_IF_CONFIG_SMALL("Konami PS2 SVAG"), |
| 74 | 74 | .read_probe = svag_probe, |
| @@ -86,7 +86,7 @@ static int svs_read_packet(AVFormatContext *s, AVPacket *pkt) · 85 unmodified lines | ||
| 86 | 86 | return ret; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | −AVInputFormat ff_svs_demuxer = { | |
| 89 | +const AVInputFormat ff_svs_demuxer = { | |
| 90 | 90 | .name = "svs", |
| 91 | 91 | .long_name = NULL_IF_CONFIG_SMALL("Square SVS"), |
| 92 | 92 | .read_probe = svs_probe, |
| @@ -567,7 +567,7 @@ static av_cold int swf_read_close(AVFormatContext *avctx) · 566 unmodified lines | ||
| 567 | 567 | } |
| 568 | 568 | #endif |
| 569 | 569 | |
| 570 | −AVInputFormat ff_swf_demuxer = { | |
| 570 | +const AVInputFormat ff_swf_demuxer = { | |
| 571 | 571 | .name = "swf", |
| 572 | 572 | .long_name = NULL_IF_CONFIG_SMALL("SWF (ShockWave Flash)"), |
| 573 | 573 | .priv_data_size = sizeof(SWFDecContext), |
| @@ -539,7 +539,7 @@ static void swf_deinit(AVFormatContext *s) · 538 unmodified lines | ||
| 539 | 539 | } |
| 540 | 540 | |
| 541 | 541 | #if CONFIG_SWF_MUXER |
| 542 | −AVOutputFormat ff_swf_muxer = { | |
| 542 | +const AVOutputFormat ff_swf_muxer = { | |
| 543 | 543 | .name = "swf", |
| 544 | 544 | .long_name = NULL_IF_CONFIG_SMALL("SWF (ShockWave Flash)"), |
| 545 | 545 | .mime_type = "application/x-shockwave-flash", |
| @@ -555,7 +555,7 @@ AVOutputFormat ff_swf_muxer = { · 9 unmodified lines | ||
| 555 | 555 | }; |
| 556 | 556 | #endif |
| 557 | 557 | #if CONFIG_AVM2_MUXER |
| 558 | −AVOutputFormat ff_avm2_muxer = { | |
| 558 | +const AVOutputFormat ff_avm2_muxer = { | |
| 559 | 559 | .name = "avm2", |
| 560 | 560 | .long_name = NULL_IF_CONFIG_SMALL("SWF (ShockWave Flash) (AVM2)"), |
| 561 | 561 | .mime_type = "application/x-shockwave-flash", |
| @@ -214,7 +214,7 @@ static int raw_read_packet(AVFormatContext *s, AVPacket *pkt) · 213 unmodified lines | ||
| 214 | 214 | } |
| 215 | 215 | |
| 216 | 216 | FF_RAW_DEMUXER_CLASS(tak) |
| 217 | −AVInputFormat ff_tak_demuxer = { | |
| 217 | +const AVInputFormat ff_tak_demuxer = { | |
| 218 | 218 | .name = "tak", |
| 219 | 219 | .long_name = NULL_IF_CONFIG_SMALL("raw TAK"), |
| 220 | 220 | .priv_data_size = sizeof(TAKDemuxContext), |
| @@ -354,7 +354,7 @@ static int tedcaptions_read_seek(AVFormatContext *avf, int stream_index, · 353 unmodified lines | ||
| 354 | 354 | min_ts, ts, max_ts, flags); |
| 355 | 355 | } |
| 356 | 356 | |
| 357 | −AVInputFormat ff_tedcaptions_demuxer = { | |
| 357 | +const AVInputFormat ff_tedcaptions_demuxer = { | |
| 358 | 358 | .name = "tedcaptions", |
| 359 | 359 | .long_name = NULL_IF_CONFIG_SMALL("TED Talks captions"), |
| 360 | 360 | .priv_data_size = sizeof(TEDCaptionsDemuxer), |
| @@ -606,7 +606,7 @@ static int tee_write_packet(AVFormatContext *avf, AVPacket *pkt) · 605 unmodified lines | ||
| 606 | 606 | return ret_all; |
| 607 | 607 | } |
| 608 | 608 | |
| 609 | −AVOutputFormat ff_tee_muxer = { | |
| 609 | +const AVOutputFormat ff_tee_muxer = { | |
| 610 | 610 | .name = "tee", |
| 611 | 611 | .long_name = NULL_IF_CONFIG_SMALL("Multiple muxer tee"), |
| 612 | 612 | .priv_data_size = sizeof(TeeContext), |
| @@ -212,7 +212,7 @@ static int thp_read_packet(AVFormatContext *s, · 211 unmodified lines | ||
| 212 | 212 | return 0; |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | −AVInputFormat ff_thp_demuxer = { | |
| 215 | +const AVInputFormat ff_thp_demuxer = { | |
| 216 | 216 | .name = "thp", |
| 217 | 217 | .long_name = NULL_IF_CONFIG_SMALL("THP"), |
| 218 | 218 | .priv_data_size = sizeof(ThpDemuxContext), |
| @@ -316,7 +316,7 @@ static int seq_read_packet(AVFormatContext *s, AVPacket *pkt) · 315 unmodified lines | ||
| 316 | 316 | return 0; |
| 317 | 317 | } |
| 318 | 318 | |
| 319 | −AVInputFormat ff_tiertexseq_demuxer = { | |
| 319 | +const AVInputFormat ff_tiertexseq_demuxer = { | |
| 320 | 320 | .name = "tiertexseq", |
| 321 | 321 | .long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ"), |
| 322 | 322 | .priv_data_size = sizeof(SeqDemuxContext), |
| @@ -187,7 +187,7 @@ static int tmv_read_seek(AVFormatContext *s, int stream_index, · 186 unmodified lines | ||
| 187 | 187 | return 0; |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | −AVInputFormat ff_tmv_demuxer = { | |
| 190 | +const AVInputFormat ff_tmv_demuxer = { | |
| 191 | 191 | .name = "tmv", |
| 192 | 192 | .long_name = NULL_IF_CONFIG_SMALL("8088flex TMV"), |
| 193 | 193 | .priv_data_size = sizeof(TMVContext), |
| @@ -184,7 +184,7 @@ static int tta_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 183 unmodified lines | ||
| 184 | 184 | return 0; |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | −AVInputFormat ff_tta_demuxer = { | |
| 187 | +const AVInputFormat ff_tta_demuxer = { | |
| 188 | 188 | .name = "tta", |
| 189 | 189 | .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"), |
| 190 | 190 | .priv_data_size = sizeof(TTAContext), |
| @@ -165,7 +165,7 @@ static void tta_deinit(AVFormatContext *s) · 164 unmodified lines | ||
| 165 | 165 | avpriv_packet_list_free(&tta->queue, &tta->queue_end); |
| 166 | 166 | } |
| 167 | 167 | |
| 168 | −AVOutputFormat ff_tta_muxer = { | |
| 168 | +const AVOutputFormat ff_tta_muxer = { | |
| 169 | 169 | .name = "tta", |
| 170 | 170 | .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"), |
| 171 | 171 | .mime_type = "audio/x-tta", |
| @@ -219,7 +219,7 @@ static int ttml_write_trailer(AVFormatContext *ctx) · 218 unmodified lines | ||
| 219 | 219 | return 0; |
| 220 | 220 | } |
| 221 | 221 | |
| 222 | −AVOutputFormat ff_ttml_muxer = { | |
| 222 | +const AVOutputFormat ff_ttml_muxer = { | |
| 223 | 223 | .name = "ttml", |
| 224 | 224 | .long_name = NULL_IF_CONFIG_SMALL("TTML subtitle"), |
| 225 | 225 | .extensions = "ttml", |
| @@ -178,7 +178,7 @@ static const AVClass tty_demuxer_class = { · 177 unmodified lines | ||
| 178 | 178 | .version = LIBAVUTIL_VERSION_INT, |
| 179 | 179 | }; |
| 180 | 180 | |
| 181 | −AVInputFormat ff_tty_demuxer = { | |
| 181 | +const AVInputFormat ff_tty_demuxer = { | |
| 182 | 182 | .name = "tty", |
| 183 | 183 | .long_name = NULL_IF_CONFIG_SMALL("Tele-typewriter"), |
| 184 | 184 | .priv_data_size = sizeof(TtyDemuxContext), |
| @@ -92,7 +92,7 @@ next_chunk: · 91 unmodified lines | ||
| 92 | 92 | return 0; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | −AVInputFormat ff_txd_demuxer = { | |
| 95 | +const AVInputFormat ff_txd_demuxer = { | |
| 96 | 96 | .name = "txd", |
| 97 | 97 | .long_name = NULL_IF_CONFIG_SMALL("Renderware TeXture Dictionary"), |
| 98 | 98 | .read_probe = txd_probe, |
| @@ -710,7 +710,7 @@ static int ty_read_close(AVFormatContext *s) · 709 unmodified lines | ||
| 710 | 710 | return 0; |
| 711 | 711 | } |
| 712 | 712 | |
| 713 | −AVInputFormat ff_ty_demuxer = { | |
| 713 | +const AVInputFormat ff_ty_demuxer = { | |
| 714 | 714 | .name = "ty", |
| 715 | 715 | .long_name = NULL_IF_CONFIG_SMALL("TiVo TY Stream"), |
| 716 | 716 | .priv_data_size = sizeof(TYDemuxContext), |
| @@ -164,7 +164,7 @@ static int write_packet(struct AVFormatContext *s, AVPacket *pkt) · 163 unmodified lines | ||
| 164 | 164 | return AVERROR(ENOSYS); |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | −AVOutputFormat ff_uncodedframecrc_muxer = { | |
| 167 | +const AVOutputFormat ff_uncodedframecrc_muxer = { | |
| 168 | 168 | .name = "uncodedframecrc", |
| 169 | 169 | .long_name = NULL_IF_CONFIG_SMALL("uncoded framecrc testing"), |
| 170 | 170 | .audio_codec = AV_CODEC_ID_PCM_S16LE, |
| @@ -95,7 +95,7 @@ static const AVClass v210_demuxer_class = { · 94 unmodified lines | ||
| 95 | 95 | .version = LIBAVUTIL_VERSION_INT, |
| 96 | 96 | }; |
| 97 | 97 | |
| 98 | −AVInputFormat ff_v210_demuxer = { | |
| 98 | +const AVInputFormat ff_v210_demuxer = { | |
| 99 | 99 | .name = "v210", |
| 100 | 100 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"), |
| 101 | 101 | .priv_data_size = sizeof(V210DemuxerContext), |
| @@ -116,7 +116,7 @@ static const AVClass v210x_demuxer_class = { · 14 unmodified lines | ||
| 116 | 116 | .version = LIBAVUTIL_VERSION_INT, |
| 117 | 117 | }; |
| 118 | 118 | |
| 119 | −AVInputFormat ff_v210x_demuxer = { | |
| 119 | +const AVInputFormat ff_v210x_demuxer = { | |
| 120 | 120 | .name = "v210x", |
| 121 | 121 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"), |
| 122 | 122 | .priv_data_size = sizeof(V210DemuxerContext), |
| @@ -73,7 +73,7 @@ static int vag_read_packet(AVFormatContext *s, AVPacket *pkt) · 72 unmodified lines | ||
| 73 | 73 | return av_get_packet(s->pb, pkt, par->block_align); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | −AVInputFormat ff_vag_demuxer = { | |
| 76 | +const AVInputFormat ff_vag_demuxer = { | |
| 77 | 77 | .name = "vag", |
| 78 | 78 | .long_name = NULL_IF_CONFIG_SMALL("Sony PS2 VAG"), |
| 79 | 79 | .read_probe = vag_probe, |
| @@ -483,7 +483,7 @@ static const AVClass class_vs = { · 482 unmodified lines | ||
| 483 | 483 | .version = LIBAVUTIL_VERSION_INT, |
| 484 | 484 | }; |
| 485 | 485 | |
| 486 | −AVInputFormat ff_vapoursynth_demuxer = { | |
| 486 | +const AVInputFormat ff_vapoursynth_demuxer = { | |
| 487 | 487 | .name = "vapoursynth", |
| 488 | 488 | .long_name = NULL_IF_CONFIG_SMALL("VapourSynth demuxer"), |
| 489 | 489 | .priv_data_size = sizeof(VSContext), |
| @@ -116,7 +116,7 @@ static int vc1t_read_packet(AVFormatContext *s, · 115 unmodified lines | ||
| 116 | 116 | return pkt->size; |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | −AVInputFormat ff_vc1t_demuxer = { | |
| 119 | +const AVInputFormat ff_vc1t_demuxer = { | |
| 120 | 120 | .name = "vc1test", |
| 121 | 121 | .long_name = NULL_IF_CONFIG_SMALL("VC-1 test bitstream"), |
| 122 | 122 | .read_probe = vc1t_probe, |
| @@ -80,7 +80,7 @@ static int vc1test_write_trailer(AVFormatContext *s) · 79 unmodified lines | ||
| 80 | 80 | return 0; |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | −AVOutputFormat ff_vc1t_muxer = { | |
| 83 | +const AVOutputFormat ff_vc1t_muxer = { | |
| 84 | 84 | .name = "vc1test", |
| 85 | 85 | .long_name = NULL_IF_CONFIG_SMALL("VC-1 test bitstream"), |
| 86 | 86 | .extensions = "rcv", |
| @@ -781,7 +781,7 @@ static int viv_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 780 unmodified lines | ||
| 781 | 781 | return 0; |
| 782 | 782 | } |
| 783 | 783 | |
| 784 | −AVInputFormat ff_vividas_demuxer = { | |
| 784 | +const AVInputFormat ff_vividas_demuxer = { | |
| 785 | 785 | .name = "vividas", |
| 786 | 786 | .long_name = NULL_IF_CONFIG_SMALL("Vividas VIV"), |
| 787 | 787 | .priv_data_size = sizeof(VividasDemuxContext), |
| @@ -309,7 +309,7 @@ restart: · 308 unmodified lines | ||
| 309 | 309 | return ret; |
| 310 | 310 | } |
| 311 | 311 | |
| 312 | −AVInputFormat ff_vivo_demuxer = { | |
| 312 | +const AVInputFormat ff_vivo_demuxer = { | |
| 313 | 313 | .name = "vivo", |
| 314 | 314 | .long_name = NULL_IF_CONFIG_SMALL("Vivo"), |
| 315 | 315 | .priv_data_size = sizeof(VivoContext), |
| @@ -98,7 +98,7 @@ static int voc_read_seek(AVFormatContext *s, int stream_index, · 97 unmodified lines | ||
| 98 | 98 | return -1; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | −AVInputFormat ff_voc_demuxer = { | |
| 101 | +const AVInputFormat ff_voc_demuxer = { | |
| 102 | 102 | .name = "voc", |
| 103 | 103 | .long_name = NULL_IF_CONFIG_SMALL("Creative Voice"), |
| 104 | 104 | .priv_data_size = sizeof(VocDecContext), |
| @@ -95,7 +95,7 @@ static int voc_write_trailer(AVFormatContext *s) · 94 unmodified lines | ||
| 95 | 95 | return 0; |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | −AVOutputFormat ff_voc_muxer = { | |
| 98 | +const AVOutputFormat ff_voc_muxer = { | |
| 99 | 99 | .name = "voc", |
| 100 | 100 | .long_name = NULL_IF_CONFIG_SMALL("Creative Voice"), |
| 101 | 101 | .mime_type = "audio/x-voc", |
| @@ -134,7 +134,7 @@ static int vpk_read_seek(AVFormatContext *s, int stream_index, · 133 unmodified lines | ||
| 134 | 134 | return 0; |
| 135 | 135 | } |
| 136 | 136 | |
| 137 | −AVInputFormat ff_vpk_demuxer = { | |
| 137 | +const AVInputFormat ff_vpk_demuxer = { | |
| 138 | 138 | .name = "vpk", |
| 139 | 139 | .long_name = NULL_IF_CONFIG_SMALL("Sony PS2 VPK"), |
| 140 | 140 | .priv_data_size = sizeof(VPKDemuxContext), |
| @@ -118,7 +118,7 @@ static int vplayer_read_close(AVFormatContext *s) · 117 unmodified lines | ||
| 118 | 118 | return 0; |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | −AVInputFormat ff_vplayer_demuxer = { | |
| 121 | +const AVInputFormat ff_vplayer_demuxer = { | |
| 122 | 122 | .name = "vplayer", |
| 123 | 123 | .long_name = NULL_IF_CONFIG_SMALL("VPlayer subtitles"), |
| 124 | 124 | .priv_data_size = sizeof(VPlayerContext), |
| @@ -287,7 +287,7 @@ static int vqf_read_seek(AVFormatContext *s, · 286 unmodified lines | ||
| 287 | 287 | return 0; |
| 288 | 288 | } |
| 289 | 289 | |
| 290 | −AVInputFormat ff_vqf_demuxer = { | |
| 290 | +const AVInputFormat ff_vqf_demuxer = { | |
| 291 | 291 | .name = "vqf", |
| 292 | 292 | .long_name = NULL_IF_CONFIG_SMALL("Nippon Telegraph and Telephone Corporation (NTT) TwinVQ"), |
| 293 | 293 | .priv_data_size = sizeof(VqfContext), |
| @@ -816,7 +816,7 @@ static const AVClass wav_demuxer_class = { · 815 unmodified lines | ||
| 816 | 816 | .option = demux_options, |
| 817 | 817 | .version = LIBAVUTIL_VERSION_INT, |
| 818 | 818 | }; |
| 819 | −AVInputFormat ff_wav_demuxer = { | |
| 819 | +const AVInputFormat ff_wav_demuxer = { | |
| 820 | 820 | .name = "wav", |
| 821 | 821 | .long_name = NULL_IF_CONFIG_SMALL("WAV / WAVE (Waveform Audio)"), |
| 822 | 822 | .priv_data_size = sizeof(WAVDemuxContext), |
| @@ -966,7 +966,7 @@ static const AVClass w64_demuxer_class = { · 143 unmodified lines | ||
| 966 | 966 | .version = LIBAVUTIL_VERSION_INT, |
| 967 | 967 | }; |
| 968 | 968 | |
| 969 | −AVInputFormat ff_w64_demuxer = { | |
| 969 | +const AVInputFormat ff_w64_demuxer = { | |
| 970 | 970 | .name = "w64", |
| 971 | 971 | .long_name = NULL_IF_CONFIG_SMALL("Sony Wave64"), |
| 972 | 972 | .priv_data_size = sizeof(WAVDemuxContext), |
| @@ -504,7 +504,7 @@ static const AVClass wav_muxer_class = { · 503 unmodified lines | ||
| 504 | 504 | .version = LIBAVUTIL_VERSION_INT, |
| 505 | 505 | }; |
| 506 | 506 | |
| 507 | −AVOutputFormat ff_wav_muxer = { | |
| 507 | +const AVOutputFormat ff_wav_muxer = { | |
| 508 | 508 | .name = "wav", |
| 509 | 509 | .long_name = NULL_IF_CONFIG_SMALL("WAV / WAVE (Waveform Audio)"), |
| 510 | 510 | .mime_type = "audio/x-wav", |
| @@ -603,7 +603,7 @@ static int w64_write_trailer(AVFormatContext *s) · 92 unmodified lines | ||
| 603 | 603 | return 0; |
| 604 | 604 | } |
| 605 | 605 | |
| 606 | −AVOutputFormat ff_w64_muxer = { | |
| 606 | +const AVOutputFormat ff_w64_muxer = { | |
| 607 | 607 | .name = "w64", |
| 608 | 608 | .long_name = NULL_IF_CONFIG_SMALL("Sony Wave64"), |
| 609 | 609 | .extensions = "w64", |
| @@ -309,7 +309,7 @@ static int wc3_read_packet(AVFormatContext *s, · 308 unmodified lines | ||
| 309 | 309 | return ret; |
| 310 | 310 | } |
| 311 | 311 | |
| 312 | −AVInputFormat ff_wc3_demuxer = { | |
| 312 | +const AVInputFormat ff_wc3_demuxer = { | |
| 313 | 313 | .name = "wc3movie", |
| 314 | 314 | .long_name = NULL_IF_CONFIG_SMALL("Wing Commander III movie"), |
| 315 | 315 | .priv_data_size = sizeof(Wc3DemuxContext), |
| @@ -289,7 +289,7 @@ static const AVClass webm_chunk_class = { · 288 unmodified lines | ||
| 289 | 289 | .version = LIBAVUTIL_VERSION_INT, |
| 290 | 290 | }; |
| 291 | 291 | |
| 292 | −AVOutputFormat ff_webm_chunk_muxer = { | |
| 292 | +const AVOutputFormat ff_webm_chunk_muxer = { | |
| 293 | 293 | .name = "webm_chunk", |
| 294 | 294 | .long_name = NULL_IF_CONFIG_SMALL("WebM Chunk Muxer"), |
| 295 | 295 | .mime_type = "video/webm", |
| @@ -537,7 +537,7 @@ static const AVClass webm_dash_class = { · 536 unmodified lines | ||
| 537 | 537 | .version = LIBAVUTIL_VERSION_INT, |
| 538 | 538 | }; |
| 539 | 539 | |
| 540 | −AVOutputFormat ff_webm_dash_manifest_muxer = { | |
| 540 | +const AVOutputFormat ff_webm_dash_manifest_muxer = { | |
| 541 | 541 | .name = "webm_dash_manifest", |
| 542 | 542 | .long_name = NULL_IF_CONFIG_SMALL("WebM DASH Manifest"), |
| 543 | 543 | .mime_type = "application/xml", |
| @@ -212,7 +212,7 @@ static const AVClass webp_muxer_class = { · 211 unmodified lines | ||
| 212 | 212 | .version = LIBAVUTIL_VERSION_INT, |
| 213 | 213 | .option = options, |
| 214 | 214 | }; |
| 215 | −AVOutputFormat ff_webp_muxer = { | |
| 215 | +const AVOutputFormat ff_webp_muxer = { | |
| 216 | 216 | .name = "webp", |
| 217 | 217 | .long_name = NULL_IF_CONFIG_SMALL("WebP"), |
| 218 | 218 | .extensions = "webp", |
| @@ -210,7 +210,7 @@ static const AVClass webvtt_demuxer_class = { · 209 unmodified lines | ||
| 210 | 210 | .version = LIBAVUTIL_VERSION_INT, |
| 211 | 211 | }; |
| 212 | 212 | |
| 213 | −AVInputFormat ff_webvtt_demuxer = { | |
| 213 | +const AVInputFormat ff_webvtt_demuxer = { | |
| 214 | 214 | .name = "webvtt", |
| 215 | 215 | .long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"), |
| 216 | 216 | .priv_data_size = sizeof(WebVTTContext), |
| @@ -102,7 +102,7 @@ static int webvtt_write_packet(AVFormatContext *ctx, AVPacket *pkt) · 101 unmodified lines | ||
| 102 | 102 | return 0; |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | −AVOutputFormat ff_webvtt_muxer = { | |
| 105 | +const AVOutputFormat ff_webvtt_muxer = { | |
| 106 | 106 | .name = "webvtt", |
| 107 | 107 | .long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"), |
| 108 | 108 | .extensions = "vtt", |
| @@ -178,7 +178,7 @@ static int wsaud_read_packet(AVFormatContext *s, · 177 unmodified lines | ||
| 178 | 178 | return ret; |
| 179 | 179 | } |
| 180 | 180 | |
| 181 | −AVInputFormat ff_wsaud_demuxer = { | |
| 181 | +const AVInputFormat ff_wsaud_demuxer = { | |
| 182 | 182 | .name = "wsaud", |
| 183 | 183 | .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios audio"), |
| 184 | 184 | .read_probe = wsaud_probe, |
| @@ -127,7 +127,7 @@ static int wsaud_write_trailer(AVFormatContext *ctx) · 126 unmodified lines | ||
| 127 | 127 | return 0; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | −AVOutputFormat ff_wsaud_muxer = { | |
| 130 | +const AVOutputFormat ff_wsaud_muxer = { | |
| 131 | 131 | .name = "wsaud", |
| 132 | 132 | .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios audio"), |
| 133 | 133 | .extensions = "aud", |
| @@ -260,7 +260,7 @@ static int wsvqa_read_packet(AVFormatContext *s, · 259 unmodified lines | ||
| 260 | 260 | return ret; |
| 261 | 261 | } |
| 262 | 262 | |
| 263 | −AVInputFormat ff_wsvqa_demuxer = { | |
| 263 | +const AVInputFormat ff_wsvqa_demuxer = { | |
| 264 | 264 | .name = "wsvqa", |
| 265 | 265 | .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios VQA"), |
| 266 | 266 | .priv_data_size = sizeof(WsVqaDemuxContext), |
| @@ -162,7 +162,7 @@ static int wsd_read_header(AVFormatContext *s) · 161 unmodified lines | ||
| 162 | 162 | } |
| 163 | 163 | |
| 164 | 164 | FF_RAW_DEMUXER_CLASS(wsd) |
| 165 | −AVInputFormat ff_wsd_demuxer = { | |
| 165 | +const AVInputFormat ff_wsd_demuxer = { | |
| 166 | 166 | .name = "wsd", |
| 167 | 167 | .long_name = NULL_IF_CONFIG_SMALL("Wideband Single-bit Data (WSD)"), |
| 168 | 168 | .read_probe = wsd_probe, |
| @@ -1124,7 +1124,7 @@ static int read_close(AVFormatContext *s) · 1123 unmodified lines | ||
| 1124 | 1124 | return 0; |
| 1125 | 1125 | } |
| 1126 | 1126 | |
| 1127 | −AVInputFormat ff_wtv_demuxer = { | |
| 1127 | +const AVInputFormat ff_wtv_demuxer = { | |
| 1128 | 1128 | .name = "wtv", |
| 1129 | 1129 | .long_name = NULL_IF_CONFIG_SMALL("Windows Television (WTV)"), |
| 1130 | 1130 | .priv_data_size = sizeof(WtvContext), |
| @@ -829,7 +829,7 @@ static int write_trailer(AVFormatContext *s) · 828 unmodified lines | ||
| 829 | 829 | return 0; |
| 830 | 830 | } |
| 831 | 831 | |
| 832 | −AVOutputFormat ff_wtv_muxer = { | |
| 832 | +const AVOutputFormat ff_wtv_muxer = { | |
| 833 | 833 | .name = "wtv", |
| 834 | 834 | .long_name = NULL_IF_CONFIG_SMALL("Windows Television (WTV)"), |
| 835 | 835 | .extensions = "wtv", |
| @@ -329,7 +329,7 @@ static int wv_read_packet(AVFormatContext *s, AVPacket *pkt) · 328 unmodified lines | ||
| 329 | 329 | return 0; |
| 330 | 330 | } |
| 331 | 331 | |
| 332 | −AVInputFormat ff_wv_demuxer = { | |
| 332 | +const AVInputFormat ff_wv_demuxer = { | |
| 333 | 333 | .name = "wv", |
| 334 | 334 | .long_name = NULL_IF_CONFIG_SMALL("WavPack"), |
| 335 | 335 | .priv_data_size = sizeof(WVContext), |
| @@ -52,7 +52,7 @@ static int wve_read_header(AVFormatContext *s) · 51 unmodified lines | ||
| 52 | 52 | return 0; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | −AVInputFormat ff_wve_demuxer = { | |
| 55 | +const AVInputFormat ff_wve_demuxer = { | |
| 56 | 56 | .name = "wve", |
| 57 | 57 | .long_name = NULL_IF_CONFIG_SMALL("Psion 3 audio"), |
| 58 | 58 | .read_probe = wve_probe, |
| @@ -76,7 +76,7 @@ static av_cold int wv_write_trailer(AVFormatContext *ctx) · 75 unmodified lines | ||
| 76 | 76 | return 0; |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | −AVOutputFormat ff_wv_muxer = { | |
| 79 | +const AVOutputFormat ff_wv_muxer = { | |
| 80 | 80 | .name = "wv", |
| 81 | 81 | .long_name = NULL_IF_CONFIG_SMALL("raw WavPack"), |
| 82 | 82 | .mime_type = "audio/x-wavpack", |
| @@ -121,7 +121,7 @@ static int xa_read_packet(AVFormatContext *s, · 120 unmodified lines | ||
| 121 | 121 | return ret; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | −AVInputFormat ff_xa_demuxer = { | |
| 124 | +const AVInputFormat ff_xa_demuxer = { | |
| 125 | 125 | .name = "xa", |
| 126 | 126 | .long_name = NULL_IF_CONFIG_SMALL("Maxis XA"), |
| 127 | 127 | .priv_data_size = sizeof(MaxisXADemuxContext), |
| @@ -583,7 +583,7 @@ static int xmv_read_packet(AVFormatContext *s, · 582 unmodified lines | ||
| 583 | 583 | return 0; |
| 584 | 584 | } |
| 585 | 585 | |
| 586 | −AVInputFormat ff_xmv_demuxer = { | |
| 586 | +const AVInputFormat ff_xmv_demuxer = { | |
| 587 | 587 | .name = "xmv", |
| 588 | 588 | .long_name = NULL_IF_CONFIG_SMALL("Microsoft XMV"), |
| 589 | 589 | .extensions = "xmv", |
| @@ -103,7 +103,7 @@ static int xvag_read_packet(AVFormatContext *s, AVPacket *pkt) · 102 unmodified lines | ||
| 103 | 103 | return av_get_packet(s->pb, pkt, par->block_align); |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | −AVInputFormat ff_xvag_demuxer = { | |
| 106 | +const AVInputFormat ff_xvag_demuxer = { | |
| 107 | 107 | .name = "xvag", |
| 108 | 108 | .long_name = NULL_IF_CONFIG_SMALL("Sony PS3 XVAG"), |
| 109 | 109 | .read_probe = xvag_probe, |
| @@ -313,7 +313,7 @@ static int xwma_read_packet(AVFormatContext *s, AVPacket *pkt) · 312 unmodified lines | ||
| 313 | 313 | return ret; |
| 314 | 314 | } |
| 315 | 315 | |
| 316 | −AVInputFormat ff_xwma_demuxer = { | |
| 316 | +const AVInputFormat ff_xwma_demuxer = { | |
| 317 | 317 | .name = "xwma", |
| 318 | 318 | .long_name = NULL_IF_CONFIG_SMALL("Microsoft xWMA"), |
| 319 | 319 | .priv_data_size = sizeof(XWMAContext), |
| @@ -204,7 +204,7 @@ static int yop_read_seek(AVFormatContext *s, int stream_index, · 203 unmodified lines | ||
| 204 | 204 | return 0; |
| 205 | 205 | } |
| 206 | 206 | |
| 207 | −AVInputFormat ff_yop_demuxer = { | |
| 207 | +const AVInputFormat ff_yop_demuxer = { | |
| 208 | 208 | .name = "yop", |
| 209 | 209 | .long_name = NULL_IF_CONFIG_SMALL("Psygnosis YOP"), |
| 210 | 210 | .priv_data_size = sizeof(YopDecContext), |
| @@ -345,7 +345,7 @@ static int yuv4_probe(const AVProbeData *pd) · 344 unmodified lines | ||
| 345 | 345 | return 0; |
| 346 | 346 | } |
| 347 | 347 | |
| 348 | −AVInputFormat ff_yuv4mpegpipe_demuxer = { | |
| 348 | +const AVInputFormat ff_yuv4mpegpipe_demuxer = { | |
| 349 | 349 | .name = "yuv4mpegpipe", |
| 350 | 350 | .long_name = NULL_IF_CONFIG_SMALL("YUV4MPEG pipe"), |
| 351 | 351 | .read_probe = yuv4_probe, |
| @@ -328,7 +328,7 @@ static int yuv4_init(AVFormatContext *s) · 327 unmodified lines | ||
| 328 | 328 | return 0; |
| 329 | 329 | } |
| 330 | 330 | |
| 331 | −AVOutputFormat ff_yuv4mpegpipe_muxer = { | |
| 331 | +const AVOutputFormat ff_yuv4mpegpipe_muxer = { | |
| 332 | 332 | .name = "yuv4mpegpipe", |
| 333 | 333 | .long_name = NULL_IF_CONFIG_SMALL("YUV4MPEG pipe"), |
| 334 | 334 | .extensions = "y4m", |