Given that the AVCodec.next pointer has now been removed, most of the AVCodecs are not modified at all any more and can therefore be made const (as this patch does); the only exceptions are the very few codecs for external libraries that have a init_static_data callback.
Unified · Split
| @@ -144,7 +144,7 @@ static int zero12v_decode_frame(AVCodecContext *avctx, void *data, · 143 unmodified lines | ||
| 144 | 144 | return avpkt->size; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | −AVCodec ff_zero12v_decoder = { | |
| 147 | +const AVCodec ff_zero12v_decoder = { | |
| 148 | 148 | .name = "012v", |
| 149 | 149 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"), |
| 150 | 150 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1025,7 +1025,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 1024 unmodified lines | ||
| 1025 | 1025 | return 0; |
| 1026 | 1026 | } |
| 1027 | 1027 | |
| 1028 | −AVCodec ff_fourxm_decoder = { | |
| 1028 | +const AVCodec ff_fourxm_decoder = { | |
| 1029 | 1029 | .name = "4xm", |
| 1030 | 1030 | .long_name = NULL_IF_CONFIG_SMALL("4X Movie"), |
| 1031 | 1031 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -173,7 +173,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 172 unmodified lines | ||
| 173 | 173 | return 0; |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | −AVCodec ff_eightbps_decoder = { | |
| 176 | +const AVCodec ff_eightbps_decoder = { | |
| 177 | 177 | .name = "8bps", |
| 178 | 178 | .long_name = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"), |
| 179 | 179 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -184,7 +184,7 @@ static av_cold int eightsvx_decode_close(AVCodecContext *avctx) · 183 unmodified lines | ||
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | #if CONFIG_EIGHTSVX_FIB_DECODER |
| 187 | −AVCodec ff_eightsvx_fib_decoder = { | |
| 187 | +const AVCodec ff_eightsvx_fib_decoder = { | |
| 188 | 188 | .name = "8svx_fib", |
| 189 | 189 | .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), |
| 190 | 190 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -199,7 +199,7 @@ AVCodec ff_eightsvx_fib_decoder = { · 8 unmodified lines | ||
| 199 | 199 | }; |
| 200 | 200 | #endif |
| 201 | 201 | #if CONFIG_EIGHTSVX_EXP_DECODER |
| 202 | −AVCodec ff_eightsvx_exp_decoder = { | |
| 202 | +const AVCodec ff_eightsvx_exp_decoder = { | |
| 203 | 203 | .name = "8svx_exp", |
| 204 | 204 | .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"), |
| 205 | 205 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -399,7 +399,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 398 unmodified lines | ||
| 399 | 399 | } |
| 400 | 400 | |
| 401 | 401 | #if CONFIG_A64MULTI_ENCODER |
| 402 | −AVCodec ff_a64multi_encoder = { | |
| 402 | +const AVCodec ff_a64multi_encoder = { | |
| 403 | 403 | .name = "a64multi", |
| 404 | 404 | .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64"), |
| 405 | 405 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -414,7 +414,7 @@ AVCodec ff_a64multi_encoder = { · 8 unmodified lines | ||
| 414 | 414 | }; |
| 415 | 415 | #endif |
| 416 | 416 | #if CONFIG_A64MULTI5_ENCODER |
| 417 | −AVCodec ff_a64multi5_encoder = { | |
| 417 | +const AVCodec ff_a64multi5_encoder = { | |
| 418 | 418 | .name = "a64multi5", |
| 419 | 419 | .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64, extended with 5th color (colram)"), |
| 420 | 420 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -553,7 +553,7 @@ static av_cold int latm_decode_init(AVCodecContext *avctx) · 552 unmodified lines | ||
| 553 | 553 | return ret; |
| 554 | 554 | } |
| 555 | 555 | |
| 556 | −AVCodec ff_aac_decoder = { | |
| 556 | +const AVCodec ff_aac_decoder = { | |
| 557 | 557 | .name = "aac", |
| 558 | 558 | .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"), |
| 559 | 559 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -578,7 +578,7 @@ AVCodec ff_aac_decoder = { · 18 unmodified lines | ||
| 578 | 578 | in MPEG transport streams which only contain one program. |
| 579 | 579 | To do a more complex LATM demuxing a separate LATM demuxer should be used. |
| 580 | 580 | */ |
| 581 | −AVCodec ff_aac_latm_decoder = { | |
| 581 | +const AVCodec ff_aac_latm_decoder = { | |
| 582 | 582 | .name = "aac_latm", |
| 583 | 583 | .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"), |
| 584 | 584 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -451,7 +451,7 @@ static void apply_independent_coupling_fixed(AACContext *ac, · 450 unmodified lines | ||
| 451 | 451 | |
| 452 | 452 | #include "aacdec_template.c" |
| 453 | 453 | |
| 454 | −AVCodec ff_aac_fixed_decoder = { | |
| 454 | +const AVCodec ff_aac_fixed_decoder = { | |
| 455 | 455 | .name = "aac_fixed", |
| 456 | 456 | .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"), |
| 457 | 457 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1130,7 +1130,7 @@ static const AVCodecDefault aac_encode_defaults[] = { · 1129 unmodified lines | ||
| 1130 | 1130 | { NULL } |
| 1131 | 1131 | }; |
| 1132 | 1132 | |
| 1133 | −AVCodec ff_aac_encoder = { | |
| 1133 | +const AVCodec ff_aac_encoder = { | |
| 1134 | 1134 | .name = "aac", |
| 1135 | 1135 | .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"), |
| 1136 | 1136 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -149,7 +149,7 @@ static av_cold int aasc_decode_end(AVCodecContext *avctx) · 148 unmodified lines | ||
| 149 | 149 | return 0; |
| 150 | 150 | } |
| 151 | 151 | |
| 152 | −AVCodec ff_aasc_decoder = { | |
| 152 | +const AVCodec ff_aasc_decoder = { | |
| 153 | 153 | .name = "aasc", |
| 154 | 154 | .long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"), |
| 155 | 155 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -168,7 +168,7 @@ static const AVClass ac3_decoder_class = { · 167 unmodified lines | ||
| 168 | 168 | .version = LIBAVUTIL_VERSION_INT, |
| 169 | 169 | }; |
| 170 | 170 | |
| 171 | −AVCodec ff_ac3_fixed_decoder = { | |
| 171 | +const AVCodec ff_ac3_fixed_decoder = { | |
| 172 | 172 | .name = "ac3_fixed", |
| 173 | 173 | .type = AVMEDIA_TYPE_AUDIO, |
| 174 | 174 | .id = AV_CODEC_ID_AC3, |
| @@ -53,7 +53,7 @@ static const AVClass ac3_decoder_class = { · 52 unmodified lines | ||
| 53 | 53 | .version = LIBAVUTIL_VERSION_INT, |
| 54 | 54 | }; |
| 55 | 55 | |
| 56 | −AVCodec ff_ac3_decoder = { | |
| 56 | +const AVCodec ff_ac3_decoder = { | |
| 57 | 57 | .name = "ac3", |
| 58 | 58 | .type = AVMEDIA_TYPE_AUDIO, |
| 59 | 59 | .id = AV_CODEC_ID_AC3, |
| @@ -78,7 +78,7 @@ static const AVClass eac3_decoder_class = { · 18 unmodified lines | ||
| 78 | 78 | .version = LIBAVUTIL_VERSION_INT, |
| 79 | 79 | }; |
| 80 | 80 | |
| 81 | −AVCodec ff_eac3_decoder = { | |
| 81 | +const AVCodec ff_eac3_decoder = { | |
| 82 | 82 | .name = "eac3", |
| 83 | 83 | .type = AVMEDIA_TYPE_AUDIO, |
| 84 | 84 | .id = AV_CODEC_ID_EAC3, |
| @@ -127,7 +127,7 @@ static av_cold int ac3_fixed_encode_init(AVCodecContext *avctx) · 126 unmodified lines | ||
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | |
| 130 | −AVCodec ff_ac3_fixed_encoder = { | |
| 130 | +const AVCodec ff_ac3_fixed_encoder = { | |
| 131 | 131 | .name = "ac3_fixed", |
| 132 | 132 | .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), |
| 133 | 133 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -131,7 +131,7 @@ av_cold int ff_ac3_float_encode_init(AVCodecContext *avctx) · 130 unmodified lines | ||
| 131 | 131 | return ff_ac3_encode_init(avctx); |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | −AVCodec ff_ac3_encoder = { | |
| 134 | +const AVCodec ff_ac3_encoder = { | |
| 135 | 135 | .name = "ac3", |
| 136 | 136 | .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), |
| 137 | 137 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -2139,7 +2139,7 @@ static const enum AVSampleFormat sample_fmts_both[] = { AV_SAMPLE_FMT_S16, · 2138 unmodified lines | ||
| 2139 | 2139 | AV_SAMPLE_FMT_NONE }; |
| 2140 | 2140 | |
| 2141 | 2141 | #define ADPCM_DECODER(id_, sample_fmts_, name_, long_name_) \ |
| 2142 | −AVCodec ff_ ## name_ ## _decoder = { \ | |
| 2142 | +const AVCodec ff_ ## name_ ## _decoder = { \ | |
| 2143 | 2143 | .name = #name_, \ |
| 2144 | 2144 | .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ |
| 2145 | 2145 | .type = AVMEDIA_TYPE_AUDIO, \ |
| @@ -995,7 +995,7 @@ static const AVClass name_ ## _encoder_class = { \ · 994 unmodified lines | ||
| 995 | 995 | .version = LIBAVUTIL_VERSION_INT, \ |
| 996 | 996 | }; \ |
| 997 | 997 | \ |
| 998 | −AVCodec ff_ ## name_ ## _encoder = { \ | |
| 998 | +const AVCodec ff_ ## name_ ## _encoder = { \ | |
| 999 | 999 | .name = #name_, \ |
| 1000 | 1000 | .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ |
| 1001 | 1001 | .type = AVMEDIA_TYPE_AUDIO, \ |
| @@ -190,7 +190,7 @@ static void adx_decode_flush(AVCodecContext *avctx) · 189 unmodified lines | ||
| 190 | 190 | c->eof = 0; |
| 191 | 191 | } |
| 192 | 192 | |
| 193 | −AVCodec ff_adpcm_adx_decoder = { | |
| 193 | +const AVCodec ff_adpcm_adx_decoder = { | |
| 194 | 194 | .name = "adpcm_adx", |
| 195 | 195 | .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"), |
| 196 | 196 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -187,7 +187,7 @@ static int adx_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 186 unmodified lines | ||
| 187 | 187 | return 0; |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | −AVCodec ff_adpcm_adx_encoder = { | |
| 190 | +const AVCodec ff_adpcm_adx_encoder = { | |
| 191 | 191 | .name = "adpcm_adx", |
| 192 | 192 | .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"), |
| 193 | 193 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1285,7 +1285,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 1284 unmodified lines | ||
| 1285 | 1285 | return 0; |
| 1286 | 1286 | } |
| 1287 | 1287 | |
| 1288 | −AVCodec ff_agm_decoder = { | |
| 1288 | +const AVCodec ff_agm_decoder = { | |
| 1289 | 1289 | .name = "agm", |
| 1290 | 1290 | .long_name = NULL_IF_CONFIG_SMALL("Amuse Graphics Movie"), |
| 1291 | 1291 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -496,7 +496,7 @@ static av_cold int aic_decode_close(AVCodecContext *avctx) · 495 unmodified lines | ||
| 496 | 496 | return 0; |
| 497 | 497 | } |
| 498 | 498 | |
| 499 | −AVCodec ff_aic_decoder = { | |
| 499 | +const AVCodec ff_aic_decoder = { | |
| 500 | 500 | .name = "aic", |
| 501 | 501 | .long_name = NULL_IF_CONFIG_SMALL("Apple Intermediate Codec"), |
| 502 | 502 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -616,7 +616,7 @@ static const AVClass alac_class = { · 615 unmodified lines | ||
| 616 | 616 | .version = LIBAVUTIL_VERSION_INT, |
| 617 | 617 | }; |
| 618 | 618 | |
| 619 | −AVCodec ff_alac_decoder = { | |
| 619 | +const AVCodec ff_alac_decoder = { | |
| 620 | 620 | .name = "alac", |
| 621 | 621 | .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"), |
| 622 | 622 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -631,7 +631,7 @@ static const AVClass alacenc_class = { · 630 unmodified lines | ||
| 631 | 631 | .version = LIBAVUTIL_VERSION_INT, |
| 632 | 632 | }; |
| 633 | 633 | |
| 634 | −AVCodec ff_alac_encoder = { | |
| 634 | +const AVCodec ff_alac_encoder = { | |
| 635 | 635 | .name = "alac", |
| 636 | 636 | .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"), |
| 637 | 637 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -121,7 +121,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 120 unmodified lines | ||
| 121 | 121 | return avpkt->size; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | −AVCodec ff_alias_pix_decoder = { | |
| 124 | +const AVCodec ff_alias_pix_decoder = { | |
| 125 | 125 | .name = "alias_pix", |
| 126 | 126 | .long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"), |
| 127 | 127 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -103,7 +103,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 102 unmodified lines | ||
| 103 | 103 | return 0; |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | −AVCodec ff_alias_pix_encoder = { | |
| 106 | +const AVCodec ff_alias_pix_encoder = { | |
| 107 | 107 | .name = "alias_pix", |
| 108 | 108 | .long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"), |
| 109 | 109 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -28,812 +28,819 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/thread.h" |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | |
| 31 | −extern AVCodec ff_a64multi_encoder; | |
| 32 | −extern AVCodec ff_a64multi5_encoder; | |
| 33 | −extern AVCodec ff_aasc_decoder; | |
| 34 | −extern AVCodec ff_aic_decoder; | |
| 35 | −extern AVCodec ff_alias_pix_encoder; | |
| 36 | −extern AVCodec ff_alias_pix_decoder; | |
| 37 | −extern AVCodec ff_agm_decoder; | |
| 38 | −extern AVCodec ff_amv_encoder; | |
| 39 | −extern AVCodec ff_amv_decoder; | |
| 40 | −extern AVCodec ff_anm_decoder; | |
| 41 | −extern AVCodec ff_ansi_decoder; | |
| 42 | −extern AVCodec ff_apng_encoder; | |
| 43 | −extern AVCodec ff_apng_decoder; | |
| 44 | −extern AVCodec ff_arbc_decoder; | |
| 45 | −extern AVCodec ff_argo_decoder; | |
| 46 | −extern AVCodec ff_asv1_encoder; | |
| 47 | −extern AVCodec ff_asv1_decoder; | |
| 48 | −extern AVCodec ff_asv2_encoder; | |
| 49 | −extern AVCodec ff_asv2_decoder; | |
| 50 | −extern AVCodec ff_aura_decoder; | |
| 51 | −extern AVCodec ff_aura2_decoder; | |
| 52 | −extern AVCodec ff_avrp_encoder; | |
| 53 | −extern AVCodec ff_avrp_decoder; | |
| 54 | −extern AVCodec ff_avrn_decoder; | |
| 55 | −extern AVCodec ff_avs_decoder; | |
| 56 | −extern AVCodec ff_avui_encoder; | |
| 57 | −extern AVCodec ff_avui_decoder; | |
| 58 | −extern AVCodec ff_ayuv_encoder; | |
| 59 | −extern AVCodec ff_ayuv_decoder; | |
| 60 | −extern AVCodec ff_bethsoftvid_decoder; | |
| 61 | −extern AVCodec ff_bfi_decoder; | |
| 62 | −extern AVCodec ff_bink_decoder; | |
| 63 | −extern AVCodec ff_bitpacked_decoder; | |
| 64 | −extern AVCodec ff_bmp_encoder; | |
| 65 | −extern AVCodec ff_bmp_decoder; | |
| 66 | −extern AVCodec ff_bmv_video_decoder; | |
| 67 | −extern AVCodec ff_brender_pix_decoder; | |
| 68 | −extern AVCodec ff_c93_decoder; | |
| 69 | −extern AVCodec ff_cavs_decoder; | |
| 70 | −extern AVCodec ff_cdgraphics_decoder; | |
| 71 | −extern AVCodec ff_cdtoons_decoder; | |
| 72 | −extern AVCodec ff_cdxl_decoder; | |
| 73 | −extern AVCodec ff_cfhd_encoder; | |
| 74 | −extern AVCodec ff_cfhd_decoder; | |
| 75 | −extern AVCodec ff_cinepak_encoder; | |
| 76 | −extern AVCodec ff_cinepak_decoder; | |
| 77 | −extern AVCodec ff_clearvideo_decoder; | |
| 78 | −extern AVCodec ff_cljr_encoder; | |
| 79 | −extern AVCodec ff_cljr_decoder; | |
| 80 | −extern AVCodec ff_cllc_decoder; | |
| 81 | −extern AVCodec ff_comfortnoise_encoder; | |
| 82 | −extern AVCodec ff_comfortnoise_decoder; | |
| 83 | −extern AVCodec ff_cpia_decoder; | |
| 84 | −extern AVCodec ff_cri_decoder; | |
| 85 | −extern AVCodec ff_cscd_decoder; | |
| 86 | −extern AVCodec ff_cyuv_decoder; | |
| 87 | −extern AVCodec ff_dds_decoder; | |
| 88 | −extern AVCodec ff_dfa_decoder; | |
| 89 | −extern AVCodec ff_dirac_decoder; | |
| 90 | −extern AVCodec ff_dnxhd_encoder; | |
| 91 | −extern AVCodec ff_dnxhd_decoder; | |
| 92 | −extern AVCodec ff_dpx_encoder; | |
| 93 | −extern AVCodec ff_dpx_decoder; | |
| 94 | −extern AVCodec ff_dsicinvideo_decoder; | |
| 95 | −extern AVCodec ff_dvaudio_decoder; | |
| 96 | −extern AVCodec ff_dvvideo_encoder; | |
| 97 | −extern AVCodec ff_dvvideo_decoder; | |
| 98 | −extern AVCodec ff_dxa_decoder; | |
| 99 | −extern AVCodec ff_dxtory_decoder; | |
| 100 | −extern AVCodec ff_dxv_decoder; | |
| 101 | −extern AVCodec ff_eacmv_decoder; | |
| 102 | −extern AVCodec ff_eamad_decoder; | |
| 103 | −extern AVCodec ff_eatgq_decoder; | |
| 104 | −extern AVCodec ff_eatgv_decoder; | |
| 105 | −extern AVCodec ff_eatqi_decoder; | |
| 106 | −extern AVCodec ff_eightbps_decoder; | |
| 107 | −extern AVCodec ff_eightsvx_exp_decoder; | |
| 108 | −extern AVCodec ff_eightsvx_fib_decoder; | |
| 109 | −extern AVCodec ff_escape124_decoder; | |
| 110 | −extern AVCodec ff_escape130_decoder; | |
| 111 | −extern AVCodec ff_exr_encoder; | |
| 112 | −extern AVCodec ff_exr_decoder; | |
| 113 | −extern AVCodec ff_ffv1_encoder; | |
| 114 | −extern AVCodec ff_ffv1_decoder; | |
| 115 | −extern AVCodec ff_ffvhuff_encoder; | |
| 116 | −extern AVCodec ff_ffvhuff_decoder; | |
| 117 | −extern AVCodec ff_fic_decoder; | |
| 118 | −extern AVCodec ff_fits_encoder; | |
| 119 | −extern AVCodec ff_fits_decoder; | |
| 120 | −extern AVCodec ff_flashsv_encoder; | |
| 121 | −extern AVCodec ff_flashsv_decoder; | |
| 122 | −extern AVCodec ff_flashsv2_encoder; | |
| 123 | −extern AVCodec ff_flashsv2_decoder; | |
| 124 | −extern AVCodec ff_flic_decoder; | |
| 125 | −extern AVCodec ff_flv_encoder; | |
| 126 | −extern AVCodec ff_flv_decoder; | |
| 127 | −extern AVCodec ff_fmvc_decoder; | |
| 128 | −extern AVCodec ff_fourxm_decoder; | |
| 129 | −extern AVCodec ff_fraps_decoder; | |
| 130 | −extern AVCodec ff_frwu_decoder; | |
| 131 | −extern AVCodec ff_g2m_decoder; | |
| 132 | −extern AVCodec ff_gdv_decoder; | |
| 133 | −extern AVCodec ff_gif_encoder; | |
| 134 | −extern AVCodec ff_gif_decoder; | |
| 135 | −extern AVCodec ff_h261_encoder; | |
| 136 | −extern AVCodec ff_h261_decoder; | |
| 137 | −extern AVCodec ff_h263_encoder; | |
| 138 | −extern AVCodec ff_h263_decoder; | |
| 139 | −extern AVCodec ff_h263i_decoder; | |
| 140 | −extern AVCodec ff_h263p_encoder; | |
| 141 | −extern AVCodec ff_h263p_decoder; | |
| 142 | −extern AVCodec ff_h263_v4l2m2m_decoder; | |
| 143 | −extern AVCodec ff_h264_decoder; | |
| 144 | −extern AVCodec ff_h264_crystalhd_decoder; | |
| 145 | −extern AVCodec ff_h264_v4l2m2m_decoder; | |
| 146 | −extern AVCodec ff_h264_mediacodec_decoder; | |
| 147 | −extern AVCodec ff_h264_mmal_decoder; | |
| 148 | −extern AVCodec ff_h264_qsv_decoder; | |
| 149 | −extern AVCodec ff_h264_rkmpp_decoder; | |
| 150 | −extern AVCodec ff_hap_encoder; | |
| 151 | −extern AVCodec ff_hap_decoder; | |
| 152 | −extern AVCodec ff_hevc_decoder; | |
| 153 | −extern AVCodec ff_hevc_qsv_decoder; | |
| 154 | −extern AVCodec ff_hevc_rkmpp_decoder; | |
| 155 | −extern AVCodec ff_hevc_v4l2m2m_decoder; | |
| 156 | −extern AVCodec ff_hnm4_video_decoder; | |
| 157 | −extern AVCodec ff_hq_hqa_decoder; | |
| 158 | −extern AVCodec ff_hqx_decoder; | |
| 159 | −extern AVCodec ff_huffyuv_encoder; | |
| 160 | −extern AVCodec ff_huffyuv_decoder; | |
| 161 | −extern AVCodec ff_hymt_decoder; | |
| 162 | −extern AVCodec ff_idcin_decoder; | |
| 163 | −extern AVCodec ff_iff_ilbm_decoder; | |
| 164 | −extern AVCodec ff_imm4_decoder; | |
| 165 | −extern AVCodec ff_imm5_decoder; | |
| 166 | −extern AVCodec ff_indeo2_decoder; | |
| 167 | −extern AVCodec ff_indeo3_decoder; | |
| 168 | −extern AVCodec ff_indeo4_decoder; | |
| 169 | −extern AVCodec ff_indeo5_decoder; | |
| 170 | −extern AVCodec ff_interplay_video_decoder; | |
| 171 | −extern AVCodec ff_ipu_decoder; | |
| 172 | −extern AVCodec ff_jpeg2000_encoder; | |
| 173 | −extern AVCodec ff_jpeg2000_decoder; | |
| 174 | −extern AVCodec ff_jpegls_encoder; | |
| 175 | −extern AVCodec ff_jpegls_decoder; | |
| 176 | −extern AVCodec ff_jv_decoder; | |
| 177 | −extern AVCodec ff_kgv1_decoder; | |
| 178 | −extern AVCodec ff_kmvc_decoder; | |
| 179 | −extern AVCodec ff_lagarith_decoder; | |
| 180 | −extern AVCodec ff_ljpeg_encoder; | |
| 181 | −extern AVCodec ff_loco_decoder; | |
| 182 | −extern AVCodec ff_lscr_decoder; | |
| 183 | −extern AVCodec ff_m101_decoder; | |
| 184 | −extern AVCodec ff_magicyuv_encoder; | |
| 185 | −extern AVCodec ff_magicyuv_decoder; | |
| 186 | −extern AVCodec ff_mdec_decoder; | |
| 187 | −extern AVCodec ff_mimic_decoder; | |
| 188 | −extern AVCodec ff_mjpeg_encoder; | |
| 189 | −extern AVCodec ff_mjpeg_decoder; | |
| 190 | −extern AVCodec ff_mjpegb_decoder; | |
| 191 | −extern AVCodec ff_mmvideo_decoder; | |
| 192 | −extern AVCodec ff_mobiclip_decoder; | |
| 193 | −extern AVCodec ff_motionpixels_decoder; | |
| 194 | −extern AVCodec ff_mpeg1video_encoder; | |
| 195 | −extern AVCodec ff_mpeg1video_decoder; | |
| 196 | −extern AVCodec ff_mpeg2video_encoder; | |
| 197 | −extern AVCodec ff_mpeg2video_decoder; | |
| 198 | −extern AVCodec ff_mpeg4_encoder; | |
| 199 | −extern AVCodec ff_mpeg4_decoder; | |
| 200 | −extern AVCodec ff_mpeg4_crystalhd_decoder; | |
| 201 | −extern AVCodec ff_mpeg4_v4l2m2m_decoder; | |
| 202 | −extern AVCodec ff_mpeg4_mmal_decoder; | |
| 203 | −extern AVCodec ff_mpegvideo_decoder; | |
| 204 | −extern AVCodec ff_mpeg1_v4l2m2m_decoder; | |
| 205 | −extern AVCodec ff_mpeg2_mmal_decoder; | |
| 206 | −extern AVCodec ff_mpeg2_crystalhd_decoder; | |
| 207 | −extern AVCodec ff_mpeg2_v4l2m2m_decoder; | |
| 208 | −extern AVCodec ff_mpeg2_qsv_decoder; | |
| 209 | −extern AVCodec ff_mpeg2_mediacodec_decoder; | |
| 210 | −extern AVCodec ff_msa1_decoder; | |
| 211 | −extern AVCodec ff_mscc_decoder; | |
| 212 | −extern AVCodec ff_msmpeg4v1_decoder; | |
| 213 | −extern AVCodec ff_msmpeg4v2_encoder; | |
| 214 | −extern AVCodec ff_msmpeg4v2_decoder; | |
| 215 | −extern AVCodec ff_msmpeg4v3_encoder; | |
| 216 | −extern AVCodec ff_msmpeg4v3_decoder; | |
| 217 | −extern AVCodec ff_msmpeg4_crystalhd_decoder; | |
| 218 | −extern AVCodec ff_msp2_decoder; | |
| 219 | −extern AVCodec ff_msrle_decoder; | |
| 220 | −extern AVCodec ff_mss1_decoder; | |
| 221 | −extern AVCodec ff_mss2_decoder; | |
| 222 | −extern AVCodec ff_msvideo1_encoder; | |
| 223 | −extern AVCodec ff_msvideo1_decoder; | |
| 224 | −extern AVCodec ff_mszh_decoder; | |
| 225 | −extern AVCodec ff_mts2_decoder; | |
| 226 | −extern AVCodec ff_mv30_decoder; | |
| 227 | −extern AVCodec ff_mvc1_decoder; | |
| 228 | −extern AVCodec ff_mvc2_decoder; | |
| 229 | −extern AVCodec ff_mvdv_decoder; | |
| 230 | −extern AVCodec ff_mvha_decoder; | |
| 231 | −extern AVCodec ff_mwsc_decoder; | |
| 232 | −extern AVCodec ff_mxpeg_decoder; | |
| 233 | −extern AVCodec ff_notchlc_decoder; | |
| 234 | −extern AVCodec ff_nuv_decoder; | |
| 235 | −extern AVCodec ff_paf_video_decoder; | |
| 236 | −extern AVCodec ff_pam_encoder; | |
| 237 | −extern AVCodec ff_pam_decoder; | |
| 238 | −extern AVCodec ff_pbm_encoder; | |
| 239 | −extern AVCodec ff_pbm_decoder; | |
| 240 | −extern AVCodec ff_pcx_encoder; | |
| 241 | −extern AVCodec ff_pcx_decoder; | |
| 242 | −extern AVCodec ff_pfm_encoder; | |
| 243 | −extern AVCodec ff_pfm_decoder; | |
| 244 | −extern AVCodec ff_pgm_encoder; | |
| 245 | −extern AVCodec ff_pgm_decoder; | |
| 246 | −extern AVCodec ff_pgmyuv_encoder; | |
| 247 | −extern AVCodec ff_pgmyuv_decoder; | |
| 248 | −extern AVCodec ff_pgx_decoder; | |
| 249 | −extern AVCodec ff_photocd_decoder; | |
| 250 | −extern AVCodec ff_pictor_decoder; | |
| 251 | −extern AVCodec ff_pixlet_decoder; | |
| 252 | −extern AVCodec ff_png_encoder; | |
| 253 | −extern AVCodec ff_png_decoder; | |
| 254 | −extern AVCodec ff_ppm_encoder; | |
| 255 | −extern AVCodec ff_ppm_decoder; | |
| 256 | −extern AVCodec ff_prores_encoder; | |
| 257 | −extern AVCodec ff_prores_decoder; | |
| 258 | −extern AVCodec ff_prores_aw_encoder; | |
| 259 | −extern AVCodec ff_prores_ks_encoder; | |
| 260 | −extern AVCodec ff_prosumer_decoder; | |
| 261 | −extern AVCodec ff_psd_decoder; | |
| 262 | −extern AVCodec ff_ptx_decoder; | |
| 263 | −extern AVCodec ff_qdraw_decoder; | |
| 264 | −extern AVCodec ff_qpeg_decoder; | |
| 265 | −extern AVCodec ff_qtrle_encoder; | |
| 266 | −extern AVCodec ff_qtrle_decoder; | |
| 267 | −extern AVCodec ff_r10k_encoder; | |
| 268 | −extern AVCodec ff_r10k_decoder; | |
| 269 | −extern AVCodec ff_r210_encoder; | |
| 270 | −extern AVCodec ff_r210_decoder; | |
| 271 | −extern AVCodec ff_rasc_decoder; | |
| 272 | −extern AVCodec ff_rawvideo_encoder; | |
| 273 | −extern AVCodec ff_rawvideo_decoder; | |
| 274 | −extern AVCodec ff_rl2_decoder; | |
| 275 | −extern AVCodec ff_roq_encoder; | |
| 276 | −extern AVCodec ff_roq_decoder; | |
| 277 | −extern AVCodec ff_rpza_encoder; | |
| 278 | −extern AVCodec ff_rpza_decoder; | |
| 279 | −extern AVCodec ff_rscc_decoder; | |
| 280 | −extern AVCodec ff_rv10_encoder; | |
| 281 | −extern AVCodec ff_rv10_decoder; | |
| 282 | −extern AVCodec ff_rv20_encoder; | |
| 283 | −extern AVCodec ff_rv20_decoder; | |
| 284 | −extern AVCodec ff_rv30_decoder; | |
| 285 | −extern AVCodec ff_rv40_decoder; | |
| 286 | −extern AVCodec ff_s302m_encoder; | |
| 287 | −extern AVCodec ff_s302m_decoder; | |
| 288 | −extern AVCodec ff_sanm_decoder; | |
| 289 | −extern AVCodec ff_scpr_decoder; | |
| 290 | −extern AVCodec ff_screenpresso_decoder; | |
| 291 | −extern AVCodec ff_sga_decoder; | |
| 292 | −extern AVCodec ff_sgi_encoder; | |
| 293 | −extern AVCodec ff_sgi_decoder; | |
| 294 | −extern AVCodec ff_sgirle_decoder; | |
| 295 | −extern AVCodec ff_sheervideo_decoder; | |
| 296 | −extern AVCodec ff_simbiosis_imx_decoder; | |
| 297 | −extern AVCodec ff_smacker_decoder; | |
| 298 | −extern AVCodec ff_smc_decoder; | |
| 299 | −extern AVCodec ff_smvjpeg_decoder; | |
| 300 | −extern AVCodec ff_snow_encoder; | |
| 301 | −extern AVCodec ff_snow_decoder; | |
| 302 | −extern AVCodec ff_sp5x_decoder; | |
| 303 | −extern AVCodec ff_speedhq_decoder; | |
| 304 | −extern AVCodec ff_speedhq_encoder; | |
| 305 | −extern AVCodec ff_srgc_decoder; | |
| 306 | −extern AVCodec ff_sunrast_encoder; | |
| 307 | −extern AVCodec ff_sunrast_decoder; | |
| 308 | −extern AVCodec ff_svq1_encoder; | |
| 309 | −extern AVCodec ff_svq1_decoder; | |
| 310 | −extern AVCodec ff_svq3_decoder; | |
| 311 | −extern AVCodec ff_targa_encoder; | |
| 312 | −extern AVCodec ff_targa_decoder; | |
| 313 | −extern AVCodec ff_targa_y216_decoder; | |
| 314 | −extern AVCodec ff_tdsc_decoder; | |
| 315 | −extern AVCodec ff_theora_decoder; | |
| 316 | −extern AVCodec ff_thp_decoder; | |
| 317 | −extern AVCodec ff_tiertexseqvideo_decoder; | |
| 318 | −extern AVCodec ff_tiff_encoder; | |
| 319 | −extern AVCodec ff_tiff_decoder; | |
| 320 | −extern AVCodec ff_tmv_decoder; | |
| 321 | −extern AVCodec ff_truemotion1_decoder; | |
| 322 | −extern AVCodec ff_truemotion2_decoder; | |
| 323 | −extern AVCodec ff_truemotion2rt_decoder; | |
| 324 | −extern AVCodec ff_tscc_decoder; | |
| 325 | −extern AVCodec ff_tscc2_decoder; | |
| 326 | −extern AVCodec ff_txd_decoder; | |
| 327 | −extern AVCodec ff_ulti_decoder; | |
| 328 | −extern AVCodec ff_utvideo_encoder; | |
| 329 | −extern AVCodec ff_utvideo_decoder; | |
| 330 | −extern AVCodec ff_v210_encoder; | |
| 331 | −extern AVCodec ff_v210_decoder; | |
| 332 | −extern AVCodec ff_v210x_decoder; | |
| 333 | −extern AVCodec ff_v308_encoder; | |
| 334 | −extern AVCodec ff_v308_decoder; | |
| 335 | −extern AVCodec ff_v408_encoder; | |
| 336 | −extern AVCodec ff_v408_decoder; | |
| 337 | −extern AVCodec ff_v410_encoder; | |
| 338 | −extern AVCodec ff_v410_decoder; | |
| 339 | −extern AVCodec ff_vb_decoder; | |
| 340 | −extern AVCodec ff_vble_decoder; | |
| 341 | −extern AVCodec ff_vc1_decoder; | |
| 342 | −extern AVCodec ff_vc1_crystalhd_decoder; | |
| 343 | −extern AVCodec ff_vc1image_decoder; | |
| 344 | −extern AVCodec ff_vc1_mmal_decoder; | |
| 345 | −extern AVCodec ff_vc1_qsv_decoder; | |
| 346 | −extern AVCodec ff_vc1_v4l2m2m_decoder; | |
| 347 | −extern AVCodec ff_vc2_encoder; | |
| 348 | −extern AVCodec ff_vcr1_decoder; | |
| 349 | −extern AVCodec ff_vmdvideo_decoder; | |
| 350 | −extern AVCodec ff_vmnc_decoder; | |
| 351 | −extern AVCodec ff_vp3_decoder; | |
| 352 | −extern AVCodec ff_vp4_decoder; | |
| 353 | −extern AVCodec ff_vp5_decoder; | |
| 354 | −extern AVCodec ff_vp6_decoder; | |
| 355 | −extern AVCodec ff_vp6a_decoder; | |
| 356 | −extern AVCodec ff_vp6f_decoder; | |
| 357 | −extern AVCodec ff_vp7_decoder; | |
| 358 | −extern AVCodec ff_vp8_decoder; | |
| 359 | −extern AVCodec ff_vp8_rkmpp_decoder; | |
| 360 | −extern AVCodec ff_vp8_v4l2m2m_decoder; | |
| 361 | −extern AVCodec ff_vp9_decoder; | |
| 362 | −extern AVCodec ff_vp9_rkmpp_decoder; | |
| 363 | −extern AVCodec ff_vp9_v4l2m2m_decoder; | |
| 364 | −extern AVCodec ff_vqa_decoder; | |
| 365 | −extern AVCodec ff_webp_decoder; | |
| 366 | −extern AVCodec ff_wcmv_decoder; | |
| 367 | −extern AVCodec ff_wrapped_avframe_encoder; | |
| 368 | −extern AVCodec ff_wrapped_avframe_decoder; | |
| 369 | −extern AVCodec ff_wmv1_encoder; | |
| 370 | −extern AVCodec ff_wmv1_decoder; | |
| 371 | −extern AVCodec ff_wmv2_encoder; | |
| 372 | −extern AVCodec ff_wmv2_decoder; | |
| 373 | −extern AVCodec ff_wmv3_decoder; | |
| 374 | −extern AVCodec ff_wmv3_crystalhd_decoder; | |
| 375 | −extern AVCodec ff_wmv3image_decoder; | |
| 376 | −extern AVCodec ff_wnv1_decoder; | |
| 377 | −extern AVCodec ff_xan_wc3_decoder; | |
| 378 | −extern AVCodec ff_xan_wc4_decoder; | |
| 379 | −extern AVCodec ff_xbm_encoder; | |
| 380 | −extern AVCodec ff_xbm_decoder; | |
| 381 | −extern AVCodec ff_xface_encoder; | |
| 382 | −extern AVCodec ff_xface_decoder; | |
| 383 | −extern AVCodec ff_xl_decoder; | |
| 384 | −extern AVCodec ff_xpm_decoder; | |
| 385 | −extern AVCodec ff_xwd_encoder; | |
| 386 | −extern AVCodec ff_xwd_decoder; | |
| 387 | −extern AVCodec ff_y41p_encoder; | |
| 388 | −extern AVCodec ff_y41p_decoder; | |
| 389 | −extern AVCodec ff_ylc_decoder; | |
| 390 | −extern AVCodec ff_yop_decoder; | |
| 391 | −extern AVCodec ff_yuv4_encoder; | |
| 392 | −extern AVCodec ff_yuv4_decoder; | |
| 393 | −extern AVCodec ff_zero12v_decoder; | |
| 394 | −extern AVCodec ff_zerocodec_decoder; | |
| 395 | −extern AVCodec ff_zlib_encoder; | |
| 396 | −extern AVCodec ff_zlib_decoder; | |
| 397 | −extern AVCodec ff_zmbv_encoder; | |
| 398 | −extern AVCodec ff_zmbv_decoder; | |
| 31 | +extern const AVCodec ff_a64multi_encoder; | |
| 32 | +extern const AVCodec ff_a64multi5_encoder; | |
| 33 | +extern const AVCodec ff_aasc_decoder; | |
| 34 | +extern const AVCodec ff_aic_decoder; | |
| 35 | +extern const AVCodec ff_alias_pix_encoder; | |
| 36 | +extern const AVCodec ff_alias_pix_decoder; | |
| 37 | +extern const AVCodec ff_agm_decoder; | |
| 38 | +extern const AVCodec ff_amv_encoder; | |
| 39 | +extern const AVCodec ff_amv_decoder; | |
| 40 | +extern const AVCodec ff_anm_decoder; | |
| 41 | +extern const AVCodec ff_ansi_decoder; | |
| 42 | +extern const AVCodec ff_apng_encoder; | |
| 43 | +extern const AVCodec ff_apng_decoder; | |
| 44 | +extern const AVCodec ff_arbc_decoder; | |
| 45 | +extern const AVCodec ff_argo_decoder; | |
| 46 | +extern const AVCodec ff_asv1_encoder; | |
| 47 | +extern const AVCodec ff_asv1_decoder; | |
| 48 | +extern const AVCodec ff_asv2_encoder; | |
| 49 | +extern const AVCodec ff_asv2_decoder; | |
| 50 | +extern const AVCodec ff_aura_decoder; | |
| 51 | +extern const AVCodec ff_aura2_decoder; | |
| 52 | +extern const AVCodec ff_avrp_encoder; | |
| 53 | +extern const AVCodec ff_avrp_decoder; | |
| 54 | +extern const AVCodec ff_avrn_decoder; | |
| 55 | +extern const AVCodec ff_avs_decoder; | |
| 56 | +extern const AVCodec ff_avui_encoder; | |
| 57 | +extern const AVCodec ff_avui_decoder; | |
| 58 | +extern const AVCodec ff_ayuv_encoder; | |
| 59 | +extern const AVCodec ff_ayuv_decoder; | |
| 60 | +extern const AVCodec ff_bethsoftvid_decoder; | |
| 61 | +extern const AVCodec ff_bfi_decoder; | |
| 62 | +extern const AVCodec ff_bink_decoder; | |
| 63 | +extern const AVCodec ff_bitpacked_decoder; | |
| 64 | +extern const AVCodec ff_bmp_encoder; | |
| 65 | +extern const AVCodec ff_bmp_decoder; | |
| 66 | +extern const AVCodec ff_bmv_video_decoder; | |
| 67 | +extern const AVCodec ff_brender_pix_decoder; | |
| 68 | +extern const AVCodec ff_c93_decoder; | |
| 69 | +extern const AVCodec ff_cavs_decoder; | |
| 70 | +extern const AVCodec ff_cdgraphics_decoder; | |
| 71 | +extern const AVCodec ff_cdtoons_decoder; | |
| 72 | +extern const AVCodec ff_cdxl_decoder; | |
| 73 | +extern const AVCodec ff_cfhd_encoder; | |
| 74 | +extern const AVCodec ff_cfhd_decoder; | |
| 75 | +extern const AVCodec ff_cinepak_encoder; | |
| 76 | +extern const AVCodec ff_cinepak_decoder; | |
| 77 | +extern const AVCodec ff_clearvideo_decoder; | |
| 78 | +extern const AVCodec ff_cljr_encoder; | |
| 79 | +extern const AVCodec ff_cljr_decoder; | |
| 80 | +extern const AVCodec ff_cllc_decoder; | |
| 81 | +extern const AVCodec ff_comfortnoise_encoder; | |
| 82 | +extern const AVCodec ff_comfortnoise_decoder; | |
| 83 | +extern const AVCodec ff_cpia_decoder; | |
| 84 | +extern const AVCodec ff_cri_decoder; | |
| 85 | +extern const AVCodec ff_cscd_decoder; | |
| 86 | +extern const AVCodec ff_cyuv_decoder; | |
| 87 | +extern const AVCodec ff_dds_decoder; | |
| 88 | +extern const AVCodec ff_dfa_decoder; | |
| 89 | +extern const AVCodec ff_dirac_decoder; | |
| 90 | +extern const AVCodec ff_dnxhd_encoder; | |
| 91 | +extern const AVCodec ff_dnxhd_decoder; | |
| 92 | +extern const AVCodec ff_dpx_encoder; | |
| 93 | +extern const AVCodec ff_dpx_decoder; | |
| 94 | +extern const AVCodec ff_dsicinvideo_decoder; | |
| 95 | +extern const AVCodec ff_dvaudio_decoder; | |
| 96 | +extern const AVCodec ff_dvvideo_encoder; | |
| 97 | +extern const AVCodec ff_dvvideo_decoder; | |
| 98 | +extern const AVCodec ff_dxa_decoder; | |
| 99 | +extern const AVCodec ff_dxtory_decoder; | |
| 100 | +extern const AVCodec ff_dxv_decoder; | |
| 101 | +extern const AVCodec ff_eacmv_decoder; | |
| 102 | +extern const AVCodec ff_eamad_decoder; | |
| 103 | +extern const AVCodec ff_eatgq_decoder; | |
| 104 | +extern const AVCodec ff_eatgv_decoder; | |
| 105 | +extern const AVCodec ff_eatqi_decoder; | |
| 106 | +extern const AVCodec ff_eightbps_decoder; | |
| 107 | +extern const AVCodec ff_eightsvx_exp_decoder; | |
| 108 | +extern const AVCodec ff_eightsvx_fib_decoder; | |
| 109 | +extern const AVCodec ff_escape124_decoder; | |
| 110 | +extern const AVCodec ff_escape130_decoder; | |
| 111 | +extern const AVCodec ff_exr_encoder; | |
| 112 | +extern const AVCodec ff_exr_decoder; | |
| 113 | +extern const AVCodec ff_ffv1_encoder; | |
| 114 | +extern const AVCodec ff_ffv1_decoder; | |
| 115 | +extern const AVCodec ff_ffvhuff_encoder; | |
| 116 | +extern const AVCodec ff_ffvhuff_decoder; | |
| 117 | +extern const AVCodec ff_fic_decoder; | |
| 118 | +extern const AVCodec ff_fits_encoder; | |
| 119 | +extern const AVCodec ff_fits_decoder; | |
| 120 | +extern const AVCodec ff_flashsv_encoder; | |
| 121 | +extern const AVCodec ff_flashsv_decoder; | |
| 122 | +extern const AVCodec ff_flashsv2_encoder; | |
| 123 | +extern const AVCodec ff_flashsv2_decoder; | |
| 124 | +extern const AVCodec ff_flic_decoder; | |
| 125 | +extern const AVCodec ff_flv_encoder; | |
| 126 | +extern const AVCodec ff_flv_decoder; | |
| 127 | +extern const AVCodec ff_fmvc_decoder; | |
| 128 | +extern const AVCodec ff_fourxm_decoder; | |
| 129 | +extern const AVCodec ff_fraps_decoder; | |
| 130 | +extern const AVCodec ff_frwu_decoder; | |
| 131 | +extern const AVCodec ff_g2m_decoder; | |
| 132 | +extern const AVCodec ff_gdv_decoder; | |
| 133 | +extern const AVCodec ff_gif_encoder; | |
| 134 | +extern const AVCodec ff_gif_decoder; | |
| 135 | +extern const AVCodec ff_h261_encoder; | |
| 136 | +extern const AVCodec ff_h261_decoder; | |
| 137 | +extern const AVCodec ff_h263_encoder; | |
| 138 | +extern const AVCodec ff_h263_decoder; | |
| 139 | +extern const AVCodec ff_h263i_decoder; | |
| 140 | +extern const AVCodec ff_h263p_encoder; | |
| 141 | +extern const AVCodec ff_h263p_decoder; | |
| 142 | +extern const AVCodec ff_h263_v4l2m2m_decoder; | |
| 143 | +extern const AVCodec ff_h264_decoder; | |
| 144 | +extern const AVCodec ff_h264_crystalhd_decoder; | |
| 145 | +extern const AVCodec ff_h264_v4l2m2m_decoder; | |
| 146 | +extern const AVCodec ff_h264_mediacodec_decoder; | |
| 147 | +extern const AVCodec ff_h264_mmal_decoder; | |
| 148 | +extern const AVCodec ff_h264_qsv_decoder; | |
| 149 | +extern const AVCodec ff_h264_rkmpp_decoder; | |
| 150 | +extern const AVCodec ff_hap_encoder; | |
| 151 | +extern const AVCodec ff_hap_decoder; | |
| 152 | +extern const AVCodec ff_hevc_decoder; | |
| 153 | +extern const AVCodec ff_hevc_qsv_decoder; | |
| 154 | +extern const AVCodec ff_hevc_rkmpp_decoder; | |
| 155 | +extern const AVCodec ff_hevc_v4l2m2m_decoder; | |
| 156 | +extern const AVCodec ff_hnm4_video_decoder; | |
| 157 | +extern const AVCodec ff_hq_hqa_decoder; | |
| 158 | +extern const AVCodec ff_hqx_decoder; | |
| 159 | +extern const AVCodec ff_huffyuv_encoder; | |
| 160 | +extern const AVCodec ff_huffyuv_decoder; | |
| 161 | +extern const AVCodec ff_hymt_decoder; | |
| 162 | +extern const AVCodec ff_idcin_decoder; | |
| 163 | +extern const AVCodec ff_iff_ilbm_decoder; | |
| 164 | +extern const AVCodec ff_imm4_decoder; | |
| 165 | +extern const AVCodec ff_imm5_decoder; | |
| 166 | +extern const AVCodec ff_indeo2_decoder; | |
| 167 | +extern const AVCodec ff_indeo3_decoder; | |
| 168 | +extern const AVCodec ff_indeo4_decoder; | |
| 169 | +extern const AVCodec ff_indeo5_decoder; | |
| 170 | +extern const AVCodec ff_interplay_video_decoder; | |
| 171 | +extern const AVCodec ff_ipu_decoder; | |
| 172 | +extern const AVCodec ff_jpeg2000_encoder; | |
| 173 | +extern const AVCodec ff_jpeg2000_decoder; | |
| 174 | +extern const AVCodec ff_jpegls_encoder; | |
| 175 | +extern const AVCodec ff_jpegls_decoder; | |
| 176 | +extern const AVCodec ff_jv_decoder; | |
| 177 | +extern const AVCodec ff_kgv1_decoder; | |
| 178 | +extern const AVCodec ff_kmvc_decoder; | |
| 179 | +extern const AVCodec ff_lagarith_decoder; | |
| 180 | +extern const AVCodec ff_ljpeg_encoder; | |
| 181 | +extern const AVCodec ff_loco_decoder; | |
| 182 | +extern const AVCodec ff_lscr_decoder; | |
| 183 | +extern const AVCodec ff_m101_decoder; | |
| 184 | +extern const AVCodec ff_magicyuv_encoder; | |
| 185 | +extern const AVCodec ff_magicyuv_decoder; | |
| 186 | +extern const AVCodec ff_mdec_decoder; | |
| 187 | +extern const AVCodec ff_mimic_decoder; | |
| 188 | +extern const AVCodec ff_mjpeg_encoder; | |
| 189 | +extern const AVCodec ff_mjpeg_decoder; | |
| 190 | +extern const AVCodec ff_mjpegb_decoder; | |
| 191 | +extern const AVCodec ff_mmvideo_decoder; | |
| 192 | +extern const AVCodec ff_mobiclip_decoder; | |
| 193 | +extern const AVCodec ff_motionpixels_decoder; | |
| 194 | +extern const AVCodec ff_mpeg1video_encoder; | |
| 195 | +extern const AVCodec ff_mpeg1video_decoder; | |
| 196 | +extern const AVCodec ff_mpeg2video_encoder; | |
| 197 | +extern const AVCodec ff_mpeg2video_decoder; | |
| 198 | +extern const AVCodec ff_mpeg4_encoder; | |
| 199 | +extern const AVCodec ff_mpeg4_decoder; | |
| 200 | +extern const AVCodec ff_mpeg4_crystalhd_decoder; | |
| 201 | +extern const AVCodec ff_mpeg4_v4l2m2m_decoder; | |
| 202 | +extern const AVCodec ff_mpeg4_mmal_decoder; | |
| 203 | +extern const AVCodec ff_mpegvideo_decoder; | |
| 204 | +extern const AVCodec ff_mpeg1_v4l2m2m_decoder; | |
| 205 | +extern const AVCodec ff_mpeg2_mmal_decoder; | |
| 206 | +extern const AVCodec ff_mpeg2_crystalhd_decoder; | |
| 207 | +extern const AVCodec ff_mpeg2_v4l2m2m_decoder; | |
| 208 | +extern const AVCodec ff_mpeg2_qsv_decoder; | |
| 209 | +extern const AVCodec ff_mpeg2_mediacodec_decoder; | |
| 210 | +extern const AVCodec ff_msa1_decoder; | |
| 211 | +extern const AVCodec ff_mscc_decoder; | |
| 212 | +extern const AVCodec ff_msmpeg4v1_decoder; | |
| 213 | +extern const AVCodec ff_msmpeg4v2_encoder; | |
| 214 | +extern const AVCodec ff_msmpeg4v2_decoder; | |
| 215 | +extern const AVCodec ff_msmpeg4v3_encoder; | |
| 216 | +extern const AVCodec ff_msmpeg4v3_decoder; | |
| 217 | +extern const AVCodec ff_msmpeg4_crystalhd_decoder; | |
| 218 | +extern const AVCodec ff_msp2_decoder; | |
| 219 | +extern const AVCodec ff_msrle_decoder; | |
| 220 | +extern const AVCodec ff_mss1_decoder; | |
| 221 | +extern const AVCodec ff_mss2_decoder; | |
| 222 | +extern const AVCodec ff_msvideo1_encoder; | |
| 223 | +extern const AVCodec ff_msvideo1_decoder; | |
| 224 | +extern const AVCodec ff_mszh_decoder; | |
| 225 | +extern const AVCodec ff_mts2_decoder; | |
| 226 | +extern const AVCodec ff_mv30_decoder; | |
| 227 | +extern const AVCodec ff_mvc1_decoder; | |
| 228 | +extern const AVCodec ff_mvc2_decoder; | |
| 229 | +extern const AVCodec ff_mvdv_decoder; | |
| 230 | +extern const AVCodec ff_mvha_decoder; | |
| 231 | +extern const AVCodec ff_mwsc_decoder; | |
| 232 | +extern const AVCodec ff_mxpeg_decoder; | |
| 233 | +extern const AVCodec ff_notchlc_decoder; | |
| 234 | +extern const AVCodec ff_nuv_decoder; | |
| 235 | +extern const AVCodec ff_paf_video_decoder; | |
| 236 | +extern const AVCodec ff_pam_encoder; | |
| 237 | +extern const AVCodec ff_pam_decoder; | |
| 238 | +extern const AVCodec ff_pbm_encoder; | |
| 239 | +extern const AVCodec ff_pbm_decoder; | |
| 240 | +extern const AVCodec ff_pcx_encoder; | |
| 241 | +extern const AVCodec ff_pcx_decoder; | |
| 242 | +extern const AVCodec ff_pfm_encoder; | |
| 243 | +extern const AVCodec ff_pfm_decoder; | |
| 244 | +extern const AVCodec ff_pgm_encoder; | |
| 245 | +extern const AVCodec ff_pgm_decoder; | |
| 246 | +extern const AVCodec ff_pgmyuv_encoder; | |
| 247 | +extern const AVCodec ff_pgmyuv_decoder; | |
| 248 | +extern const AVCodec ff_pgx_decoder; | |
| 249 | +extern const AVCodec ff_photocd_decoder; | |
| 250 | +extern const AVCodec ff_pictor_decoder; | |
| 251 | +extern const AVCodec ff_pixlet_decoder; | |
| 252 | +extern const AVCodec ff_png_encoder; | |
| 253 | +extern const AVCodec ff_png_decoder; | |
| 254 | +extern const AVCodec ff_ppm_encoder; | |
| 255 | +extern const AVCodec ff_ppm_decoder; | |
| 256 | +extern const AVCodec ff_prores_encoder; | |
| 257 | +extern const AVCodec ff_prores_decoder; | |
| 258 | +extern const AVCodec ff_prores_aw_encoder; | |
| 259 | +extern const AVCodec ff_prores_ks_encoder; | |
| 260 | +extern const AVCodec ff_prosumer_decoder; | |
| 261 | +extern const AVCodec ff_psd_decoder; | |
| 262 | +extern const AVCodec ff_ptx_decoder; | |
| 263 | +extern const AVCodec ff_qdraw_decoder; | |
| 264 | +extern const AVCodec ff_qpeg_decoder; | |
| 265 | +extern const AVCodec ff_qtrle_encoder; | |
| 266 | +extern const AVCodec ff_qtrle_decoder; | |
| 267 | +extern const AVCodec ff_r10k_encoder; | |
| 268 | +extern const AVCodec ff_r10k_decoder; | |
| 269 | +extern const AVCodec ff_r210_encoder; | |
| 270 | +extern const AVCodec ff_r210_decoder; | |
| 271 | +extern const AVCodec ff_rasc_decoder; | |
| 272 | +extern const AVCodec ff_rawvideo_encoder; | |
| 273 | +extern const AVCodec ff_rawvideo_decoder; | |
| 274 | +extern const AVCodec ff_rl2_decoder; | |
| 275 | +extern const AVCodec ff_roq_encoder; | |
| 276 | +extern const AVCodec ff_roq_decoder; | |
| 277 | +extern const AVCodec ff_rpza_encoder; | |
| 278 | +extern const AVCodec ff_rpza_decoder; | |
| 279 | +extern const AVCodec ff_rscc_decoder; | |
| 280 | +extern const AVCodec ff_rv10_encoder; | |
| 281 | +extern const AVCodec ff_rv10_decoder; | |
| 282 | +extern const AVCodec ff_rv20_encoder; | |
| 283 | +extern const AVCodec ff_rv20_decoder; | |
| 284 | +extern const AVCodec ff_rv30_decoder; | |
| 285 | +extern const AVCodec ff_rv40_decoder; | |
| 286 | +extern const AVCodec ff_s302m_encoder; | |
| 287 | +extern const AVCodec ff_s302m_decoder; | |
| 288 | +extern const AVCodec ff_sanm_decoder; | |
| 289 | +extern const AVCodec ff_scpr_decoder; | |
| 290 | +extern const AVCodec ff_screenpresso_decoder; | |
| 291 | +extern const AVCodec ff_sga_decoder; | |
| 292 | +extern const AVCodec ff_sgi_encoder; | |
| 293 | +extern const AVCodec ff_sgi_decoder; | |
| 294 | +extern const AVCodec ff_sgirle_decoder; | |
| 295 | +extern const AVCodec ff_sheervideo_decoder; | |
| 296 | +extern const AVCodec ff_simbiosis_imx_decoder; | |
| 297 | +extern const AVCodec ff_smacker_decoder; | |
| 298 | +extern const AVCodec ff_smc_decoder; | |
| 299 | +extern const AVCodec ff_smvjpeg_decoder; | |
| 300 | +extern const AVCodec ff_snow_encoder; | |
| 301 | +extern const AVCodec ff_snow_decoder; | |
| 302 | +extern const AVCodec ff_sp5x_decoder; | |
| 303 | +extern const AVCodec ff_speedhq_decoder; | |
| 304 | +extern const AVCodec ff_speedhq_encoder; | |
| 305 | +extern const AVCodec ff_srgc_decoder; | |
| 306 | +extern const AVCodec ff_sunrast_encoder; | |
| 307 | +extern const AVCodec ff_sunrast_decoder; | |
| 308 | +extern const AVCodec ff_svq1_encoder; | |
| 309 | +extern const AVCodec ff_svq1_decoder; | |
| 310 | +extern const AVCodec ff_svq3_decoder; | |
| 311 | +extern const AVCodec ff_targa_encoder; | |
| 312 | +extern const AVCodec ff_targa_decoder; | |
| 313 | +extern const AVCodec ff_targa_y216_decoder; | |
| 314 | +extern const AVCodec ff_tdsc_decoder; | |
| 315 | +extern const AVCodec ff_theora_decoder; | |
| 316 | +extern const AVCodec ff_thp_decoder; | |
| 317 | +extern const AVCodec ff_tiertexseqvideo_decoder; | |
| 318 | +extern const AVCodec ff_tiff_encoder; | |
| 319 | +extern const AVCodec ff_tiff_decoder; | |
| 320 | +extern const AVCodec ff_tmv_decoder; | |
| 321 | +extern const AVCodec ff_truemotion1_decoder; | |
| 322 | +extern const AVCodec ff_truemotion2_decoder; | |
| 323 | +extern const AVCodec ff_truemotion2rt_decoder; | |
| 324 | +extern const AVCodec ff_tscc_decoder; | |
| 325 | +extern const AVCodec ff_tscc2_decoder; | |
| 326 | +extern const AVCodec ff_txd_decoder; | |
| 327 | +extern const AVCodec ff_ulti_decoder; | |
| 328 | +extern const AVCodec ff_utvideo_encoder; | |
| 329 | +extern const AVCodec ff_utvideo_decoder; | |
| 330 | +extern const AVCodec ff_v210_encoder; | |
| 331 | +extern const AVCodec ff_v210_decoder; | |
| 332 | +extern const AVCodec ff_v210x_decoder; | |
| 333 | +extern const AVCodec ff_v308_encoder; | |
| 334 | +extern const AVCodec ff_v308_decoder; | |
| 335 | +extern const AVCodec ff_v408_encoder; | |
| 336 | +extern const AVCodec ff_v408_decoder; | |
| 337 | +extern const AVCodec ff_v410_encoder; | |
| 338 | +extern const AVCodec ff_v410_decoder; | |
| 339 | +extern const AVCodec ff_vb_decoder; | |
| 340 | +extern const AVCodec ff_vble_decoder; | |
| 341 | +extern const AVCodec ff_vc1_decoder; | |
| 342 | +extern const AVCodec ff_vc1_crystalhd_decoder; | |
| 343 | +extern const AVCodec ff_vc1image_decoder; | |
| 344 | +extern const AVCodec ff_vc1_mmal_decoder; | |
| 345 | +extern const AVCodec ff_vc1_qsv_decoder; | |
| 346 | +extern const AVCodec ff_vc1_v4l2m2m_decoder; | |
| 347 | +extern const AVCodec ff_vc2_encoder; | |
| 348 | +extern const AVCodec ff_vcr1_decoder; | |
| 349 | +extern const AVCodec ff_vmdvideo_decoder; | |
| 350 | +extern const AVCodec ff_vmnc_decoder; | |
| 351 | +extern const AVCodec ff_vp3_decoder; | |
| 352 | +extern const AVCodec ff_vp4_decoder; | |
| 353 | +extern const AVCodec ff_vp5_decoder; | |
| 354 | +extern const AVCodec ff_vp6_decoder; | |
| 355 | +extern const AVCodec ff_vp6a_decoder; | |
| 356 | +extern const AVCodec ff_vp6f_decoder; | |
| 357 | +extern const AVCodec ff_vp7_decoder; | |
| 358 | +extern const AVCodec ff_vp8_decoder; | |
| 359 | +extern const AVCodec ff_vp8_rkmpp_decoder; | |
| 360 | +extern const AVCodec ff_vp8_v4l2m2m_decoder; | |
| 361 | +extern const AVCodec ff_vp9_decoder; | |
| 362 | +extern const AVCodec ff_vp9_rkmpp_decoder; | |
| 363 | +extern const AVCodec ff_vp9_v4l2m2m_decoder; | |
| 364 | +extern const AVCodec ff_vqa_decoder; | |
| 365 | +extern const AVCodec ff_webp_decoder; | |
| 366 | +extern const AVCodec ff_wcmv_decoder; | |
| 367 | +extern const AVCodec ff_wrapped_avframe_encoder; | |
| 368 | +extern const AVCodec ff_wrapped_avframe_decoder; | |
| 369 | +extern const AVCodec ff_wmv1_encoder; | |
| 370 | +extern const AVCodec ff_wmv1_decoder; | |
| 371 | +extern const AVCodec ff_wmv2_encoder; | |
| 372 | +extern const AVCodec ff_wmv2_decoder; | |
| 373 | +extern const AVCodec ff_wmv3_decoder; | |
| 374 | +extern const AVCodec ff_wmv3_crystalhd_decoder; | |
| 375 | +extern const AVCodec ff_wmv3image_decoder; | |
| 376 | +extern const AVCodec ff_wnv1_decoder; | |
| 377 | +extern const AVCodec ff_xan_wc3_decoder; | |
| 378 | +extern const AVCodec ff_xan_wc4_decoder; | |
| 379 | +extern const AVCodec ff_xbm_encoder; | |
| 380 | +extern const AVCodec ff_xbm_decoder; | |
| 381 | +extern const AVCodec ff_xface_encoder; | |
| 382 | +extern const AVCodec ff_xface_decoder; | |
| 383 | +extern const AVCodec ff_xl_decoder; | |
| 384 | +extern const AVCodec ff_xpm_decoder; | |
| 385 | +extern const AVCodec ff_xwd_encoder; | |
| 386 | +extern const AVCodec ff_xwd_decoder; | |
| 387 | +extern const AVCodec ff_y41p_encoder; | |
| 388 | +extern const AVCodec ff_y41p_decoder; | |
| 389 | +extern const AVCodec ff_ylc_decoder; | |
| 390 | +extern const AVCodec ff_yop_decoder; | |
| 391 | +extern const AVCodec ff_yuv4_encoder; | |
| 392 | +extern const AVCodec ff_yuv4_decoder; | |
| 393 | +extern const AVCodec ff_zero12v_decoder; | |
| 394 | +extern const AVCodec ff_zerocodec_decoder; | |
| 395 | +extern const AVCodec ff_zlib_encoder; | |
| 396 | +extern const AVCodec ff_zlib_decoder; | |
| 397 | +extern const AVCodec ff_zmbv_encoder; | |
| 398 | +extern const AVCodec ff_zmbv_decoder; | |
| 399 | 399 | |
| 400 | 400 | /* audio codecs */ |
| 401 | −extern AVCodec ff_aac_encoder; | |
| 402 | −extern AVCodec ff_aac_decoder; | |
| 403 | −extern AVCodec ff_aac_fixed_decoder; | |
| 404 | −extern AVCodec ff_aac_latm_decoder; | |
| 405 | −extern AVCodec ff_ac3_encoder; | |
| 406 | −extern AVCodec ff_ac3_decoder; | |
| 407 | −extern AVCodec ff_ac3_fixed_encoder; | |
| 408 | −extern AVCodec ff_ac3_fixed_decoder; | |
| 409 | −extern AVCodec ff_acelp_kelvin_decoder; | |
| 410 | −extern AVCodec ff_alac_encoder; | |
| 411 | −extern AVCodec ff_alac_decoder; | |
| 412 | −extern AVCodec ff_als_decoder; | |
| 413 | −extern AVCodec ff_amrnb_decoder; | |
| 414 | −extern AVCodec ff_amrwb_decoder; | |
| 415 | −extern AVCodec ff_ape_decoder; | |
| 416 | −extern AVCodec ff_aptx_encoder; | |
| 417 | −extern AVCodec ff_aptx_decoder; | |
| 418 | −extern AVCodec ff_aptx_hd_encoder; | |
| 419 | −extern AVCodec ff_aptx_hd_decoder; | |
| 420 | −extern AVCodec ff_atrac1_decoder; | |
| 421 | −extern AVCodec ff_atrac3_decoder; | |
| 422 | −extern AVCodec ff_atrac3al_decoder; | |
| 423 | −extern AVCodec ff_atrac3p_decoder; | |
| 424 | −extern AVCodec ff_atrac3pal_decoder; | |
| 425 | −extern AVCodec ff_atrac9_decoder; | |
| 426 | −extern AVCodec ff_binkaudio_dct_decoder; | |
| 427 | −extern AVCodec ff_binkaudio_rdft_decoder; | |
| 428 | −extern AVCodec ff_bmv_audio_decoder; | |
| 429 | −extern AVCodec ff_cook_decoder; | |
| 430 | −extern AVCodec ff_dca_encoder; | |
| 431 | −extern AVCodec ff_dca_decoder; | |
| 432 | −extern AVCodec ff_dolby_e_decoder; | |
| 433 | −extern AVCodec ff_dsd_lsbf_decoder; | |
| 434 | −extern AVCodec ff_dsd_msbf_decoder; | |
| 435 | −extern AVCodec ff_dsd_lsbf_planar_decoder; | |
| 436 | −extern AVCodec ff_dsd_msbf_planar_decoder; | |
| 437 | −extern AVCodec ff_dsicinaudio_decoder; | |
| 438 | −extern AVCodec ff_dss_sp_decoder; | |
| 439 | −extern AVCodec ff_dst_decoder; | |
| 440 | −extern AVCodec ff_eac3_encoder; | |
| 441 | −extern AVCodec ff_eac3_decoder; | |
| 442 | −extern AVCodec ff_evrc_decoder; | |
| 443 | −extern AVCodec ff_fastaudio_decoder; | |
| 444 | −extern AVCodec ff_ffwavesynth_decoder; | |
| 445 | −extern AVCodec ff_flac_encoder; | |
| 446 | −extern AVCodec ff_flac_decoder; | |
| 447 | −extern AVCodec ff_g723_1_encoder; | |
| 448 | −extern AVCodec ff_g723_1_decoder; | |
| 449 | −extern AVCodec ff_g729_decoder; | |
| 450 | −extern AVCodec ff_gsm_decoder; | |
| 451 | −extern AVCodec ff_gsm_ms_decoder; | |
| 452 | −extern AVCodec ff_hca_decoder; | |
| 453 | −extern AVCodec ff_hcom_decoder; | |
| 454 | −extern AVCodec ff_iac_decoder; | |
| 455 | −extern AVCodec ff_ilbc_decoder; | |
| 456 | −extern AVCodec ff_imc_decoder; | |
| 457 | −extern AVCodec ff_interplay_acm_decoder; | |
| 458 | −extern AVCodec ff_mace3_decoder; | |
| 459 | −extern AVCodec ff_mace6_decoder; | |
| 460 | −extern AVCodec ff_metasound_decoder; | |
| 461 | −extern AVCodec ff_mlp_encoder; | |
| 462 | −extern AVCodec ff_mlp_decoder; | |
| 463 | −extern AVCodec ff_mp1_decoder; | |
| 464 | −extern AVCodec ff_mp1float_decoder; | |
| 465 | −extern AVCodec ff_mp2_encoder; | |
| 466 | −extern AVCodec ff_mp2_decoder; | |
| 467 | −extern AVCodec ff_mp2float_decoder; | |
| 468 | −extern AVCodec ff_mp2fixed_encoder; | |
| 469 | −extern AVCodec ff_mp3float_decoder; | |
| 470 | −extern AVCodec ff_mp3_decoder; | |
| 471 | −extern AVCodec ff_mp3adufloat_decoder; | |
| 472 | −extern AVCodec ff_mp3adu_decoder; | |
| 473 | −extern AVCodec ff_mp3on4float_decoder; | |
| 474 | −extern AVCodec ff_mp3on4_decoder; | |
| 475 | −extern AVCodec ff_mpc7_decoder; | |
| 476 | −extern AVCodec ff_mpc8_decoder; | |
| 477 | −extern AVCodec ff_nellymoser_encoder; | |
| 478 | −extern AVCodec ff_nellymoser_decoder; | |
| 479 | −extern AVCodec ff_on2avc_decoder; | |
| 480 | −extern AVCodec ff_opus_encoder; | |
| 481 | −extern AVCodec ff_opus_decoder; | |
| 482 | −extern AVCodec ff_paf_audio_decoder; | |
| 483 | −extern AVCodec ff_qcelp_decoder; | |
| 484 | −extern AVCodec ff_qdm2_decoder; | |
| 485 | −extern AVCodec ff_qdmc_decoder; | |
| 486 | −extern AVCodec ff_ra_144_encoder; | |
| 487 | −extern AVCodec ff_ra_144_decoder; | |
| 488 | −extern AVCodec ff_ra_288_decoder; | |
| 489 | −extern AVCodec ff_ralf_decoder; | |
| 490 | −extern AVCodec ff_sbc_encoder; | |
| 491 | −extern AVCodec ff_sbc_decoder; | |
| 492 | −extern AVCodec ff_shorten_decoder; | |
| 493 | −extern AVCodec ff_sipr_decoder; | |
| 494 | −extern AVCodec ff_siren_decoder; | |
| 495 | −extern AVCodec ff_smackaud_decoder; | |
| 496 | −extern AVCodec ff_sonic_encoder; | |
| 497 | −extern AVCodec ff_sonic_decoder; | |
| 498 | −extern AVCodec ff_sonic_ls_encoder; | |
| 499 | −extern AVCodec ff_tak_decoder; | |
| 500 | −extern AVCodec ff_truehd_encoder; | |
| 501 | −extern AVCodec ff_truehd_decoder; | |
| 502 | −extern AVCodec ff_truespeech_decoder; | |
| 503 | −extern AVCodec ff_tta_encoder; | |
| 504 | −extern AVCodec ff_tta_decoder; | |
| 505 | −extern AVCodec ff_twinvq_decoder; | |
| 506 | −extern AVCodec ff_vmdaudio_decoder; | |
| 507 | −extern AVCodec ff_vorbis_encoder; | |
| 508 | −extern AVCodec ff_vorbis_decoder; | |
| 509 | −extern AVCodec ff_wavpack_encoder; | |
| 510 | −extern AVCodec ff_wavpack_decoder; | |
| 511 | −extern AVCodec ff_wmalossless_decoder; | |
| 512 | −extern AVCodec ff_wmapro_decoder; | |
| 513 | −extern AVCodec ff_wmav1_encoder; | |
| 514 | −extern AVCodec ff_wmav1_decoder; | |
| 515 | −extern AVCodec ff_wmav2_encoder; | |
| 516 | −extern AVCodec ff_wmav2_decoder; | |
| 517 | −extern AVCodec ff_wmavoice_decoder; | |
| 518 | −extern AVCodec ff_ws_snd1_decoder; | |
| 519 | −extern AVCodec ff_xma1_decoder; | |
| 520 | −extern AVCodec ff_xma2_decoder; | |
| 401 | +extern const AVCodec ff_aac_encoder; | |
| 402 | +extern const AVCodec ff_aac_decoder; | |
| 403 | +extern const AVCodec ff_aac_fixed_decoder; | |
| 404 | +extern const AVCodec ff_aac_latm_decoder; | |
| 405 | +extern const AVCodec ff_ac3_encoder; | |
| 406 | +extern const AVCodec ff_ac3_decoder; | |
| 407 | +extern const AVCodec ff_ac3_fixed_encoder; | |
| 408 | +extern const AVCodec ff_ac3_fixed_decoder; | |
| 409 | +extern const AVCodec ff_acelp_kelvin_decoder; | |
| 410 | +extern const AVCodec ff_alac_encoder; | |
| 411 | +extern const AVCodec ff_alac_decoder; | |
| 412 | +extern const AVCodec ff_als_decoder; | |
| 413 | +extern const AVCodec ff_amrnb_decoder; | |
| 414 | +extern const AVCodec ff_amrwb_decoder; | |
| 415 | +extern const AVCodec ff_ape_decoder; | |
| 416 | +extern const AVCodec ff_aptx_encoder; | |
| 417 | +extern const AVCodec ff_aptx_decoder; | |
| 418 | +extern const AVCodec ff_aptx_hd_encoder; | |
| 419 | +extern const AVCodec ff_aptx_hd_decoder; | |
| 420 | +extern const AVCodec ff_atrac1_decoder; | |
| 421 | +extern const AVCodec ff_atrac3_decoder; | |
| 422 | +extern const AVCodec ff_atrac3al_decoder; | |
| 423 | +extern const AVCodec ff_atrac3p_decoder; | |
| 424 | +extern const AVCodec ff_atrac3pal_decoder; | |
| 425 | +extern const AVCodec ff_atrac9_decoder; | |
| 426 | +extern const AVCodec ff_binkaudio_dct_decoder; | |
| 427 | +extern const AVCodec ff_binkaudio_rdft_decoder; | |
| 428 | +extern const AVCodec ff_bmv_audio_decoder; | |
| 429 | +extern const AVCodec ff_cook_decoder; | |
| 430 | +extern const AVCodec ff_dca_encoder; | |
| 431 | +extern const AVCodec ff_dca_decoder; | |
| 432 | +extern const AVCodec ff_dolby_e_decoder; | |
| 433 | +extern const AVCodec ff_dsd_lsbf_decoder; | |
| 434 | +extern const AVCodec ff_dsd_msbf_decoder; | |
| 435 | +extern const AVCodec ff_dsd_lsbf_planar_decoder; | |
| 436 | +extern const AVCodec ff_dsd_msbf_planar_decoder; | |
| 437 | +extern const AVCodec ff_dsicinaudio_decoder; | |
| 438 | +extern const AVCodec ff_dss_sp_decoder; | |
| 439 | +extern const AVCodec ff_dst_decoder; | |
| 440 | +extern const AVCodec ff_eac3_encoder; | |
| 441 | +extern const AVCodec ff_eac3_decoder; | |
| 442 | +extern const AVCodec ff_evrc_decoder; | |
| 443 | +extern const AVCodec ff_fastaudio_decoder; | |
| 444 | +extern const AVCodec ff_ffwavesynth_decoder; | |
| 445 | +extern const AVCodec ff_flac_encoder; | |
| 446 | +extern const AVCodec ff_flac_decoder; | |
| 447 | +extern const AVCodec ff_g723_1_encoder; | |
| 448 | +extern const AVCodec ff_g723_1_decoder; | |
| 449 | +extern const AVCodec ff_g729_decoder; | |
| 450 | +extern const AVCodec ff_gsm_decoder; | |
| 451 | +extern const AVCodec ff_gsm_ms_decoder; | |
| 452 | +extern const AVCodec ff_hca_decoder; | |
| 453 | +extern const AVCodec ff_hcom_decoder; | |
| 454 | +extern const AVCodec ff_iac_decoder; | |
| 455 | +extern const AVCodec ff_ilbc_decoder; | |
| 456 | +extern const AVCodec ff_imc_decoder; | |
| 457 | +extern const AVCodec ff_interplay_acm_decoder; | |
| 458 | +extern const AVCodec ff_mace3_decoder; | |
| 459 | +extern const AVCodec ff_mace6_decoder; | |
| 460 | +extern const AVCodec ff_metasound_decoder; | |
| 461 | +extern const AVCodec ff_mlp_encoder; | |
| 462 | +extern const AVCodec ff_mlp_decoder; | |
| 463 | +extern const AVCodec ff_mp1_decoder; | |
| 464 | +extern const AVCodec ff_mp1float_decoder; | |
| 465 | +extern const AVCodec ff_mp2_encoder; | |
| 466 | +extern const AVCodec ff_mp2_decoder; | |
| 467 | +extern const AVCodec ff_mp2float_decoder; | |
| 468 | +extern const AVCodec ff_mp2fixed_encoder; | |
| 469 | +extern const AVCodec ff_mp3float_decoder; | |
| 470 | +extern const AVCodec ff_mp3_decoder; | |
| 471 | +extern const AVCodec ff_mp3adufloat_decoder; | |
| 472 | +extern const AVCodec ff_mp3adu_decoder; | |
| 473 | +extern const AVCodec ff_mp3on4float_decoder; | |
| 474 | +extern const AVCodec ff_mp3on4_decoder; | |
| 475 | +extern const AVCodec ff_mpc7_decoder; | |
| 476 | +extern const AVCodec ff_mpc8_decoder; | |
| 477 | +extern const AVCodec ff_nellymoser_encoder; | |
| 478 | +extern const AVCodec ff_nellymoser_decoder; | |
| 479 | +extern const AVCodec ff_on2avc_decoder; | |
| 480 | +extern const AVCodec ff_opus_encoder; | |
| 481 | +extern const AVCodec ff_opus_decoder; | |
| 482 | +extern const AVCodec ff_paf_audio_decoder; | |
| 483 | +extern const AVCodec ff_qcelp_decoder; | |
| 484 | +extern const AVCodec ff_qdm2_decoder; | |
| 485 | +extern const AVCodec ff_qdmc_decoder; | |
| 486 | +extern const AVCodec ff_ra_144_encoder; | |
| 487 | +extern const AVCodec ff_ra_144_decoder; | |
| 488 | +extern const AVCodec ff_ra_288_decoder; | |
| 489 | +extern const AVCodec ff_ralf_decoder; | |
| 490 | +extern const AVCodec ff_sbc_encoder; | |
| 491 | +extern const AVCodec ff_sbc_decoder; | |
| 492 | +extern const AVCodec ff_shorten_decoder; | |
| 493 | +extern const AVCodec ff_sipr_decoder; | |
| 494 | +extern const AVCodec ff_siren_decoder; | |
| 495 | +extern const AVCodec ff_smackaud_decoder; | |
| 496 | +extern const AVCodec ff_sonic_encoder; | |
| 497 | +extern const AVCodec ff_sonic_decoder; | |
| 498 | +extern const AVCodec ff_sonic_ls_encoder; | |
| 499 | +extern const AVCodec ff_tak_decoder; | |
| 500 | +extern const AVCodec ff_truehd_encoder; | |
| 501 | +extern const AVCodec ff_truehd_decoder; | |
| 502 | +extern const AVCodec ff_truespeech_decoder; | |
| 503 | +extern const AVCodec ff_tta_encoder; | |
| 504 | +extern const AVCodec ff_tta_decoder; | |
| 505 | +extern const AVCodec ff_twinvq_decoder; | |
| 506 | +extern const AVCodec ff_vmdaudio_decoder; | |
| 507 | +extern const AVCodec ff_vorbis_encoder; | |
| 508 | +extern const AVCodec ff_vorbis_decoder; | |
| 509 | +extern const AVCodec ff_wavpack_encoder; | |
| 510 | +extern const AVCodec ff_wavpack_decoder; | |
| 511 | +extern const AVCodec ff_wmalossless_decoder; | |
| 512 | +extern const AVCodec ff_wmapro_decoder; | |
| 513 | +extern const AVCodec ff_wmav1_encoder; | |
| 514 | +extern const AVCodec ff_wmav1_decoder; | |
| 515 | +extern const AVCodec ff_wmav2_encoder; | |
| 516 | +extern const AVCodec ff_wmav2_decoder; | |
| 517 | +extern const AVCodec ff_wmavoice_decoder; | |
| 518 | +extern const AVCodec ff_ws_snd1_decoder; | |
| 519 | +extern const AVCodec ff_xma1_decoder; | |
| 520 | +extern const AVCodec ff_xma2_decoder; | |
| 521 | 521 | |
| 522 | 522 | /* PCM codecs */ |
| 523 | −extern AVCodec ff_pcm_alaw_encoder; | |
| 524 | −extern AVCodec ff_pcm_alaw_decoder; | |
| 525 | −extern AVCodec ff_pcm_bluray_decoder; | |
| 526 | −extern AVCodec ff_pcm_dvd_encoder; | |
| 527 | −extern AVCodec ff_pcm_dvd_decoder; | |
| 528 | −extern AVCodec ff_pcm_f16le_decoder; | |
| 529 | −extern AVCodec ff_pcm_f24le_decoder; | |
| 530 | −extern AVCodec ff_pcm_f32be_encoder; | |
| 531 | −extern AVCodec ff_pcm_f32be_decoder; | |
| 532 | −extern AVCodec ff_pcm_f32le_encoder; | |
| 533 | −extern AVCodec ff_pcm_f32le_decoder; | |
| 534 | −extern AVCodec ff_pcm_f64be_encoder; | |
| 535 | −extern AVCodec ff_pcm_f64be_decoder; | |
| 536 | −extern AVCodec ff_pcm_f64le_encoder; | |
| 537 | −extern AVCodec ff_pcm_f64le_decoder; | |
| 538 | −extern AVCodec ff_pcm_lxf_decoder; | |
| 539 | −extern AVCodec ff_pcm_mulaw_encoder; | |
| 540 | −extern AVCodec ff_pcm_mulaw_decoder; | |
| 541 | −extern AVCodec ff_pcm_s8_encoder; | |
| 542 | −extern AVCodec ff_pcm_s8_decoder; | |
| 543 | −extern AVCodec ff_pcm_s8_planar_encoder; | |
| 544 | −extern AVCodec ff_pcm_s8_planar_decoder; | |
| 545 | −extern AVCodec ff_pcm_s16be_encoder; | |
| 546 | −extern AVCodec ff_pcm_s16be_decoder; | |
| 547 | −extern AVCodec ff_pcm_s16be_planar_encoder; | |
| 548 | −extern AVCodec ff_pcm_s16be_planar_decoder; | |
| 549 | −extern AVCodec ff_pcm_s16le_encoder; | |
| 550 | −extern AVCodec ff_pcm_s16le_decoder; | |
| 551 | −extern AVCodec ff_pcm_s16le_planar_encoder; | |
| 552 | −extern AVCodec ff_pcm_s16le_planar_decoder; | |
| 553 | −extern AVCodec ff_pcm_s24be_encoder; | |
| 554 | −extern AVCodec ff_pcm_s24be_decoder; | |
| 555 | −extern AVCodec ff_pcm_s24daud_encoder; | |
| 556 | −extern AVCodec ff_pcm_s24daud_decoder; | |
| 557 | −extern AVCodec ff_pcm_s24le_encoder; | |
| 558 | −extern AVCodec ff_pcm_s24le_decoder; | |
| 559 | −extern AVCodec ff_pcm_s24le_planar_encoder; | |
| 560 | −extern AVCodec ff_pcm_s24le_planar_decoder; | |
| 561 | −extern AVCodec ff_pcm_s32be_encoder; | |
| 562 | −extern AVCodec ff_pcm_s32be_decoder; | |
| 563 | −extern AVCodec ff_pcm_s32le_encoder; | |
| 564 | −extern AVCodec ff_pcm_s32le_decoder; | |
| 565 | −extern AVCodec ff_pcm_s32le_planar_encoder; | |
| 566 | −extern AVCodec ff_pcm_s32le_planar_decoder; | |
| 567 | −extern AVCodec ff_pcm_s64be_encoder; | |
| 568 | −extern AVCodec ff_pcm_s64be_decoder; | |
| 569 | −extern AVCodec ff_pcm_s64le_encoder; | |
| 570 | −extern AVCodec ff_pcm_s64le_decoder; | |
| 571 | −extern AVCodec ff_pcm_sga_decoder; | |
| 572 | −extern AVCodec ff_pcm_u8_encoder; | |
| 573 | −extern AVCodec ff_pcm_u8_decoder; | |
| 574 | −extern AVCodec ff_pcm_u16be_encoder; | |
| 575 | −extern AVCodec ff_pcm_u16be_decoder; | |
| 576 | −extern AVCodec ff_pcm_u16le_encoder; | |
| 577 | −extern AVCodec ff_pcm_u16le_decoder; | |
| 578 | −extern AVCodec ff_pcm_u24be_encoder; | |
| 579 | −extern AVCodec ff_pcm_u24be_decoder; | |
| 580 | −extern AVCodec ff_pcm_u24le_encoder; | |
| 581 | −extern AVCodec ff_pcm_u24le_decoder; | |
| 582 | −extern AVCodec ff_pcm_u32be_encoder; | |
| 583 | −extern AVCodec ff_pcm_u32be_decoder; | |
| 584 | −extern AVCodec ff_pcm_u32le_encoder; | |
| 585 | −extern AVCodec ff_pcm_u32le_decoder; | |
| 586 | −extern AVCodec ff_pcm_vidc_encoder; | |
| 587 | −extern AVCodec ff_pcm_vidc_decoder; | |
| 523 | +extern const AVCodec ff_pcm_alaw_encoder; | |
| 524 | +extern const AVCodec ff_pcm_alaw_decoder; | |
| 525 | +extern const AVCodec ff_pcm_bluray_decoder; | |
| 526 | +extern const AVCodec ff_pcm_dvd_encoder; | |
| 527 | +extern const AVCodec ff_pcm_dvd_decoder; | |
| 528 | +extern const AVCodec ff_pcm_f16le_decoder; | |
| 529 | +extern const AVCodec ff_pcm_f24le_decoder; | |
| 530 | +extern const AVCodec ff_pcm_f32be_encoder; | |
| 531 | +extern const AVCodec ff_pcm_f32be_decoder; | |
| 532 | +extern const AVCodec ff_pcm_f32le_encoder; | |
| 533 | +extern const AVCodec ff_pcm_f32le_decoder; | |
| 534 | +extern const AVCodec ff_pcm_f64be_encoder; | |
| 535 | +extern const AVCodec ff_pcm_f64be_decoder; | |
| 536 | +extern const AVCodec ff_pcm_f64le_encoder; | |
| 537 | +extern const AVCodec ff_pcm_f64le_decoder; | |
| 538 | +extern const AVCodec ff_pcm_lxf_decoder; | |
| 539 | +extern const AVCodec ff_pcm_mulaw_encoder; | |
| 540 | +extern const AVCodec ff_pcm_mulaw_decoder; | |
| 541 | +extern const AVCodec ff_pcm_s8_encoder; | |
| 542 | +extern const AVCodec ff_pcm_s8_decoder; | |
| 543 | +extern const AVCodec ff_pcm_s8_planar_encoder; | |
| 544 | +extern const AVCodec ff_pcm_s8_planar_decoder; | |
| 545 | +extern const AVCodec ff_pcm_s16be_encoder; | |
| 546 | +extern const AVCodec ff_pcm_s16be_decoder; | |
| 547 | +extern const AVCodec ff_pcm_s16be_planar_encoder; | |
| 548 | +extern const AVCodec ff_pcm_s16be_planar_decoder; | |
| 549 | +extern const AVCodec ff_pcm_s16le_encoder; | |
| 550 | +extern const AVCodec ff_pcm_s16le_decoder; | |
| 551 | +extern const AVCodec ff_pcm_s16le_planar_encoder; | |
| 552 | +extern const AVCodec ff_pcm_s16le_planar_decoder; | |
| 553 | +extern const AVCodec ff_pcm_s24be_encoder; | |
| 554 | +extern const AVCodec ff_pcm_s24be_decoder; | |
| 555 | +extern const AVCodec ff_pcm_s24daud_encoder; | |
| 556 | +extern const AVCodec ff_pcm_s24daud_decoder; | |
| 557 | +extern const AVCodec ff_pcm_s24le_encoder; | |
| 558 | +extern const AVCodec ff_pcm_s24le_decoder; | |
| 559 | +extern const AVCodec ff_pcm_s24le_planar_encoder; | |
| 560 | +extern const AVCodec ff_pcm_s24le_planar_decoder; | |
| 561 | +extern const AVCodec ff_pcm_s32be_encoder; | |
| 562 | +extern const AVCodec ff_pcm_s32be_decoder; | |
| 563 | +extern const AVCodec ff_pcm_s32le_encoder; | |
| 564 | +extern const AVCodec ff_pcm_s32le_decoder; | |
| 565 | +extern const AVCodec ff_pcm_s32le_planar_encoder; | |
| 566 | +extern const AVCodec ff_pcm_s32le_planar_decoder; | |
| 567 | +extern const AVCodec ff_pcm_s64be_encoder; | |
| 568 | +extern const AVCodec ff_pcm_s64be_decoder; | |
| 569 | +extern const AVCodec ff_pcm_s64le_encoder; | |
| 570 | +extern const AVCodec ff_pcm_s64le_decoder; | |
| 571 | +extern const AVCodec ff_pcm_sga_decoder; | |
| 572 | +extern const AVCodec ff_pcm_u8_encoder; | |
| 573 | +extern const AVCodec ff_pcm_u8_decoder; | |
| 574 | +extern const AVCodec ff_pcm_u16be_encoder; | |
| 575 | +extern const AVCodec ff_pcm_u16be_decoder; | |
| 576 | +extern const AVCodec ff_pcm_u16le_encoder; | |
| 577 | +extern const AVCodec ff_pcm_u16le_decoder; | |
| 578 | +extern const AVCodec ff_pcm_u24be_encoder; | |
| 579 | +extern const AVCodec ff_pcm_u24be_decoder; | |
| 580 | +extern const AVCodec ff_pcm_u24le_encoder; | |
| 581 | +extern const AVCodec ff_pcm_u24le_decoder; | |
| 582 | +extern const AVCodec ff_pcm_u32be_encoder; | |
| 583 | +extern const AVCodec ff_pcm_u32be_decoder; | |
| 584 | +extern const AVCodec ff_pcm_u32le_encoder; | |
| 585 | +extern const AVCodec ff_pcm_u32le_decoder; | |
| 586 | +extern const AVCodec ff_pcm_vidc_encoder; | |
| 587 | +extern const AVCodec ff_pcm_vidc_decoder; | |
| 588 | 588 | |
| 589 | 589 | /* DPCM codecs */ |
| 590 | −extern AVCodec ff_derf_dpcm_decoder; | |
| 591 | −extern AVCodec ff_gremlin_dpcm_decoder; | |
| 592 | −extern AVCodec ff_interplay_dpcm_decoder; | |
| 593 | −extern AVCodec ff_roq_dpcm_encoder; | |
| 594 | −extern AVCodec ff_roq_dpcm_decoder; | |
| 595 | −extern AVCodec ff_sdx2_dpcm_decoder; | |
| 596 | −extern AVCodec ff_sol_dpcm_decoder; | |
| 597 | −extern AVCodec ff_xan_dpcm_decoder; | |
| 590 | +extern const AVCodec ff_derf_dpcm_decoder; | |
| 591 | +extern const AVCodec ff_gremlin_dpcm_decoder; | |
| 592 | +extern const AVCodec ff_interplay_dpcm_decoder; | |
| 593 | +extern const AVCodec ff_roq_dpcm_encoder; | |
| 594 | +extern const AVCodec ff_roq_dpcm_decoder; | |
| 595 | +extern const AVCodec ff_sdx2_dpcm_decoder; | |
| 596 | +extern const AVCodec ff_sol_dpcm_decoder; | |
| 597 | +extern const AVCodec ff_xan_dpcm_decoder; | |
| 598 | 598 | |
| 599 | 599 | /* ADPCM codecs */ |
| 600 | −extern AVCodec ff_adpcm_4xm_decoder; | |
| 601 | −extern AVCodec ff_adpcm_adx_encoder; | |
| 602 | −extern AVCodec ff_adpcm_adx_decoder; | |
| 603 | −extern AVCodec ff_adpcm_afc_decoder; | |
| 604 | −extern AVCodec ff_adpcm_agm_decoder; | |
| 605 | −extern AVCodec ff_adpcm_aica_decoder; | |
| 606 | −extern AVCodec ff_adpcm_argo_decoder; | |
| 607 | −extern AVCodec ff_adpcm_argo_encoder; | |
| 608 | −extern AVCodec ff_adpcm_ct_decoder; | |
| 609 | −extern AVCodec ff_adpcm_dtk_decoder; | |
| 610 | −extern AVCodec ff_adpcm_ea_decoder; | |
| 611 | −extern AVCodec ff_adpcm_ea_maxis_xa_decoder; | |
| 612 | −extern AVCodec ff_adpcm_ea_r1_decoder; | |
| 613 | −extern AVCodec ff_adpcm_ea_r2_decoder; | |
| 614 | −extern AVCodec ff_adpcm_ea_r3_decoder; | |
| 615 | −extern AVCodec ff_adpcm_ea_xas_decoder; | |
| 616 | −extern AVCodec ff_adpcm_g722_encoder; | |
| 617 | −extern AVCodec ff_adpcm_g722_decoder; | |
| 618 | −extern AVCodec ff_adpcm_g726_encoder; | |
| 619 | −extern AVCodec ff_adpcm_g726_decoder; | |
| 620 | −extern AVCodec ff_adpcm_g726le_encoder; | |
| 621 | −extern AVCodec ff_adpcm_g726le_decoder; | |
| 622 | −extern AVCodec ff_adpcm_ima_amv_decoder; | |
| 623 | −extern AVCodec ff_adpcm_ima_amv_encoder; | |
| 624 | −extern AVCodec ff_adpcm_ima_alp_decoder; | |
| 625 | −extern AVCodec ff_adpcm_ima_alp_encoder; | |
| 626 | −extern AVCodec ff_adpcm_ima_apc_decoder; | |
| 627 | −extern AVCodec ff_adpcm_ima_apm_decoder; | |
| 628 | −extern AVCodec ff_adpcm_ima_apm_encoder; | |
| 629 | −extern AVCodec ff_adpcm_ima_cunning_decoder; | |
| 630 | −extern AVCodec ff_adpcm_ima_dat4_decoder; | |
| 631 | −extern AVCodec ff_adpcm_ima_dk3_decoder; | |
| 632 | −extern AVCodec ff_adpcm_ima_dk4_decoder; | |
| 633 | −extern AVCodec ff_adpcm_ima_ea_eacs_decoder; | |
| 634 | −extern AVCodec ff_adpcm_ima_ea_sead_decoder; | |
| 635 | −extern AVCodec ff_adpcm_ima_iss_decoder; | |
| 636 | −extern AVCodec ff_adpcm_ima_moflex_decoder; | |
| 637 | −extern AVCodec ff_adpcm_ima_mtf_decoder; | |
| 638 | −extern AVCodec ff_adpcm_ima_oki_decoder; | |
| 639 | −extern AVCodec ff_adpcm_ima_qt_encoder; | |
| 640 | −extern AVCodec ff_adpcm_ima_qt_decoder; | |
| 641 | −extern AVCodec ff_adpcm_ima_rad_decoder; | |
| 642 | −extern AVCodec ff_adpcm_ima_ssi_decoder; | |
| 643 | −extern AVCodec ff_adpcm_ima_ssi_encoder; | |
| 644 | −extern AVCodec ff_adpcm_ima_smjpeg_decoder; | |
| 645 | −extern AVCodec ff_adpcm_ima_wav_encoder; | |
| 646 | −extern AVCodec ff_adpcm_ima_wav_decoder; | |
| 647 | −extern AVCodec ff_adpcm_ima_ws_encoder; | |
| 648 | −extern AVCodec ff_adpcm_ima_ws_decoder; | |
| 649 | −extern AVCodec ff_adpcm_ms_encoder; | |
| 650 | −extern AVCodec ff_adpcm_ms_decoder; | |
| 651 | −extern AVCodec ff_adpcm_mtaf_decoder; | |
| 652 | −extern AVCodec ff_adpcm_psx_decoder; | |
| 653 | −extern AVCodec ff_adpcm_sbpro_2_decoder; | |
| 654 | −extern AVCodec ff_adpcm_sbpro_3_decoder; | |
| 655 | −extern AVCodec ff_adpcm_sbpro_4_decoder; | |
| 656 | −extern AVCodec ff_adpcm_swf_encoder; | |
| 657 | −extern AVCodec ff_adpcm_swf_decoder; | |
| 658 | −extern AVCodec ff_adpcm_thp_decoder; | |
| 659 | −extern AVCodec ff_adpcm_thp_le_decoder; | |
| 660 | −extern AVCodec ff_adpcm_vima_decoder; | |
| 661 | −extern AVCodec ff_adpcm_xa_decoder; | |
| 662 | −extern AVCodec ff_adpcm_yamaha_encoder; | |
| 663 | −extern AVCodec ff_adpcm_yamaha_decoder; | |
| 664 | −extern AVCodec ff_adpcm_zork_decoder; | |
| 600 | +extern const AVCodec ff_adpcm_4xm_decoder; | |
| 601 | +extern const AVCodec ff_adpcm_adx_encoder; | |
| 602 | +extern const AVCodec ff_adpcm_adx_decoder; | |
| 603 | +extern const AVCodec ff_adpcm_afc_decoder; | |
| 604 | +extern const AVCodec ff_adpcm_agm_decoder; | |
| 605 | +extern const AVCodec ff_adpcm_aica_decoder; | |
| 606 | +extern const AVCodec ff_adpcm_argo_decoder; | |
| 607 | +extern const AVCodec ff_adpcm_argo_encoder; | |
| 608 | +extern const AVCodec ff_adpcm_ct_decoder; | |
| 609 | +extern const AVCodec ff_adpcm_dtk_decoder; | |
| 610 | +extern const AVCodec ff_adpcm_ea_decoder; | |
| 611 | +extern const AVCodec ff_adpcm_ea_maxis_xa_decoder; | |
| 612 | +extern const AVCodec ff_adpcm_ea_r1_decoder; | |
| 613 | +extern const AVCodec ff_adpcm_ea_r2_decoder; | |
| 614 | +extern const AVCodec ff_adpcm_ea_r3_decoder; | |
| 615 | +extern const AVCodec ff_adpcm_ea_xas_decoder; | |
| 616 | +extern const AVCodec ff_adpcm_g722_encoder; | |
| 617 | +extern const AVCodec ff_adpcm_g722_decoder; | |
| 618 | +extern const AVCodec ff_adpcm_g726_encoder; | |
| 619 | +extern const AVCodec ff_adpcm_g726_decoder; | |
| 620 | +extern const AVCodec ff_adpcm_g726le_encoder; | |
| 621 | +extern const AVCodec ff_adpcm_g726le_decoder; | |
| 622 | +extern const AVCodec ff_adpcm_ima_amv_decoder; | |
| 623 | +extern const AVCodec ff_adpcm_ima_amv_encoder; | |
| 624 | +extern const AVCodec ff_adpcm_ima_alp_decoder; | |
| 625 | +extern const AVCodec ff_adpcm_ima_alp_encoder; | |
| 626 | +extern const AVCodec ff_adpcm_ima_apc_decoder; | |
| 627 | +extern const AVCodec ff_adpcm_ima_apm_decoder; | |
| 628 | +extern const AVCodec ff_adpcm_ima_apm_encoder; | |
| 629 | +extern const AVCodec ff_adpcm_ima_cunning_decoder; | |
| 630 | +extern const AVCodec ff_adpcm_ima_dat4_decoder; | |
| 631 | +extern const AVCodec ff_adpcm_ima_dk3_decoder; | |
| 632 | +extern const AVCodec ff_adpcm_ima_dk4_decoder; | |
| 633 | +extern const AVCodec ff_adpcm_ima_ea_eacs_decoder; | |
| 634 | +extern const AVCodec ff_adpcm_ima_ea_sead_decoder; | |
| 635 | +extern const AVCodec ff_adpcm_ima_iss_decoder; | |
| 636 | +extern const AVCodec ff_adpcm_ima_moflex_decoder; | |
| 637 | +extern const AVCodec ff_adpcm_ima_mtf_decoder; | |
| 638 | +extern const AVCodec ff_adpcm_ima_oki_decoder; | |
| 639 | +extern const AVCodec ff_adpcm_ima_qt_encoder; | |
| 640 | +extern const AVCodec ff_adpcm_ima_qt_decoder; | |
| 641 | +extern const AVCodec ff_adpcm_ima_rad_decoder; | |
| 642 | +extern const AVCodec ff_adpcm_ima_ssi_decoder; | |
| 643 | +extern const AVCodec ff_adpcm_ima_ssi_encoder; | |
| 644 | +extern const AVCodec ff_adpcm_ima_smjpeg_decoder; | |
| 645 | +extern const AVCodec ff_adpcm_ima_wav_encoder; | |
| 646 | +extern const AVCodec ff_adpcm_ima_wav_decoder; | |
| 647 | +extern const AVCodec ff_adpcm_ima_ws_encoder; | |
| 648 | +extern const AVCodec ff_adpcm_ima_ws_decoder; | |
| 649 | +extern const AVCodec ff_adpcm_ms_encoder; | |
| 650 | +extern const AVCodec ff_adpcm_ms_decoder; | |
| 651 | +extern const AVCodec ff_adpcm_mtaf_decoder; | |
| 652 | +extern const AVCodec ff_adpcm_psx_decoder; | |
| 653 | +extern const AVCodec ff_adpcm_sbpro_2_decoder; | |
| 654 | +extern const AVCodec ff_adpcm_sbpro_3_decoder; | |
| 655 | +extern const AVCodec ff_adpcm_sbpro_4_decoder; | |
| 656 | +extern const AVCodec ff_adpcm_swf_encoder; | |
| 657 | +extern const AVCodec ff_adpcm_swf_decoder; | |
| 658 | +extern const AVCodec ff_adpcm_thp_decoder; | |
| 659 | +extern const AVCodec ff_adpcm_thp_le_decoder; | |
| 660 | +extern const AVCodec ff_adpcm_vima_decoder; | |
| 661 | +extern const AVCodec ff_adpcm_xa_decoder; | |
| 662 | +extern const AVCodec ff_adpcm_yamaha_encoder; | |
| 663 | +extern const AVCodec ff_adpcm_yamaha_decoder; | |
| 664 | +extern const AVCodec ff_adpcm_zork_decoder; | |
| 665 | 665 | |
| 666 | 666 | /* subtitles */ |
| 667 | −extern AVCodec ff_ssa_encoder; | |
| 668 | −extern AVCodec ff_ssa_decoder; | |
| 669 | −extern AVCodec ff_ass_encoder; | |
| 670 | −extern AVCodec ff_ass_decoder; | |
| 671 | −extern AVCodec ff_ccaption_decoder; | |
| 672 | −extern AVCodec ff_dvbsub_encoder; | |
| 673 | −extern AVCodec ff_dvbsub_decoder; | |
| 674 | −extern AVCodec ff_dvdsub_encoder; | |
| 675 | −extern AVCodec ff_dvdsub_decoder; | |
| 676 | −extern AVCodec ff_jacosub_decoder; | |
| 677 | −extern AVCodec ff_microdvd_decoder; | |
| 678 | −extern AVCodec ff_movtext_encoder; | |
| 679 | −extern AVCodec ff_movtext_decoder; | |
| 680 | −extern AVCodec ff_mpl2_decoder; | |
| 681 | −extern AVCodec ff_pgssub_decoder; | |
| 682 | −extern AVCodec ff_pjs_decoder; | |
| 683 | −extern AVCodec ff_realtext_decoder; | |
| 684 | −extern AVCodec ff_sami_decoder; | |
| 685 | −extern AVCodec ff_srt_encoder; | |
| 686 | −extern AVCodec ff_srt_decoder; | |
| 687 | −extern AVCodec ff_stl_decoder; | |
| 688 | −extern AVCodec ff_subrip_encoder; | |
| 689 | −extern AVCodec ff_subrip_decoder; | |
| 690 | −extern AVCodec ff_subviewer_decoder; | |
| 691 | −extern AVCodec ff_subviewer1_decoder; | |
| 692 | −extern AVCodec ff_text_encoder; | |
| 693 | −extern AVCodec ff_text_decoder; | |
| 694 | −extern AVCodec ff_ttml_encoder; | |
| 695 | −extern AVCodec ff_vplayer_decoder; | |
| 696 | −extern AVCodec ff_webvtt_encoder; | |
| 697 | −extern AVCodec ff_webvtt_decoder; | |
| 698 | −extern AVCodec ff_xsub_encoder; | |
| 699 | −extern AVCodec ff_xsub_decoder; | |
| 667 | +extern const AVCodec ff_ssa_encoder; | |
| 668 | +extern const AVCodec ff_ssa_decoder; | |
| 669 | +extern const AVCodec ff_ass_encoder; | |
| 670 | +extern const AVCodec ff_ass_decoder; | |
| 671 | +extern const AVCodec ff_ccaption_decoder; | |
| 672 | +extern const AVCodec ff_dvbsub_encoder; | |
| 673 | +extern const AVCodec ff_dvbsub_decoder; | |
| 674 | +extern const AVCodec ff_dvdsub_encoder; | |
| 675 | +extern const AVCodec ff_dvdsub_decoder; | |
| 676 | +extern const AVCodec ff_jacosub_decoder; | |
| 677 | +extern const AVCodec ff_microdvd_decoder; | |
| 678 | +extern const AVCodec ff_movtext_encoder; | |
| 679 | +extern const AVCodec ff_movtext_decoder; | |
| 680 | +extern const AVCodec ff_mpl2_decoder; | |
| 681 | +extern const AVCodec ff_pgssub_decoder; | |
| 682 | +extern const AVCodec ff_pjs_decoder; | |
| 683 | +extern const AVCodec ff_realtext_decoder; | |
| 684 | +extern const AVCodec ff_sami_decoder; | |
| 685 | +extern const AVCodec ff_srt_encoder; | |
| 686 | +extern const AVCodec ff_srt_decoder; | |
| 687 | +extern const AVCodec ff_stl_decoder; | |
| 688 | +extern const AVCodec ff_subrip_encoder; | |
| 689 | +extern const AVCodec ff_subrip_decoder; | |
| 690 | +extern const AVCodec ff_subviewer_decoder; | |
| 691 | +extern const AVCodec ff_subviewer1_decoder; | |
| 692 | +extern const AVCodec ff_text_encoder; | |
| 693 | +extern const AVCodec ff_text_decoder; | |
| 694 | +extern const AVCodec ff_ttml_encoder; | |
| 695 | +extern const AVCodec ff_vplayer_decoder; | |
| 696 | +extern const AVCodec ff_webvtt_encoder; | |
| 697 | +extern const AVCodec ff_webvtt_decoder; | |
| 698 | +extern const AVCodec ff_xsub_encoder; | |
| 699 | +extern const AVCodec ff_xsub_decoder; | |
| 700 | 700 | |
| 701 | 701 | /* external libraries */ |
| 702 | −extern AVCodec ff_aac_at_encoder; | |
| 703 | −extern AVCodec ff_aac_at_decoder; | |
| 704 | −extern AVCodec ff_ac3_at_decoder; | |
| 705 | −extern AVCodec ff_adpcm_ima_qt_at_decoder; | |
| 706 | −extern AVCodec ff_alac_at_encoder; | |
| 707 | −extern AVCodec ff_alac_at_decoder; | |
| 708 | −extern AVCodec ff_amr_nb_at_decoder; | |
| 709 | −extern AVCodec ff_eac3_at_decoder; | |
| 710 | −extern AVCodec ff_gsm_ms_at_decoder; | |
| 711 | −extern AVCodec ff_ilbc_at_encoder; | |
| 712 | −extern AVCodec ff_ilbc_at_decoder; | |
| 713 | −extern AVCodec ff_mp1_at_decoder; | |
| 714 | −extern AVCodec ff_mp2_at_decoder; | |
| 715 | −extern AVCodec ff_mp3_at_decoder; | |
| 716 | −extern AVCodec ff_pcm_alaw_at_encoder; | |
| 717 | −extern AVCodec ff_pcm_alaw_at_decoder; | |
| 718 | −extern AVCodec ff_pcm_mulaw_at_encoder; | |
| 719 | −extern AVCodec ff_pcm_mulaw_at_decoder; | |
| 720 | −extern AVCodec ff_qdmc_at_decoder; | |
| 721 | −extern AVCodec ff_qdm2_at_decoder; | |
| 702 | +extern const AVCodec ff_aac_at_encoder; | |
| 703 | +extern const AVCodec ff_aac_at_decoder; | |
| 704 | +extern const AVCodec ff_ac3_at_decoder; | |
| 705 | +extern const AVCodec ff_adpcm_ima_qt_at_decoder; | |
| 706 | +extern const AVCodec ff_alac_at_encoder; | |
| 707 | +extern const AVCodec ff_alac_at_decoder; | |
| 708 | +extern const AVCodec ff_amr_nb_at_decoder; | |
| 709 | +extern const AVCodec ff_eac3_at_decoder; | |
| 710 | +extern const AVCodec ff_gsm_ms_at_decoder; | |
| 711 | +extern const AVCodec ff_ilbc_at_encoder; | |
| 712 | +extern const AVCodec ff_ilbc_at_decoder; | |
| 713 | +extern const AVCodec ff_mp1_at_decoder; | |
| 714 | +extern const AVCodec ff_mp2_at_decoder; | |
| 715 | +extern const AVCodec ff_mp3_at_decoder; | |
| 716 | +extern const AVCodec ff_pcm_alaw_at_encoder; | |
| 717 | +extern const AVCodec ff_pcm_alaw_at_decoder; | |
| 718 | +extern const AVCodec ff_pcm_mulaw_at_encoder; | |
| 719 | +extern const AVCodec ff_pcm_mulaw_at_decoder; | |
| 720 | +extern const AVCodec ff_qdmc_at_decoder; | |
| 721 | +extern const AVCodec ff_qdm2_at_decoder; | |
| 722 | 722 | extern AVCodec ff_libaom_av1_encoder; |
| 723 | −extern AVCodec ff_libaribb24_decoder; | |
| 724 | −extern AVCodec ff_libcelt_decoder; | |
| 725 | −extern AVCodec ff_libcodec2_encoder; | |
| 726 | −extern AVCodec ff_libcodec2_decoder; | |
| 727 | −extern AVCodec ff_libdav1d_decoder; | |
| 728 | −extern AVCodec ff_libdavs2_decoder; | |
| 729 | −extern AVCodec ff_libfdk_aac_encoder; | |
| 730 | −extern AVCodec ff_libfdk_aac_decoder; | |
| 731 | −extern AVCodec ff_libgsm_encoder; | |
| 732 | −extern AVCodec ff_libgsm_decoder; | |
| 733 | −extern AVCodec ff_libgsm_ms_encoder; | |
| 734 | −extern AVCodec ff_libgsm_ms_decoder; | |
| 735 | −extern AVCodec ff_libilbc_encoder; | |
| 736 | −extern AVCodec ff_libilbc_decoder; | |
| 737 | −extern AVCodec ff_libmp3lame_encoder; | |
| 738 | −extern AVCodec ff_libopencore_amrnb_encoder; | |
| 739 | −extern AVCodec ff_libopencore_amrnb_decoder; | |
| 740 | −extern AVCodec ff_libopencore_amrwb_decoder; | |
| 741 | −extern AVCodec ff_libopenjpeg_encoder; | |
| 742 | −extern AVCodec ff_libopenjpeg_decoder; | |
| 743 | −extern AVCodec ff_libopus_encoder; | |
| 744 | −extern AVCodec ff_libopus_decoder; | |
| 745 | −extern AVCodec ff_librav1e_encoder; | |
| 746 | −extern AVCodec ff_librsvg_decoder; | |
| 747 | −extern AVCodec ff_libshine_encoder; | |
| 748 | −extern AVCodec ff_libspeex_encoder; | |
| 749 | −extern AVCodec ff_libspeex_decoder; | |
| 750 | −extern AVCodec ff_libsvtav1_encoder; | |
| 751 | −extern AVCodec ff_libtheora_encoder; | |
| 752 | −extern AVCodec ff_libtwolame_encoder; | |
| 753 | −extern AVCodec ff_libuavs3d_decoder; | |
| 754 | −extern AVCodec ff_libvo_amrwbenc_encoder; | |
| 755 | −extern AVCodec ff_libvorbis_encoder; | |
| 756 | −extern AVCodec ff_libvorbis_decoder; | |
| 757 | −extern AVCodec ff_libvpx_vp8_encoder; | |
| 758 | −extern AVCodec ff_libvpx_vp8_decoder; | |
| 723 | +extern const AVCodec ff_libaribb24_decoder; | |
| 724 | +extern const AVCodec ff_libcelt_decoder; | |
| 725 | +extern const AVCodec ff_libcodec2_encoder; | |
| 726 | +extern const AVCodec ff_libcodec2_decoder; | |
| 727 | +extern const AVCodec ff_libdav1d_decoder; | |
| 728 | +extern const AVCodec ff_libdavs2_decoder; | |
| 729 | +extern const AVCodec ff_libfdk_aac_encoder; | |
| 730 | +extern const AVCodec ff_libfdk_aac_decoder; | |
| 731 | +extern const AVCodec ff_libgsm_encoder; | |
| 732 | +extern const AVCodec ff_libgsm_decoder; | |
| 733 | +extern const AVCodec ff_libgsm_ms_encoder; | |
| 734 | +extern const AVCodec ff_libgsm_ms_decoder; | |
| 735 | +extern const AVCodec ff_libilbc_encoder; | |
| 736 | +extern const AVCodec ff_libilbc_decoder; | |
| 737 | +extern const AVCodec ff_libmp3lame_encoder; | |
| 738 | +extern const AVCodec ff_libopencore_amrnb_encoder; | |
| 739 | +extern const AVCodec ff_libopencore_amrnb_decoder; | |
| 740 | +extern const AVCodec ff_libopencore_amrwb_decoder; | |
| 741 | +extern const AVCodec ff_libopenjpeg_encoder; | |
| 742 | +extern const AVCodec ff_libopenjpeg_decoder; | |
| 743 | +extern const AVCodec ff_libopus_encoder; | |
| 744 | +extern const AVCodec ff_libopus_decoder; | |
| 745 | +extern const AVCodec ff_librav1e_encoder; | |
| 746 | +extern const AVCodec ff_librsvg_decoder; | |
| 747 | +extern const AVCodec ff_libshine_encoder; | |
| 748 | +extern const AVCodec ff_libspeex_encoder; | |
| 749 | +extern const AVCodec ff_libspeex_decoder; | |
| 750 | +extern const AVCodec ff_libsvtav1_encoder; | |
| 751 | +extern const AVCodec ff_libtheora_encoder; | |
| 752 | +extern const AVCodec ff_libtwolame_encoder; | |
| 753 | +extern const AVCodec ff_libuavs3d_decoder; | |
| 754 | +extern const AVCodec ff_libvo_amrwbenc_encoder; | |
| 755 | +extern const AVCodec ff_libvorbis_encoder; | |
| 756 | +extern const AVCodec ff_libvorbis_decoder; | |
| 757 | +extern const AVCodec ff_libvpx_vp8_encoder; | |
| 758 | +extern const AVCodec ff_libvpx_vp8_decoder; | |
| 759 | 759 | extern AVCodec ff_libvpx_vp9_encoder; |
| 760 | 760 | extern AVCodec ff_libvpx_vp9_decoder; |
| 761 | 761 | /* preferred over libwebp */ |
| 762 | −extern AVCodec ff_libwebp_anim_encoder; | |
| 763 | −extern AVCodec ff_libwebp_encoder; | |
| 764 | −extern AVCodec ff_libx262_encoder; | |
| 762 | +extern const AVCodec ff_libwebp_anim_encoder; | |
| 763 | +extern const AVCodec ff_libwebp_encoder; | |
| 764 | +extern const AVCodec ff_libx262_encoder; | |
| 765 | +#if CONFIG_LIBX264_ENCODER | |
| 766 | +#include <x264.h> | |
| 767 | +#if X264_BUILD < 153 | |
| 765 | 768 | extern AVCodec ff_libx264_encoder; |
| 766 | −extern AVCodec ff_libx264rgb_encoder; | |
| 769 | +#else | |
| 770 | +extern const AVCodec ff_libx264_encoder; | |
| 771 | +#endif | |
| 772 | +#endif | |
| 773 | +extern const AVCodec ff_libx264rgb_encoder; | |
| 767 | 774 | extern AVCodec ff_libx265_encoder; |
| 768 | −extern AVCodec ff_libxavs_encoder; | |
| 769 | −extern AVCodec ff_libxavs2_encoder; | |
| 770 | −extern AVCodec ff_libxvid_encoder; | |
| 771 | −extern AVCodec ff_libzvbi_teletext_decoder; | |
| 775 | +extern const AVCodec ff_libxavs_encoder; | |
| 776 | +extern const AVCodec ff_libxavs2_encoder; | |
| 777 | +extern const AVCodec ff_libxvid_encoder; | |
| 778 | +extern const AVCodec ff_libzvbi_teletext_decoder; | |
| 772 | 779 | |
| 773 | 780 | /* text */ |
| 774 | −extern AVCodec ff_bintext_decoder; | |
| 775 | −extern AVCodec ff_xbin_decoder; | |
| 776 | −extern AVCodec ff_idf_decoder; | |
| 781 | +extern const AVCodec ff_bintext_decoder; | |
| 782 | +extern const AVCodec ff_xbin_decoder; | |
| 783 | +extern const AVCodec ff_idf_decoder; | |
| 777 | 784 | |
| 778 | 785 | /* external libraries, that shouldn't be used by default if one of the |
| 779 | 786 | * above is available */ |
| 780 | −extern AVCodec ff_aac_mf_encoder; | |
| 781 | −extern AVCodec ff_ac3_mf_encoder; | |
| 782 | −extern AVCodec ff_h263_v4l2m2m_encoder; | |
| 783 | −extern AVCodec ff_libaom_av1_decoder; | |
| 787 | +extern const AVCodec ff_aac_mf_encoder; | |
| 788 | +extern const AVCodec ff_ac3_mf_encoder; | |
| 789 | +extern const AVCodec ff_h263_v4l2m2m_encoder; | |
| 790 | +extern const AVCodec ff_libaom_av1_decoder; | |
| 784 | 791 | /* hwaccel hooks only, so prefer external decoders */ |
| 785 | −extern AVCodec ff_av1_decoder; | |
| 786 | −extern AVCodec ff_av1_cuvid_decoder; | |
| 787 | −extern AVCodec ff_av1_qsv_decoder; | |
| 788 | −extern AVCodec ff_libopenh264_encoder; | |
| 789 | −extern AVCodec ff_libopenh264_decoder; | |
| 790 | −extern AVCodec ff_h264_amf_encoder; | |
| 791 | −extern AVCodec ff_h264_cuvid_decoder; | |
| 792 | −extern AVCodec ff_h264_mf_encoder; | |
| 793 | −extern AVCodec ff_h264_nvenc_encoder; | |
| 794 | −extern AVCodec ff_h264_omx_encoder; | |
| 795 | −extern AVCodec ff_h264_qsv_encoder; | |
| 796 | −extern AVCodec ff_h264_v4l2m2m_encoder; | |
| 797 | −extern AVCodec ff_h264_vaapi_encoder; | |
| 798 | −extern AVCodec ff_h264_videotoolbox_encoder; | |
| 799 | −extern AVCodec ff_hevc_amf_encoder; | |
| 800 | −extern AVCodec ff_hevc_cuvid_decoder; | |
| 801 | −extern AVCodec ff_hevc_mediacodec_decoder; | |
| 802 | −extern AVCodec ff_hevc_mf_encoder; | |
| 803 | −extern AVCodec ff_hevc_nvenc_encoder; | |
| 804 | −extern AVCodec ff_hevc_qsv_encoder; | |
| 805 | −extern AVCodec ff_hevc_v4l2m2m_encoder; | |
| 806 | −extern AVCodec ff_hevc_vaapi_encoder; | |
| 807 | −extern AVCodec ff_hevc_videotoolbox_encoder; | |
| 808 | −extern AVCodec ff_libkvazaar_encoder; | |
| 809 | −extern AVCodec ff_mjpeg_cuvid_decoder; | |
| 810 | −extern AVCodec ff_mjpeg_qsv_encoder; | |
| 811 | −extern AVCodec ff_mjpeg_qsv_decoder; | |
| 812 | −extern AVCodec ff_mjpeg_vaapi_encoder; | |
| 813 | −extern AVCodec ff_mp3_mf_encoder; | |
| 814 | −extern AVCodec ff_mpeg1_cuvid_decoder; | |
| 815 | −extern AVCodec ff_mpeg2_cuvid_decoder; | |
| 816 | −extern AVCodec ff_mpeg2_qsv_encoder; | |
| 817 | −extern AVCodec ff_mpeg2_vaapi_encoder; | |
| 818 | −extern AVCodec ff_mpeg4_cuvid_decoder; | |
| 819 | −extern AVCodec ff_mpeg4_mediacodec_decoder; | |
| 820 | −extern AVCodec ff_mpeg4_omx_encoder; | |
| 821 | −extern AVCodec ff_mpeg4_v4l2m2m_encoder; | |
| 822 | −extern AVCodec ff_vc1_cuvid_decoder; | |
| 823 | −extern AVCodec ff_vp8_cuvid_decoder; | |
| 824 | −extern AVCodec ff_vp8_mediacodec_decoder; | |
| 825 | −extern AVCodec ff_vp8_qsv_decoder; | |
| 826 | −extern AVCodec ff_vp8_v4l2m2m_encoder; | |
| 827 | −extern AVCodec ff_vp8_vaapi_encoder; | |
| 828 | −extern AVCodec ff_vp9_cuvid_decoder; | |
| 829 | −extern AVCodec ff_vp9_mediacodec_decoder; | |
| 830 | −extern AVCodec ff_vp9_qsv_decoder; | |
| 831 | −extern AVCodec ff_vp9_vaapi_encoder; | |
| 832 | −extern AVCodec ff_vp9_qsv_encoder; | |
| 792 | +extern const AVCodec ff_av1_decoder; | |
| 793 | +extern const AVCodec ff_av1_cuvid_decoder; | |
| 794 | +extern const AVCodec ff_av1_qsv_decoder; | |
| 795 | +extern const AVCodec ff_libopenh264_encoder; | |
| 796 | +extern const AVCodec ff_libopenh264_decoder; | |
| 797 | +extern const AVCodec ff_h264_amf_encoder; | |
| 798 | +extern const AVCodec ff_h264_cuvid_decoder; | |
| 799 | +extern const AVCodec ff_h264_mf_encoder; | |
| 800 | +extern const AVCodec ff_h264_nvenc_encoder; | |
| 801 | +extern const AVCodec ff_h264_omx_encoder; | |
| 802 | +extern const AVCodec ff_h264_qsv_encoder; | |
| 803 | +extern const AVCodec ff_h264_v4l2m2m_encoder; | |
| 804 | +extern const AVCodec ff_h264_vaapi_encoder; | |
| 805 | +extern const AVCodec ff_h264_videotoolbox_encoder; | |
| 806 | +extern const AVCodec ff_hevc_amf_encoder; | |
| 807 | +extern const AVCodec ff_hevc_cuvid_decoder; | |
| 808 | +extern const AVCodec ff_hevc_mediacodec_decoder; | |
| 809 | +extern const AVCodec ff_hevc_mf_encoder; | |
| 810 | +extern const AVCodec ff_hevc_nvenc_encoder; | |
| 811 | +extern const AVCodec ff_hevc_qsv_encoder; | |
| 812 | +extern const AVCodec ff_hevc_v4l2m2m_encoder; | |
| 813 | +extern const AVCodec ff_hevc_vaapi_encoder; | |
| 814 | +extern const AVCodec ff_hevc_videotoolbox_encoder; | |
| 815 | +extern const AVCodec ff_libkvazaar_encoder; | |
| 816 | +extern const AVCodec ff_mjpeg_cuvid_decoder; | |
| 817 | +extern const AVCodec ff_mjpeg_qsv_encoder; | |
| 818 | +extern const AVCodec ff_mjpeg_qsv_decoder; | |
| 819 | +extern const AVCodec ff_mjpeg_vaapi_encoder; | |
| 820 | +extern const AVCodec ff_mp3_mf_encoder; | |
| 821 | +extern const AVCodec ff_mpeg1_cuvid_decoder; | |
| 822 | +extern const AVCodec ff_mpeg2_cuvid_decoder; | |
| 823 | +extern const AVCodec ff_mpeg2_qsv_encoder; | |
| 824 | +extern const AVCodec ff_mpeg2_vaapi_encoder; | |
| 825 | +extern const AVCodec ff_mpeg4_cuvid_decoder; | |
| 826 | +extern const AVCodec ff_mpeg4_mediacodec_decoder; | |
| 827 | +extern const AVCodec ff_mpeg4_omx_encoder; | |
| 828 | +extern const AVCodec ff_mpeg4_v4l2m2m_encoder; | |
| 829 | +extern const AVCodec ff_vc1_cuvid_decoder; | |
| 830 | +extern const AVCodec ff_vp8_cuvid_decoder; | |
| 831 | +extern const AVCodec ff_vp8_mediacodec_decoder; | |
| 832 | +extern const AVCodec ff_vp8_qsv_decoder; | |
| 833 | +extern const AVCodec ff_vp8_v4l2m2m_encoder; | |
| 834 | +extern const AVCodec ff_vp8_vaapi_encoder; | |
| 835 | +extern const AVCodec ff_vp9_cuvid_decoder; | |
| 836 | +extern const AVCodec ff_vp9_mediacodec_decoder; | |
| 837 | +extern const AVCodec ff_vp9_qsv_decoder; | |
| 838 | +extern const AVCodec ff_vp9_vaapi_encoder; | |
| 839 | +extern const AVCodec ff_vp9_qsv_encoder; | |
| 833 | 840 | |
| 834 | 841 | // The iterate API is not usable with ossfuzz due to the excessive size of binaries created |
| 835 | 842 | #if CONFIG_OSSFUZZ |
| 836 | −AVCodec * codec_list[] = { | |
| 843 | +const AVCodec * codec_list[] = { | |
| 837 | 844 | NULL, |
| 838 | 845 | NULL, |
| 839 | 846 | NULL |
| @@ -2173,7 +2173,7 @@ static av_cold void flush(AVCodecContext *avctx) · 2172 unmodified lines | ||
| 2173 | 2173 | } |
| 2174 | 2174 | |
| 2175 | 2175 | |
| 2176 | −AVCodec ff_als_decoder = { | |
| 2176 | +const AVCodec ff_als_decoder = { | |
| 2177 | 2177 | .name = "als", |
| 2178 | 2178 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"), |
| 2179 | 2179 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -377,7 +377,7 @@ static const AVClass h264_amf_class = { · 376 unmodified lines | ||
| 377 | 377 | .version = LIBAVUTIL_VERSION_INT, |
| 378 | 378 | }; |
| 379 | 379 | |
| 380 | −AVCodec ff_h264_amf_encoder = { | |
| 380 | +const AVCodec ff_h264_amf_encoder = { | |
| 381 | 381 | .name = "h264_amf", |
| 382 | 382 | .long_name = NULL_IF_CONFIG_SMALL("AMD AMF H.264 Encoder"), |
| 383 | 383 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -309,7 +309,7 @@ static const AVClass hevc_amf_class = { · 308 unmodified lines | ||
| 309 | 309 | .version = LIBAVUTIL_VERSION_INT, |
| 310 | 310 | }; |
| 311 | 311 | |
| 312 | −AVCodec ff_hevc_amf_encoder = { | |
| 312 | +const AVCodec ff_hevc_amf_encoder = { | |
| 313 | 313 | .name = "hevc_amf", |
| 314 | 314 | .long_name = NULL_IF_CONFIG_SMALL("AMD AMF HEVC encoder"), |
| 315 | 315 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1080,7 +1080,7 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void *data, · 1079 unmodified lines | ||
| 1080 | 1080 | } |
| 1081 | 1081 | |
| 1082 | 1082 | |
| 1083 | −AVCodec ff_amrnb_decoder = { | |
| 1083 | +const AVCodec ff_amrnb_decoder = { | |
| 1084 | 1084 | .name = "amrnb", |
| 1085 | 1085 | .long_name = NULL_IF_CONFIG_SMALL("AMR-NB (Adaptive Multi-Rate NarrowBand)"), |
| 1086 | 1086 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1275,7 +1275,7 @@ static int amrwb_decode_frame(AVCodecContext *avctx, void *data, · 1274 unmodified lines | ||
| 1275 | 1275 | return expected_fr_size; |
| 1276 | 1276 | } |
| 1277 | 1277 | |
| 1278 | −AVCodec ff_amrwb_decoder = { | |
| 1278 | +const AVCodec ff_amrwb_decoder = { | |
| 1279 | 1279 | .name = "amrwb", |
| 1280 | 1280 | .long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"), |
| 1281 | 1281 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -189,7 +189,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 188 unmodified lines | ||
| 189 | 189 | return 0; |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | −AVCodec ff_anm_decoder = { | |
| 192 | +const AVCodec ff_anm_decoder = { | |
| 193 | 193 | .name = "anm", |
| 194 | 194 | .long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"), |
| 195 | 195 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -480,7 +480,7 @@ static const AVCodecDefault ansi_defaults[] = { · 479 unmodified lines | ||
| 480 | 480 | { NULL }, |
| 481 | 481 | }; |
| 482 | 482 | |
| 483 | −AVCodec ff_ansi_decoder = { | |
| 483 | +const AVCodec ff_ansi_decoder = { | |
| 484 | 484 | .name = "ansi", |
| 485 | 485 | .long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"), |
| 486 | 486 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1655,7 +1655,7 @@ static const AVClass ape_decoder_class = { · 1654 unmodified lines | ||
| 1655 | 1655 | .version = LIBAVUTIL_VERSION_INT, |
| 1656 | 1656 | }; |
| 1657 | 1657 | |
| 1658 | −AVCodec ff_ape_decoder = { | |
| 1658 | +const AVCodec ff_ape_decoder = { | |
| 1659 | 1659 | .name = "ape", |
| 1660 | 1660 | .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"), |
| 1661 | 1661 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -170,7 +170,7 @@ static int aptx_decode_frame(AVCodecContext *avctx, void *data, · 169 unmodified lines | ||
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | #if CONFIG_APTX_DECODER |
| 173 | −AVCodec ff_aptx_decoder = { | |
| 173 | +const AVCodec ff_aptx_decoder = { | |
| 174 | 174 | .name = "aptx", |
| 175 | 175 | .long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"), |
| 176 | 176 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -187,7 +187,7 @@ AVCodec ff_aptx_decoder = { · 10 unmodified lines | ||
| 187 | 187 | #endif |
| 188 | 188 | |
| 189 | 189 | #if CONFIG_APTX_HD_DECODER |
| 190 | −AVCodec ff_aptx_hd_decoder = { | |
| 190 | +const AVCodec ff_aptx_hd_decoder = { | |
| 191 | 191 | .name = "aptx_hd", |
| 192 | 192 | .long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"), |
| 193 | 193 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -240,7 +240,7 @@ static av_cold int aptx_close(AVCodecContext *avctx) · 239 unmodified lines | ||
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | #if CONFIG_APTX_ENCODER |
| 243 | −AVCodec ff_aptx_encoder = { | |
| 243 | +const AVCodec ff_aptx_encoder = { | |
| 244 | 244 | .name = "aptx", |
| 245 | 245 | .long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"), |
| 246 | 246 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -259,7 +259,7 @@ AVCodec ff_aptx_encoder = { · 12 unmodified lines | ||
| 259 | 259 | #endif |
| 260 | 260 | |
| 261 | 261 | #if CONFIG_APTX_HD_ENCODER |
| 262 | −AVCodec ff_aptx_hd_encoder = { | |
| 262 | +const AVCodec ff_aptx_hd_encoder = { | |
| 263 | 263 | .name = "aptx_hd", |
| 264 | 264 | .long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"), |
| 265 | 265 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -212,7 +212,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 211 unmodified lines | ||
| 212 | 212 | return 0; |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | −AVCodec ff_arbc_decoder = { | |
| 215 | +const AVCodec ff_arbc_decoder = { | |
| 216 | 216 | .name = "arbc", |
| 217 | 217 | .long_name = NULL_IF_CONFIG_SMALL("Gryphon's Anim Compressor"), |
| 218 | 218 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -725,7 +725,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 724 unmodified lines | ||
| 725 | 725 | return 0; |
| 726 | 726 | } |
| 727 | 727 | |
| 728 | −AVCodec ff_argo_decoder = { | |
| 728 | +const AVCodec ff_argo_decoder = { | |
| 729 | 729 | .name = "argo", |
| 730 | 730 | .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games Video"), |
| 731 | 731 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -62,7 +62,7 @@ static int ass_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, · 61 unmodified lines | ||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | #if CONFIG_SSA_DECODER |
| 65 | −AVCodec ff_ssa_decoder = { | |
| 65 | +const AVCodec ff_ssa_decoder = { | |
| 66 | 66 | .name = "ssa", |
| 67 | 67 | .long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"), |
| 68 | 68 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -73,7 +73,7 @@ AVCodec ff_ssa_decoder = { · 4 unmodified lines | ||
| 73 | 73 | #endif |
| 74 | 74 | |
| 75 | 75 | #if CONFIG_ASS_DECODER |
| 76 | −AVCodec ff_ass_decoder = { | |
| 76 | +const AVCodec ff_ass_decoder = { | |
| 77 | 77 | .name = "ass", |
| 78 | 78 | .long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"), |
| 79 | 79 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -66,7 +66,7 @@ static int ass_encode_frame(AVCodecContext *avctx, · 65 unmodified lines | ||
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | #if CONFIG_SSA_ENCODER |
| 69 | −AVCodec ff_ssa_encoder = { | |
| 69 | +const AVCodec ff_ssa_encoder = { | |
| 70 | 70 | .name = "ssa", |
| 71 | 71 | .long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"), |
| 72 | 72 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -77,7 +77,7 @@ AVCodec ff_ssa_encoder = { · 4 unmodified lines | ||
| 77 | 77 | #endif |
| 78 | 78 | |
| 79 | 79 | #if CONFIG_ASS_ENCODER |
| 80 | −AVCodec ff_ass_encoder = { | |
| 80 | +const AVCodec ff_ass_encoder = { | |
| 81 | 81 | .name = "ass", |
| 82 | 82 | .long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"), |
| 83 | 83 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -327,7 +327,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 326 unmodified lines | ||
| 327 | 327 | } |
| 328 | 328 | |
| 329 | 329 | #if CONFIG_ASV1_DECODER |
| 330 | −AVCodec ff_asv1_decoder = { | |
| 330 | +const AVCodec ff_asv1_decoder = { | |
| 331 | 331 | .name = "asv1", |
| 332 | 332 | .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"), |
| 333 | 333 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -342,7 +342,7 @@ AVCodec ff_asv1_decoder = { · 8 unmodified lines | ||
| 342 | 342 | #endif |
| 343 | 343 | |
| 344 | 344 | #if CONFIG_ASV2_DECODER |
| 345 | −AVCodec ff_asv2_decoder = { | |
| 345 | +const AVCodec ff_asv2_decoder = { | |
| 346 | 346 | .name = "asv2", |
| 347 | 347 | .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"), |
| 348 | 348 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -341,7 +341,7 @@ static av_cold int encode_init(AVCodecContext *avctx) · 340 unmodified lines | ||
| 341 | 341 | } |
| 342 | 342 | |
| 343 | 343 | #if CONFIG_ASV1_ENCODER |
| 344 | −AVCodec ff_asv1_encoder = { | |
| 344 | +const AVCodec ff_asv1_encoder = { | |
| 345 | 345 | .name = "asv1", |
| 346 | 346 | .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"), |
| 347 | 347 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -356,7 +356,7 @@ AVCodec ff_asv1_encoder = { · 8 unmodified lines | ||
| 356 | 356 | #endif |
| 357 | 357 | |
| 358 | 358 | #if CONFIG_ASV2_ENCODER |
| 359 | −AVCodec ff_asv2_encoder = { | |
| 359 | +const AVCodec ff_asv2_encoder = { | |
| 360 | 360 | .name = "asv2", |
| 361 | 361 | .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"), |
| 362 | 362 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -382,7 +382,7 @@ static av_cold int atrac1_decode_init(AVCodecContext *avctx) · 381 unmodified lines | ||
| 382 | 382 | } |
| 383 | 383 | |
| 384 | 384 | |
| 385 | −AVCodec ff_atrac1_decoder = { | |
| 385 | +const AVCodec ff_atrac1_decoder = { | |
| 386 | 386 | .name = "atrac1", |
| 387 | 387 | .long_name = NULL_IF_CONFIG_SMALL("ATRAC1 (Adaptive TRansform Acoustic Coding)"), |
| 388 | 388 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1013,7 +1013,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx) · 1012 unmodified lines | ||
| 1013 | 1013 | return 0; |
| 1014 | 1014 | } |
| 1015 | 1015 | |
| 1016 | −AVCodec ff_atrac3_decoder = { | |
| 1016 | +const AVCodec ff_atrac3_decoder = { | |
| 1017 | 1017 | .name = "atrac3", |
| 1018 | 1018 | .long_name = NULL_IF_CONFIG_SMALL("ATRAC3 (Adaptive TRansform Acoustic Coding 3)"), |
| 1019 | 1019 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1028,7 +1028,7 @@ AVCodec ff_atrac3_decoder = { · 8 unmodified lines | ||
| 1028 | 1028 | .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, |
| 1029 | 1029 | }; |
| 1030 | 1030 | |
| 1031 | −AVCodec ff_atrac3al_decoder = { | |
| 1031 | +const AVCodec ff_atrac3al_decoder = { | |
| 1032 | 1032 | .name = "atrac3al", |
| 1033 | 1033 | .long_name = NULL_IF_CONFIG_SMALL("ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)"), |
| 1034 | 1034 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -393,7 +393,7 @@ static int atrac3p_decode_frame(AVCodecContext *avctx, void *data, · 392 unmodified lines | ||
| 393 | 393 | return avctx->codec_id == AV_CODEC_ID_ATRAC3P ? FFMIN(avctx->block_align, avpkt->size) : avpkt->size; |
| 394 | 394 | } |
| 395 | 395 | |
| 396 | −AVCodec ff_atrac3p_decoder = { | |
| 396 | +const AVCodec ff_atrac3p_decoder = { | |
| 397 | 397 | .name = "atrac3plus", |
| 398 | 398 | .long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"), |
| 399 | 399 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -406,7 +406,7 @@ AVCodec ff_atrac3p_decoder = { · 6 unmodified lines | ||
| 406 | 406 | .decode = atrac3p_decode_frame, |
| 407 | 407 | }; |
| 408 | 408 | |
| 409 | −AVCodec ff_atrac3pal_decoder = { | |
| 409 | +const AVCodec ff_atrac3pal_decoder = { | |
| 410 | 410 | .name = "atrac3plusal", |
| 411 | 411 | .long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)"), |
| 412 | 412 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -986,7 +986,7 @@ static av_cold int atrac9_decode_init(AVCodecContext *avctx) · 985 unmodified lines | ||
| 986 | 986 | return 0; |
| 987 | 987 | } |
| 988 | 988 | |
| 989 | −AVCodec ff_atrac9_decoder = { | |
| 989 | +const AVCodec ff_atrac9_decoder = { | |
| 990 | 990 | .name = "atrac9", |
| 991 | 991 | .long_name = NULL_IF_CONFIG_SMALL("ATRAC9 (Adaptive TRansform Acoustic Coding 9)"), |
| 992 | 992 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -579,7 +579,7 @@ static av_cold int ffat_close_decoder(AVCodecContext *avctx) · 578 unmodified lines | ||
| 579 | 579 | |
| 580 | 580 | #define FFAT_DEC(NAME, ID, bsf_name) \ |
| 581 | 581 | FFAT_DEC_CLASS(NAME) \ |
| 582 | − AVCodec ff_##NAME##_at_decoder = { \ | |
| 582 | + const AVCodec ff_##NAME##_at_decoder = { \ | |
| 583 | 583 | .name = #NAME "_at", \ |
| 584 | 584 | .long_name = NULL_IF_CONFIG_SMALL(#NAME " (AudioToolbox)"), \ |
| 585 | 585 | .type = AVMEDIA_TYPE_AUDIO, \ |
| @@ -616,7 +616,7 @@ static const AVOption options[] = { · 615 unmodified lines | ||
| 616 | 616 | |
| 617 | 617 | #define FFAT_ENC(NAME, ID, PROFILES, ...) \ |
| 618 | 618 | FFAT_ENC_CLASS(NAME) \ |
| 619 | − AVCodec ff_##NAME##_at_encoder = { \ | |
| 619 | + const AVCodec ff_##NAME##_at_encoder = { \ | |
| 620 | 620 | .name = #NAME "_at", \ |
| 621 | 621 | .long_name = NULL_IF_CONFIG_SMALL(#NAME " (AudioToolbox)"), \ |
| 622 | 622 | .type = AVMEDIA_TYPE_AUDIO, \ |
| @@ -97,7 +97,7 @@ static int aura_decode_frame(AVCodecContext *avctx, · 96 unmodified lines | ||
| 97 | 97 | return pkt->size; |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | −AVCodec ff_aura2_decoder = { | |
| 100 | +const AVCodec ff_aura2_decoder = { | |
| 101 | 101 | .name = "aura2", |
| 102 | 102 | .long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"), |
| 103 | 103 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1121,7 +1121,7 @@ static const AVClass av1_class = { · 1120 unmodified lines | ||
| 1121 | 1121 | .version = LIBAVUTIL_VERSION_INT, |
| 1122 | 1122 | }; |
| 1123 | 1123 | |
| 1124 | −AVCodec ff_av1_decoder = { | |
| 1124 | +const AVCodec ff_av1_decoder = { | |
| 1125 | 1125 | .name = "av1", |
| 1126 | 1126 | .long_name = NULL_IF_CONFIG_SMALL("Alliance for Open Media AV1"), |
| 1127 | 1127 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -89,7 +89,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, · 88 unmodified lines | ||
| 89 | 89 | return buf_size; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | −AVCodec ff_avrn_decoder = { | |
| 92 | +const AVCodec ff_avrn_decoder = { | |
| 93 | 93 | .name = "avrn", |
| 94 | 94 | .long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"), |
| 95 | 95 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -176,7 +176,7 @@ static av_cold int avs_decode_end(AVCodecContext *avctx) · 175 unmodified lines | ||
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | |
| 179 | −AVCodec ff_avs_decoder = { | |
| 179 | +const AVCodec ff_avs_decoder = { | |
| 180 | 180 | .name = "avs", |
| 181 | 181 | .long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"), |
| 182 | 182 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -119,7 +119,7 @@ static int avui_decode_frame(AVCodecContext *avctx, void *data, · 118 unmodified lines | ||
| 119 | 119 | return avpkt->size; |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | −AVCodec ff_avui_decoder = { | |
| 122 | +const AVCodec ff_avui_decoder = { | |
| 123 | 123 | .name = "avui", |
| 124 | 124 | .long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"), |
| 125 | 125 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -91,7 +91,7 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 90 unmodified lines | ||
| 91 | 91 | return 0; |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | −AVCodec ff_avui_encoder = { | |
| 94 | +const AVCodec ff_avui_encoder = { | |
| 95 | 95 | .name = "avui", |
| 96 | 96 | .long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"), |
| 97 | 97 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -158,7 +158,7 @@ static av_cold int bethsoftvid_decode_end(AVCodecContext *avctx) · 157 unmodified lines | ||
| 158 | 158 | return 0; |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | −AVCodec ff_bethsoftvid_decoder = { | |
| 161 | +const AVCodec ff_bethsoftvid_decoder = { | |
| 162 | 162 | .name = "bethsoftvid", |
| 163 | 163 | .long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"), |
| 164 | 164 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -175,7 +175,7 @@ static av_cold int bfi_decode_close(AVCodecContext *avctx) · 174 unmodified lines | ||
| 175 | 175 | return 0; |
| 176 | 176 | } |
| 177 | 177 | |
| 178 | −AVCodec ff_bfi_decoder = { | |
| 178 | +const AVCodec ff_bfi_decoder = { | |
| 179 | 179 | .name = "bfi", |
| 180 | 180 | .long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"), |
| 181 | 181 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1415,7 +1415,7 @@ static void flush(AVCodecContext *avctx) · 1414 unmodified lines | ||
| 1415 | 1415 | c->frame_num = 0; |
| 1416 | 1416 | } |
| 1417 | 1417 | |
| 1418 | −AVCodec ff_bink_decoder = { | |
| 1418 | +const AVCodec ff_bink_decoder = { | |
| 1419 | 1419 | .name = "binkvideo", |
| 1420 | 1420 | .long_name = NULL_IF_CONFIG_SMALL("Bink video"), |
| 1421 | 1421 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -337,7 +337,7 @@ fail: · 336 unmodified lines | ||
| 337 | 337 | return ret; |
| 338 | 338 | } |
| 339 | 339 | |
| 340 | −AVCodec ff_binkaudio_rdft_decoder = { | |
| 340 | +const AVCodec ff_binkaudio_rdft_decoder = { | |
| 341 | 341 | .name = "binkaudio_rdft", |
| 342 | 342 | .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)"), |
| 343 | 343 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -350,7 +350,7 @@ AVCodec ff_binkaudio_rdft_decoder = { · 6 unmodified lines | ||
| 350 | 350 | .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, |
| 351 | 351 | }; |
| 352 | 352 | |
| 353 | −AVCodec ff_binkaudio_dct_decoder = { | |
| 353 | +const AVCodec ff_binkaudio_dct_decoder = { | |
| 354 | 354 | .name = "binkaudio_dct", |
| 355 | 355 | .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (DCT)"), |
| 356 | 356 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -215,7 +215,7 @@ static int decode_frame(AVCodecContext *avctx, · 214 unmodified lines | ||
| 215 | 215 | } |
| 216 | 216 | |
| 217 | 217 | #if CONFIG_BINTEXT_DECODER |
| 218 | −AVCodec ff_bintext_decoder = { | |
| 218 | +const AVCodec ff_bintext_decoder = { | |
| 219 | 219 | .name = "bintext", |
| 220 | 220 | .long_name = NULL_IF_CONFIG_SMALL("Binary text"), |
| 221 | 221 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -227,7 +227,7 @@ AVCodec ff_bintext_decoder = { · 5 unmodified lines | ||
| 227 | 227 | }; |
| 228 | 228 | #endif |
| 229 | 229 | #if CONFIG_XBIN_DECODER |
| 230 | −AVCodec ff_xbin_decoder = { | |
| 230 | +const AVCodec ff_xbin_decoder = { | |
| 231 | 231 | .name = "xbin", |
| 232 | 232 | .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"), |
| 233 | 233 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -239,7 +239,7 @@ AVCodec ff_xbin_decoder = { · 5 unmodified lines | ||
| 239 | 239 | }; |
| 240 | 240 | #endif |
| 241 | 241 | #if CONFIG_IDF_DECODER |
| 242 | −AVCodec ff_idf_decoder = { | |
| 242 | +const AVCodec ff_idf_decoder = { | |
| 243 | 243 | .name = "idf", |
| 244 | 244 | .long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"), |
| 245 | 245 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -137,7 +137,7 @@ static int bitpacked_decode(AVCodecContext *avctx, void *data, int *got_frame, · 136 unmodified lines | ||
| 137 | 137 | |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | −AVCodec ff_bitpacked_decoder = { | |
| 140 | +const AVCodec ff_bitpacked_decoder = { | |
| 141 | 141 | .name = "bitpacked", |
| 142 | 142 | .long_name = NULL_IF_CONFIG_SMALL("Bitpacked"), |
| 143 | 143 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -365,7 +365,7 @@ static int bmp_decode_frame(AVCodecContext *avctx, · 364 unmodified lines | ||
| 365 | 365 | return buf_size; |
| 366 | 366 | } |
| 367 | 367 | |
| 368 | −AVCodec ff_bmp_decoder = { | |
| 368 | +const AVCodec ff_bmp_decoder = { | |
| 369 | 369 | .name = "bmp", |
| 370 | 370 | .long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"), |
| 371 | 371 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -157,7 +157,7 @@ static int bmp_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 156 unmodified lines | ||
| 157 | 157 | return 0; |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | −AVCodec ff_bmp_encoder = { | |
| 160 | +const AVCodec ff_bmp_encoder = { | |
| 161 | 161 | .name = "bmp", |
| 162 | 162 | .long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"), |
| 163 | 163 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -78,7 +78,7 @@ static int bmv_aud_decode_frame(AVCodecContext *avctx, void *data, · 77 unmodified lines | ||
| 78 | 78 | return buf_size; |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | −AVCodec ff_bmv_audio_decoder = { | |
| 81 | +const AVCodec ff_bmv_audio_decoder = { | |
| 82 | 82 | .name = "bmv_audio", |
| 83 | 83 | .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"), |
| 84 | 84 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -285,7 +285,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 284 unmodified lines | ||
| 285 | 285 | return 0; |
| 286 | 286 | } |
| 287 | 287 | |
| 288 | −AVCodec ff_bmv_video_decoder = { | |
| 288 | +const AVCodec ff_bmv_video_decoder = { | |
| 289 | 289 | .name = "bmv_video", |
| 290 | 290 | .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV video"), |
| 291 | 291 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -285,7 +285,7 @@ static int pix_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 284 unmodified lines | ||
| 285 | 285 | return avpkt->size; |
| 286 | 286 | } |
| 287 | 287 | |
| 288 | −AVCodec ff_brender_pix_decoder = { | |
| 288 | +const AVCodec ff_brender_pix_decoder = { | |
| 289 | 289 | .name = "brender_pix", |
| 290 | 290 | .long_name = NULL_IF_CONFIG_SMALL("BRender PIX image"), |
| 291 | 291 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -257,7 +257,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, · 256 unmodified lines | ||
| 257 | 257 | return buf_size; |
| 258 | 258 | } |
| 259 | 259 | |
| 260 | −AVCodec ff_c93_decoder = { | |
| 260 | +const AVCodec ff_c93_decoder = { | |
| 261 | 261 | .name = "c93", |
| 262 | 262 | .long_name = NULL_IF_CONFIG_SMALL("Interplay C93"), |
| 263 | 263 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1307,7 +1307,7 @@ static int cavs_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 1306 unmodified lines | ||
| 1307 | 1307 | } |
| 1308 | 1308 | } |
| 1309 | 1309 | |
| 1310 | −AVCodec ff_cavs_decoder = { | |
| 1310 | +const AVCodec ff_cavs_decoder = { | |
| 1311 | 1311 | .name = "cavs", |
| 1312 | 1312 | .long_name = NULL_IF_CONFIG_SMALL("Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)"), |
| 1313 | 1313 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -940,7 +940,7 @@ static const AVClass ccaption_dec_class = { · 939 unmodified lines | ||
| 940 | 940 | .version = LIBAVUTIL_VERSION_INT, |
| 941 | 941 | }; |
| 942 | 942 | |
| 943 | −AVCodec ff_ccaption_decoder = { | |
| 943 | +const AVCodec ff_ccaption_decoder = { | |
| 944 | 944 | .name = "cc_dec", |
| 945 | 945 | .long_name = NULL_IF_CONFIG_SMALL("Closed Caption (EIA-608 / CEA-708)"), |
| 946 | 946 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -386,7 +386,7 @@ static av_cold int cdg_decode_end(AVCodecContext *avctx) · 385 unmodified lines | ||
| 386 | 386 | return 0; |
| 387 | 387 | } |
| 388 | 388 | |
| 389 | −AVCodec ff_cdgraphics_decoder = { | |
| 389 | +const AVCodec ff_cdgraphics_decoder = { | |
| 390 | 390 | .name = "cdgraphics", |
| 391 | 391 | .long_name = NULL_IF_CONFIG_SMALL("CD Graphics video"), |
| 392 | 392 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -442,7 +442,7 @@ static av_cold int cdtoons_decode_end(AVCodecContext *avctx) · 441 unmodified lines | ||
| 442 | 442 | return 0; |
| 443 | 443 | } |
| 444 | 444 | |
| 445 | −AVCodec ff_cdtoons_decoder = { | |
| 445 | +const AVCodec ff_cdtoons_decoder = { | |
| 446 | 446 | .name = "cdtoons", |
| 447 | 447 | .long_name = NULL_IF_CONFIG_SMALL("CDToons video"), |
| 448 | 448 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -336,7 +336,7 @@ static av_cold int cdxl_decode_end(AVCodecContext *avctx) · 335 unmodified lines | ||
| 336 | 336 | return 0; |
| 337 | 337 | } |
| 338 | 338 | |
| 339 | −AVCodec ff_cdxl_decoder = { | |
| 339 | +const AVCodec ff_cdxl_decoder = { | |
| 340 | 340 | .name = "cdxl", |
| 341 | 341 | .long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"), |
| 342 | 342 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1458,7 +1458,7 @@ static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src) · 1457 unmodified lines | ||
| 1458 | 1458 | } |
| 1459 | 1459 | #endif |
| 1460 | 1460 | |
| 1461 | −AVCodec ff_cfhd_decoder = { | |
| 1461 | +const AVCodec ff_cfhd_decoder = { | |
| 1462 | 1462 | .name = "cfhd", |
| 1463 | 1463 | .long_name = NULL_IF_CONFIG_SMALL("GoPro CineForm HD"), |
| 1464 | 1464 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -845,7 +845,7 @@ static const AVClass cfhd_class = { · 844 unmodified lines | ||
| 845 | 845 | .version = LIBAVUTIL_VERSION_INT, |
| 846 | 846 | }; |
| 847 | 847 | |
| 848 | −AVCodec ff_cfhd_encoder = { | |
| 848 | +const AVCodec ff_cfhd_encoder = { | |
| 849 | 849 | .name = "cfhd", |
| 850 | 850 | .long_name = NULL_IF_CONFIG_SMALL("GoPro CineForm HD"), |
| 851 | 851 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -506,7 +506,7 @@ static av_cold int cinepak_decode_end(AVCodecContext *avctx) · 505 unmodified lines | ||
| 506 | 506 | return 0; |
| 507 | 507 | } |
| 508 | 508 | |
| 509 | −AVCodec ff_cinepak_decoder = { | |
| 509 | +const AVCodec ff_cinepak_decoder = { | |
| 510 | 510 | .name = "cinepak", |
| 511 | 511 | .long_name = NULL_IF_CONFIG_SMALL("Cinepak"), |
| 512 | 512 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1178,7 +1178,7 @@ static av_cold int cinepak_encode_end(AVCodecContext *avctx) · 1177 unmodified lines | ||
| 1178 | 1178 | return 0; |
| 1179 | 1179 | } |
| 1180 | 1180 | |
| 1181 | −AVCodec ff_cinepak_encoder = { | |
| 1181 | +const AVCodec ff_cinepak_encoder = { | |
| 1182 | 1182 | .name = "cinepak", |
| 1183 | 1183 | .long_name = NULL_IF_CONFIG_SMALL("Cinepak"), |
| 1184 | 1184 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -766,7 +766,7 @@ static av_cold int clv_decode_end(AVCodecContext *avctx) · 765 unmodified lines | ||
| 766 | 766 | return 0; |
| 767 | 767 | } |
| 768 | 768 | |
| 769 | −AVCodec ff_clearvideo_decoder = { | |
| 769 | +const AVCodec ff_clearvideo_decoder = { | |
| 770 | 770 | .name = "clearvideo", |
| 771 | 771 | .long_name = NULL_IF_CONFIG_SMALL("Iterated Systems ClearVideo"), |
| 772 | 772 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -82,7 +82,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 81 unmodified lines | ||
| 82 | 82 | return 0; |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | −AVCodec ff_cljr_decoder = { | |
| 85 | +const AVCodec ff_cljr_decoder = { | |
| 86 | 86 | .name = "cljr", |
| 87 | 87 | .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"), |
| 88 | 88 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -109,7 +109,7 @@ static const AVClass cljr_class = { · 108 unmodified lines | ||
| 109 | 109 | .version = LIBAVUTIL_VERSION_INT, |
| 110 | 110 | }; |
| 111 | 111 | |
| 112 | −AVCodec ff_cljr_encoder = { | |
| 112 | +const AVCodec ff_cljr_encoder = { | |
| 113 | 113 | .name = "cljr", |
| 114 | 114 | .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"), |
| 115 | 115 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -493,7 +493,7 @@ static av_cold int cllc_decode_init(AVCodecContext *avctx) · 492 unmodified lines | ||
| 493 | 493 | return 0; |
| 494 | 494 | } |
| 495 | 495 | |
| 496 | −AVCodec ff_cllc_decoder = { | |
| 496 | +const AVCodec ff_cllc_decoder = { | |
| 497 | 497 | .name = "cllc", |
| 498 | 498 | .long_name = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"), |
| 499 | 499 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -161,7 +161,7 @@ static int cng_decode_frame(AVCodecContext *avctx, void *data, · 160 unmodified lines | ||
| 161 | 161 | return buf_size; |
| 162 | 162 | } |
| 163 | 163 | |
| 164 | −AVCodec ff_comfortnoise_decoder = { | |
| 164 | +const AVCodec ff_comfortnoise_decoder = { | |
| 165 | 165 | .name = "comfortnoise", |
| 166 | 166 | .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), |
| 167 | 167 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -100,7 +100,7 @@ static int cng_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 99 unmodified lines | ||
| 100 | 100 | return 0; |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | −AVCodec ff_comfortnoise_encoder = { | |
| 103 | +const AVCodec ff_comfortnoise_encoder = { | |
| 104 | 104 | .name = "comfortnoise", |
| 105 | 105 | .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), |
| 106 | 106 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1292,7 +1292,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx) · 1291 unmodified lines | ||
| 1292 | 1292 | return 0; |
| 1293 | 1293 | } |
| 1294 | 1294 | |
| 1295 | −AVCodec ff_cook_decoder = { | |
| 1295 | +const AVCodec ff_cook_decoder = { | |
| 1296 | 1296 | .name = "cook", |
| 1297 | 1297 | .long_name = NULL_IF_CONFIG_SMALL("Cook / Cooker / Gecko (RealAudio G2)"), |
| 1298 | 1298 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -220,7 +220,7 @@ static av_cold int cpia_decode_end(AVCodecContext *avctx) · 219 unmodified lines | ||
| 220 | 220 | return 0; |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | −AVCodec ff_cpia_decoder = { | |
| 223 | +const AVCodec ff_cpia_decoder = { | |
| 224 | 224 | .name = "cpia", |
| 225 | 225 | .long_name = NULL_IF_CONFIG_SMALL("CPiA video format"), |
| 226 | 226 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -424,7 +424,7 @@ static av_cold int cri_decode_close(AVCodecContext *avctx) · 423 unmodified lines | ||
| 424 | 424 | return 0; |
| 425 | 425 | } |
| 426 | 426 | |
| 427 | −AVCodec ff_cri_decoder = { | |
| 427 | +const AVCodec ff_cri_decoder = { | |
| 428 | 428 | .name = "cri", |
| 429 | 429 | .type = AVMEDIA_TYPE_VIDEO, |
| 430 | 430 | .id = AV_CODEC_ID_CRI, |
| @@ -767,7 +767,7 @@ static int crystalhd_receive_frame(AVCodecContext *avctx, AVFrame *frame) · 766 unmodified lines | ||
| 767 | 767 | .option = options, \ |
| 768 | 768 | .version = LIBAVUTIL_VERSION_INT, \ |
| 769 | 769 | }; \ |
| 770 | − AVCodec ff_##x##_crystalhd_decoder = { \ | |
| 770 | + const AVCodec ff_##x##_crystalhd_decoder = { \ | |
| 771 | 771 | .name = #x "_crystalhd", \ |
| 772 | 772 | .long_name = NULL_IF_CONFIG_SMALL("CrystalHD " #X " decoder"), \ |
| 773 | 773 | .type = AVMEDIA_TYPE_VIDEO, \ |
| @@ -166,7 +166,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 165 unmodified lines | ||
| 166 | 166 | return 0; |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | −AVCodec ff_cscd_decoder = { | |
| 169 | +const AVCodec ff_cscd_decoder = { | |
| 170 | 170 | .name = "camstudio", |
| 171 | 171 | .long_name = NULL_IF_CONFIG_SMALL("CamStudio"), |
| 172 | 172 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1131,7 +1131,7 @@ static const AVCodecHWConfigInternal *const cuvid_hw_configs[] = { · 1130 unmodified lines | ||
| 1131 | 1131 | .option = options, \ |
| 1132 | 1132 | .version = LIBAVUTIL_VERSION_INT, \ |
| 1133 | 1133 | }; \ |
| 1134 | − AVCodec ff_##x##_cuvid_decoder = { \ | |
| 1134 | + const AVCodec ff_##x##_cuvid_decoder = { \ | |
| 1135 | 1135 | .name = #x "_cuvid", \ |
| 1136 | 1136 | .long_name = NULL_IF_CONFIG_SMALL("Nvidia CUVID " #X " decoder"), \ |
| 1137 | 1137 | .type = AVMEDIA_TYPE_VIDEO, \ |
| @@ -176,7 +176,7 @@ static int cyuv_decode_frame(AVCodecContext *avctx, · 175 unmodified lines | ||
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | #if CONFIG_AURA_DECODER |
| 179 | −AVCodec ff_aura_decoder = { | |
| 179 | +const AVCodec ff_aura_decoder = { | |
| 180 | 180 | .name = "aura", |
| 181 | 181 | .long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"), |
| 182 | 182 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -190,7 +190,7 @@ AVCodec ff_aura_decoder = { · 7 unmodified lines | ||
| 190 | 190 | #endif |
| 191 | 191 | |
| 192 | 192 | #if CONFIG_CYUV_DECODER |
| 193 | −AVCodec ff_cyuv_decoder = { | |
| 193 | +const AVCodec ff_cyuv_decoder = { | |
| 194 | 194 | .name = "cyuv", |
| 195 | 195 | .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"), |
| 196 | 196 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -381,7 +381,7 @@ static const AVClass dcadec_class = { · 380 unmodified lines | ||
| 381 | 381 | .category = AV_CLASS_CATEGORY_DECODER, |
| 382 | 382 | }; |
| 383 | 383 | |
| 384 | −AVCodec ff_dca_decoder = { | |
| 384 | +const AVCodec ff_dca_decoder = { | |
| 385 | 385 | .name = "dca", |
| 386 | 386 | .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"), |
| 387 | 387 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1238,7 +1238,7 @@ static const AVCodecDefault defaults[] = { · 1237 unmodified lines | ||
| 1238 | 1238 | { NULL }, |
| 1239 | 1239 | }; |
| 1240 | 1240 | |
| 1241 | −AVCodec ff_dca_encoder = { | |
| 1241 | +const AVCodec ff_dca_encoder = { | |
| 1242 | 1242 | .name = "dca", |
| 1243 | 1243 | .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"), |
| 1244 | 1244 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -748,7 +748,7 @@ static int dds_decode(AVCodecContext *avctx, void *data, · 747 unmodified lines | ||
| 748 | 748 | return avpkt->size; |
| 749 | 749 | } |
| 750 | 750 | |
| 751 | −AVCodec ff_dds_decoder = { | |
| 751 | +const AVCodec ff_dds_decoder = { | |
| 752 | 752 | .name = "dds", |
| 753 | 753 | .long_name = NULL_IF_CONFIG_SMALL("DirectDraw Surface image decoder"), |
| 754 | 754 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -414,7 +414,7 @@ static av_cold int dfa_decode_end(AVCodecContext *avctx) · 413 unmodified lines | ||
| 414 | 414 | return 0; |
| 415 | 415 | } |
| 416 | 416 | |
| 417 | −AVCodec ff_dfa_decoder = { | |
| 417 | +const AVCodec ff_dfa_decoder = { | |
| 418 | 418 | .name = "dfa", |
| 419 | 419 | .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"), |
| 420 | 420 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2355,7 +2355,7 @@ static int dirac_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 2354 unmodified lines | ||
| 2355 | 2355 | return buf_idx; |
| 2356 | 2356 | } |
| 2357 | 2357 | |
| 2358 | −AVCodec ff_dirac_decoder = { | |
| 2358 | +const AVCodec ff_dirac_decoder = { | |
| 2359 | 2359 | .name = "dirac", |
| 2360 | 2360 | .long_name = NULL_IF_CONFIG_SMALL("BBC Dirac VC-2"), |
| 2361 | 2361 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -717,7 +717,7 @@ static av_cold int dnxhd_decode_close(AVCodecContext *avctx) · 716 unmodified lines | ||
| 717 | 717 | return 0; |
| 718 | 718 | } |
| 719 | 719 | |
| 720 | −AVCodec ff_dnxhd_decoder = { | |
| 720 | +const AVCodec ff_dnxhd_decoder = { | |
| 721 | 721 | .name = "dnxhd", |
| 722 | 722 | .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"), |
| 723 | 723 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1349,7 +1349,7 @@ static const AVCodecDefault dnxhd_defaults[] = { · 1348 unmodified lines | ||
| 1349 | 1349 | { NULL }, |
| 1350 | 1350 | }; |
| 1351 | 1351 | |
| 1352 | −AVCodec ff_dnxhd_encoder = { | |
| 1352 | +const AVCodec ff_dnxhd_encoder = { | |
| 1353 | 1353 | .name = "dnxhd", |
| 1354 | 1354 | .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"), |
| 1355 | 1355 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1256,7 +1256,7 @@ static av_cold int dolby_e_init(AVCodecContext *avctx) · 1255 unmodified lines | ||
| 1256 | 1256 | return 0; |
| 1257 | 1257 | } |
| 1258 | 1258 | |
| 1259 | −AVCodec ff_dolby_e_decoder = { | |
| 1259 | +const AVCodec ff_dolby_e_decoder = { | |
| 1260 | 1260 | .name = "dolby_e", |
| 1261 | 1261 | .long_name = NULL_IF_CONFIG_SMALL("Dolby E"), |
| 1262 | 1262 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -410,7 +410,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx, void *data, · 409 unmodified lines | ||
| 410 | 410 | } |
| 411 | 411 | |
| 412 | 412 | #define DPCM_DECODER(id_, name_, long_name_) \ |
| 413 | −AVCodec ff_ ## name_ ## _decoder = { \ | |
| 413 | +const AVCodec ff_ ## name_ ## _decoder = { \ | |
| 414 | 414 | .name = #name_, \ |
| 415 | 415 | .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ |
| 416 | 416 | .type = AVMEDIA_TYPE_AUDIO, \ |
| @@ -762,7 +762,7 @@ static int decode_frame(AVCodecContext *avctx, · 761 unmodified lines | ||
| 762 | 762 | return buf_size; |
| 763 | 763 | } |
| 764 | 764 | |
| 765 | −AVCodec ff_dpx_decoder = { | |
| 765 | +const AVCodec ff_dpx_decoder = { | |
| 766 | 766 | .name = "dpx", |
| 767 | 767 | .long_name = NULL_IF_CONFIG_SMALL("DPX (Digital Picture Exchange) image"), |
| 768 | 768 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -276,7 +276,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 275 unmodified lines | ||
| 276 | 276 | return 0; |
| 277 | 277 | } |
| 278 | 278 | |
| 279 | −AVCodec ff_dpx_encoder = { | |
| 279 | +const AVCodec ff_dpx_encoder = { | |
| 280 | 280 | .name = "dpx", |
| 281 | 281 | .long_name = NULL_IF_CONFIG_SMALL("DPX (Digital Picture Exchange) image"), |
| 282 | 282 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -115,7 +115,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, · 114 unmodified lines | ||
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | #define DSD_DECODER(id_, name_, long_name_) \ |
| 118 | −AVCodec ff_##name_##_decoder = { \ | |
| 118 | +const AVCodec ff_ ## name_ ## _decoder = { \ | |
| 119 | 119 | .name = #name_, \ |
| 120 | 120 | .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ |
| 121 | 121 | .type = AVMEDIA_TYPE_AUDIO, \ |
| @@ -121,7 +121,7 @@ static int cinaudio_decode_frame(AVCodecContext *avctx, void *data, · 120 unmodified lines | ||
| 121 | 121 | return avpkt->size; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | −AVCodec ff_dsicinaudio_decoder = { | |
| 124 | +const AVCodec ff_dsicinaudio_decoder = { | |
| 125 | 125 | .name = "dsicinaudio", |
| 126 | 126 | .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"), |
| 127 | 127 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -321,7 +321,7 @@ static av_cold int cinvideo_decode_end(AVCodecContext *avctx) · 320 unmodified lines | ||
| 321 | 321 | return 0; |
| 322 | 322 | } |
| 323 | 323 | |
| 324 | −AVCodec ff_dsicinvideo_decoder = { | |
| 324 | +const AVCodec ff_dsicinvideo_decoder = { | |
| 325 | 325 | .name = "dsicinvideo", |
| 326 | 326 | .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"), |
| 327 | 327 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -774,7 +774,7 @@ static int dss_sp_decode_frame(AVCodecContext *avctx, void *data, · 773 unmodified lines | ||
| 774 | 774 | return DSS_SP_FRAME_SIZE; |
| 775 | 775 | } |
| 776 | 776 | |
| 777 | −AVCodec ff_dss_sp_decoder = { | |
| 777 | +const AVCodec ff_dss_sp_decoder = { | |
| 778 | 778 | .name = "dss_sp", |
| 779 | 779 | .long_name = NULL_IF_CONFIG_SMALL("Digital Speech Standard - Standard Play mode (DSS SP)"), |
| 780 | 780 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -379,7 +379,7 @@ dsd: · 378 unmodified lines | ||
| 379 | 379 | return avpkt->size; |
| 380 | 380 | } |
| 381 | 381 | |
| 382 | −AVCodec ff_dst_decoder = { | |
| 382 | +const AVCodec ff_dst_decoder = { | |
| 383 | 383 | .name = "dst", |
| 384 | 384 | .long_name = NULL_IF_CONFIG_SMALL("DST (Digital Stream Transfer)"), |
| 385 | 385 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -121,7 +121,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, · 120 unmodified lines | ||
| 121 | 121 | return s->block_size; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | −AVCodec ff_dvaudio_decoder = { | |
| 124 | +const AVCodec ff_dvaudio_decoder = { | |
| 125 | 125 | .name = "dvaudio", |
| 126 | 126 | .long_name = NULL_IF_CONFIG_SMALL("Ulead DV Audio"), |
| 127 | 127 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1737,7 +1737,7 @@ static const AVClass dvbsubdec_class = { · 1736 unmodified lines | ||
| 1737 | 1737 | .version = LIBAVUTIL_VERSION_INT, |
| 1738 | 1738 | }; |
| 1739 | 1739 | |
| 1740 | −AVCodec ff_dvbsub_decoder = { | |
| 1740 | +const AVCodec ff_dvbsub_decoder = { | |
| 1741 | 1741 | .name = "dvbsub", |
| 1742 | 1742 | .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), |
| 1743 | 1743 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -505,7 +505,7 @@ static int dvbsub_encode(AVCodecContext *avctx, uint8_t *outbuf, int buf_size, · 504 unmodified lines | ||
| 505 | 505 | return q - outbuf; |
| 506 | 506 | } |
| 507 | 507 | |
| 508 | −AVCodec ff_dvbsub_encoder = { | |
| 508 | +const AVCodec ff_dvbsub_encoder = { | |
| 509 | 509 | .name = "dvbsub", |
| 510 | 510 | .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), |
| 511 | 511 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -619,7 +619,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, void *data, · 618 unmodified lines | ||
| 619 | 619 | return s->sys->frame_size; |
| 620 | 620 | } |
| 621 | 621 | |
| 622 | −AVCodec ff_dvvideo_decoder = { | |
| 622 | +const AVCodec ff_dvvideo_decoder = { | |
| 623 | 623 | .name = "dvvideo", |
| 624 | 624 | .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), |
| 625 | 625 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -760,7 +760,7 @@ static const AVClass dvdsub_class = { · 759 unmodified lines | ||
| 760 | 760 | .version = LIBAVUTIL_VERSION_INT, |
| 761 | 761 | }; |
| 762 | 762 | |
| 763 | −AVCodec ff_dvdsub_decoder = { | |
| 763 | +const AVCodec ff_dvdsub_decoder = { | |
| 764 | 764 | .name = "dvdsub", |
| 765 | 765 | .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"), |
| 766 | 766 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -493,7 +493,7 @@ static const AVClass dvdsubenc_class = { · 492 unmodified lines | ||
| 493 | 493 | .version = LIBAVUTIL_VERSION_INT, |
| 494 | 494 | }; |
| 495 | 495 | |
| 496 | −AVCodec ff_dvdsub_encoder = { | |
| 496 | +const AVCodec ff_dvdsub_encoder = { | |
| 497 | 497 | .name = "dvdsub", |
| 498 | 498 | .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"), |
| 499 | 499 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -1198,7 +1198,7 @@ static const AVClass dvvideo_encode_class = { · 1197 unmodified lines | ||
| 1198 | 1198 | .version = LIBAVUTIL_VERSION_INT, |
| 1199 | 1199 | }; |
| 1200 | 1200 | |
| 1201 | −AVCodec ff_dvvideo_encoder = { | |
| 1201 | +const AVCodec ff_dvvideo_encoder = { | |
| 1202 | 1202 | .name = "dvvideo", |
| 1203 | 1203 | .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), |
| 1204 | 1204 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -360,7 +360,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 359 unmodified lines | ||
| 360 | 360 | return 0; |
| 361 | 361 | } |
| 362 | 362 | |
| 363 | −AVCodec ff_dxa_decoder = { | |
| 363 | +const AVCodec ff_dxa_decoder = { | |
| 364 | 364 | .name = "dxa", |
| 365 | 365 | .long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"), |
| 366 | 366 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -876,7 +876,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 875 unmodified lines | ||
| 876 | 876 | return avpkt->size; |
| 877 | 877 | } |
| 878 | 878 | |
| 879 | −AVCodec ff_dxtory_decoder = { | |
| 879 | +const AVCodec ff_dxtory_decoder = { | |
| 880 | 880 | .name = "dxtory", |
| 881 | 881 | .long_name = NULL_IF_CONFIG_SMALL("Dxtory"), |
| 882 | 882 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1262,7 +1262,7 @@ static int dxv_close(AVCodecContext *avctx) · 1261 unmodified lines | ||
| 1262 | 1262 | return 0; |
| 1263 | 1263 | } |
| 1264 | 1264 | |
| 1265 | −AVCodec ff_dxv_decoder = { | |
| 1265 | +const AVCodec ff_dxv_decoder = { | |
| 1266 | 1266 | .name = "dxv", |
| 1267 | 1267 | .long_name = NULL_IF_CONFIG_SMALL("Resolume DXV"), |
| 1268 | 1268 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -248,7 +248,7 @@ void ff_eac3_output_frame_header(AC3EncodeContext *s) · 247 unmodified lines | ||
| 248 | 248 | } |
| 249 | 249 | |
| 250 | 250 | |
| 251 | −AVCodec ff_eac3_encoder = { | |
| 251 | +const AVCodec ff_eac3_encoder = { | |
| 252 | 252 | .name = "eac3", |
| 253 | 253 | .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52 E-AC-3"), |
| 254 | 254 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -230,7 +230,7 @@ static av_cold int cmv_decode_end(AVCodecContext *avctx){ · 229 unmodified lines | ||
| 230 | 230 | return 0; |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | −AVCodec ff_eacmv_decoder = { | |
| 233 | +const AVCodec ff_eacmv_decoder = { | |
| 234 | 234 | .name = "eacmv", |
| 235 | 235 | .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts CMV video"), |
| 236 | 236 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -341,7 +341,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 340 unmodified lines | ||
| 341 | 341 | return 0; |
| 342 | 342 | } |
| 343 | 343 | |
| 344 | −AVCodec ff_eamad_decoder = { | |
| 344 | +const AVCodec ff_eamad_decoder = { | |
| 345 | 345 | .name = "eamad", |
| 346 | 346 | .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts Madcow Video"), |
| 347 | 347 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -247,7 +247,7 @@ static int tgq_decode_frame(AVCodecContext *avctx, · 246 unmodified lines | ||
| 247 | 247 | return avpkt->size; |
| 248 | 248 | } |
| 249 | 249 | |
| 250 | −AVCodec ff_eatgq_decoder = { | |
| 250 | +const AVCodec ff_eatgq_decoder = { | |
| 251 | 251 | .name = "eatgq", |
| 252 | 252 | .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGQ video"), |
| 253 | 253 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -359,7 +359,7 @@ static av_cold int tgv_decode_end(AVCodecContext *avctx) · 358 unmodified lines | ||
| 359 | 359 | return 0; |
| 360 | 360 | } |
| 361 | 361 | |
| 362 | −AVCodec ff_eatgv_decoder = { | |
| 362 | +const AVCodec ff_eatgv_decoder = { | |
| 363 | 363 | .name = "eatgv", |
| 364 | 364 | .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGV video"), |
| 365 | 365 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -181,7 +181,7 @@ static av_cold int tqi_decode_end(AVCodecContext *avctx) · 180 unmodified lines | ||
| 181 | 181 | return 0; |
| 182 | 182 | } |
| 183 | 183 | |
| 184 | −AVCodec ff_eatqi_decoder = { | |
| 184 | +const AVCodec ff_eatqi_decoder = { | |
| 185 | 185 | .name = "eatqi", |
| 186 | 186 | .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TQI Video"), |
| 187 | 187 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -376,7 +376,7 @@ static int escape124_decode_frame(AVCodecContext *avctx, · 375 unmodified lines | ||
| 376 | 376 | } |
| 377 | 377 | |
| 378 | 378 | |
| 379 | −AVCodec ff_escape124_decoder = { | |
| 379 | +const AVCodec ff_escape124_decoder = { | |
| 380 | 380 | .name = "escape124", |
| 381 | 381 | .long_name = NULL_IF_CONFIG_SMALL("Escape 124"), |
| 382 | 382 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -345,7 +345,7 @@ static int escape130_decode_frame(AVCodecContext *avctx, void *data, · 344 unmodified lines | ||
| 345 | 345 | return buf_size; |
| 346 | 346 | } |
| 347 | 347 | |
| 348 | −AVCodec ff_escape130_decoder = { | |
| 348 | +const AVCodec ff_escape130_decoder = { | |
| 349 | 349 | .name = "escape130", |
| 350 | 350 | .long_name = NULL_IF_CONFIG_SMALL("Escape 130"), |
| 351 | 351 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -928,7 +928,7 @@ static const AVClass evrcdec_class = { · 927 unmodified lines | ||
| 928 | 928 | .version = LIBAVUTIL_VERSION_INT, |
| 929 | 929 | }; |
| 930 | 930 | |
| 931 | −AVCodec ff_evrc_decoder = { | |
| 931 | +const AVCodec ff_evrc_decoder = { | |
| 932 | 932 | .name = "evrc", |
| 933 | 933 | .long_name = NULL_IF_CONFIG_SMALL("EVRC (Enhanced Variable Rate Codec)"), |
| 934 | 934 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -2331,7 +2331,7 @@ static const AVClass exr_class = { · 2330 unmodified lines | ||
| 2331 | 2331 | .version = LIBAVUTIL_VERSION_INT, |
| 2332 | 2332 | }; |
| 2333 | 2333 | |
| 2334 | −AVCodec ff_exr_decoder = { | |
| 2334 | +const AVCodec ff_exr_decoder = { | |
| 2335 | 2335 | .name = "exr", |
| 2336 | 2336 | .long_name = NULL_IF_CONFIG_SMALL("OpenEXR image"), |
| 2337 | 2337 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -534,7 +534,7 @@ static const AVClass exr_class = { · 533 unmodified lines | ||
| 534 | 534 | .version = LIBAVUTIL_VERSION_INT, |
| 535 | 535 | }; |
| 536 | 536 | |
| 537 | −AVCodec ff_exr_encoder = { | |
| 537 | +const AVCodec ff_exr_encoder = { | |
| 538 | 538 | .name = "exr", |
| 539 | 539 | .long_name = NULL_IF_CONFIG_SMALL("OpenEXR image"), |
| 540 | 540 | .priv_data_size = sizeof(EXRContext), |
| @@ -187,7 +187,7 @@ static av_cold int fastaudio_close(AVCodecContext *avctx) · 186 unmodified lines | ||
| 187 | 187 | return 0; |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | −AVCodec ff_fastaudio_decoder = { | |
| 190 | +const AVCodec ff_fastaudio_decoder = { | |
| 191 | 191 | .name = "fastaudio", |
| 192 | 192 | .long_name = NULL_IF_CONFIG_SMALL("MobiClip FastAudio"), |
| 193 | 193 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1052,7 +1052,7 @@ static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src) · 1051 unmodified lines | ||
| 1052 | 1052 | } |
| 1053 | 1053 | #endif |
| 1054 | 1054 | |
| 1055 | −AVCodec ff_ffv1_decoder = { | |
| 1055 | +const AVCodec ff_ffv1_decoder = { | |
| 1056 | 1056 | .name = "ffv1", |
| 1057 | 1057 | .long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"), |
| 1058 | 1058 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1276,7 +1276,7 @@ static const AVClass ffv1_class = { · 1275 unmodified lines | ||
| 1276 | 1276 | .version = LIBAVUTIL_VERSION_INT, |
| 1277 | 1277 | }; |
| 1278 | 1278 | |
| 1279 | −AVCodec ff_ffv1_encoder = { | |
| 1279 | +const AVCodec ff_ffv1_encoder = { | |
| 1280 | 1280 | .name = "ffv1", |
| 1281 | 1281 | .long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"), |
| 1282 | 1282 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -459,7 +459,7 @@ static av_cold int wavesynth_close(AVCodecContext *avc) · 458 unmodified lines | ||
| 459 | 459 | return 0; |
| 460 | 460 | } |
| 461 | 461 | |
| 462 | −AVCodec ff_ffwavesynth_decoder = { | |
| 462 | +const AVCodec ff_ffwavesynth_decoder = { | |
| 463 | 463 | .name = "wavesynth", |
| 464 | 464 | .long_name = NULL_IF_CONFIG_SMALL("Wave synthesis pseudo-codec"), |
| 465 | 465 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -483,7 +483,7 @@ static const AVClass fic_decoder_class = { · 482 unmodified lines | ||
| 483 | 483 | .version = LIBAVUTIL_VERSION_INT, |
| 484 | 484 | }; |
| 485 | 485 | |
| 486 | −AVCodec ff_fic_decoder = { | |
| 486 | +const AVCodec ff_fic_decoder = { | |
| 487 | 487 | .name = "fic", |
| 488 | 488 | .long_name = NULL_IF_CONFIG_SMALL("Mirillis FIC"), |
| 489 | 489 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -320,7 +320,7 @@ static const AVClass fits_decoder_class = { · 319 unmodified lines | ||
| 320 | 320 | .version = LIBAVUTIL_VERSION_INT, |
| 321 | 321 | }; |
| 322 | 322 | |
| 323 | −AVCodec ff_fits_decoder = { | |
| 323 | +const AVCodec ff_fits_decoder = { | |
| 324 | 324 | .name = "fits", |
| 325 | 325 | .type = AVMEDIA_TYPE_VIDEO, |
| 326 | 326 | .id = AV_CODEC_ID_FITS, |
| @@ -113,7 +113,7 @@ static int fits_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 112 unmodified lines | ||
| 113 | 113 | return 0; |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | −AVCodec ff_fits_encoder = { | |
| 116 | +const AVCodec ff_fits_encoder = { | |
| 117 | 117 | .name = "fits", |
| 118 | 118 | .long_name = NULL_IF_CONFIG_SMALL("Flexible Image Transport System"), |
| 119 | 119 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -660,7 +660,7 @@ static const AVClass flac_decoder_class = { · 659 unmodified lines | ||
| 660 | 660 | .version = LIBAVUTIL_VERSION_INT, |
| 661 | 661 | }; |
| 662 | 662 | |
| 663 | −AVCodec ff_flac_decoder = { | |
| 663 | +const AVCodec ff_flac_decoder = { | |
| 664 | 664 | .name = "flac", |
| 665 | 665 | .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), |
| 666 | 666 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1457,7 +1457,7 @@ static const AVClass flac_encoder_class = { · 1456 unmodified lines | ||
| 1457 | 1457 | .version = LIBAVUTIL_VERSION_INT, |
| 1458 | 1458 | }; |
| 1459 | 1459 | |
| 1460 | −AVCodec ff_flac_encoder = { | |
| 1460 | +const AVCodec ff_flac_encoder = { | |
| 1461 | 1461 | .name = "flac", |
| 1462 | 1462 | .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), |
| 1463 | 1463 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -507,7 +507,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void *data, · 506 unmodified lines | ||
| 507 | 507 | } |
| 508 | 508 | |
| 509 | 509 | #if CONFIG_FLASHSV_DECODER |
| 510 | −AVCodec ff_flashsv_decoder = { | |
| 510 | +const AVCodec ff_flashsv_decoder = { | |
| 511 | 511 | .name = "flashsv", |
| 512 | 512 | .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"), |
| 513 | 513 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -575,7 +575,7 @@ static av_cold int flashsv2_decode_end(AVCodecContext *avctx) · 61 unmodified lines | ||
| 575 | 575 | return 0; |
| 576 | 576 | } |
| 577 | 577 | |
| 578 | −AVCodec ff_flashsv2_decoder = { | |
| 578 | +const AVCodec ff_flashsv2_decoder = { | |
| 579 | 579 | .name = "flashsv2", |
| 580 | 580 | .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"), |
| 581 | 581 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -897,7 +897,7 @@ static av_cold int flashsv2_encode_end(AVCodecContext * avctx) · 896 unmodified lines | ||
| 897 | 897 | return 0; |
| 898 | 898 | } |
| 899 | 899 | |
| 900 | −AVCodec ff_flashsv2_encoder = { | |
| 900 | +const AVCodec ff_flashsv2_encoder = { | |
| 901 | 901 | .name = "flashsv2", |
| 902 | 902 | .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video Version 2"), |
| 903 | 903 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -256,7 +256,7 @@ static int flashsv_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 255 unmodified lines | ||
| 256 | 256 | return 0; |
| 257 | 257 | } |
| 258 | 258 | |
| 259 | −AVCodec ff_flashsv_encoder = { | |
| 259 | +const AVCodec ff_flashsv_encoder = { | |
| 260 | 260 | .name = "flashsv", |
| 261 | 261 | .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"), |
| 262 | 262 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1102,7 +1102,7 @@ static av_cold int flic_decode_end(AVCodecContext *avctx) · 1101 unmodified lines | ||
| 1102 | 1102 | return 0; |
| 1103 | 1103 | } |
| 1104 | 1104 | |
| 1105 | −AVCodec ff_flic_decoder = { | |
| 1105 | +const AVCodec ff_flic_decoder = { | |
| 1106 | 1106 | .name = "flic", |
| 1107 | 1107 | .long_name = NULL_IF_CONFIG_SMALL("Autodesk Animator Flic video"), |
| 1108 | 1108 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -113,7 +113,7 @@ int ff_flv_decode_picture_header(MpegEncContext *s) · 112 unmodified lines | ||
| 113 | 113 | return 0; |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | −AVCodec ff_flv_decoder = { | |
| 116 | +const AVCodec ff_flv_decoder = { | |
| 117 | 117 | .name = "flv", |
| 118 | 118 | .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"), |
| 119 | 119 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -98,7 +98,7 @@ static const AVClass flv_class = { · 97 unmodified lines | ||
| 98 | 98 | .version = LIBAVUTIL_VERSION_INT, |
| 99 | 99 | }; |
| 100 | 100 | |
| 101 | −AVCodec ff_flv_encoder = { | |
| 101 | +const AVCodec ff_flv_encoder = { | |
| 102 | 102 | .name = "flv", |
| 103 | 103 | .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"), |
| 104 | 104 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -626,7 +626,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 625 unmodified lines | ||
| 626 | 626 | return 0; |
| 627 | 627 | } |
| 628 | 628 | |
| 629 | −AVCodec ff_fmvc_decoder = { | |
| 629 | +const AVCodec ff_fmvc_decoder = { | |
| 630 | 630 | .name = "fmvc", |
| 631 | 631 | .long_name = NULL_IF_CONFIG_SMALL("FM Screen Capture Codec"), |
| 632 | 632 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -342,7 +342,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 341 unmodified lines | ||
| 342 | 342 | } |
| 343 | 343 | |
| 344 | 344 | |
| 345 | −AVCodec ff_fraps_decoder = { | |
| 345 | +const AVCodec ff_fraps_decoder = { | |
| 346 | 346 | .name = "fraps", |
| 347 | 347 | .long_name = NULL_IF_CONFIG_SMALL("Fraps"), |
| 348 | 348 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -115,7 +115,7 @@ static const AVClass frwu_class = { · 114 unmodified lines | ||
| 115 | 115 | .version = LIBAVUTIL_VERSION_INT, |
| 116 | 116 | }; |
| 117 | 117 | |
| 118 | −AVCodec ff_frwu_decoder = { | |
| 118 | +const AVCodec ff_frwu_decoder = { | |
| 119 | 119 | .name = "frwu", |
| 120 | 120 | .long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"), |
| 121 | 121 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1623,7 +1623,7 @@ static av_cold int g2m_decode_end(AVCodecContext *avctx) · 1622 unmodified lines | ||
| 1623 | 1623 | return 0; |
| 1624 | 1624 | } |
| 1625 | 1625 | |
| 1626 | −AVCodec ff_g2m_decoder = { | |
| 1626 | +const AVCodec ff_g2m_decoder = { | |
| 1627 | 1627 | .name = "g2m", |
| 1628 | 1628 | .long_name = NULL_IF_CONFIG_SMALL("Go2Meeting"), |
| 1629 | 1629 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -139,7 +139,7 @@ static int g722_decode_frame(AVCodecContext *avctx, void *data, · 138 unmodified lines | ||
| 139 | 139 | return avpkt->size; |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | −AVCodec ff_adpcm_g722_decoder = { | |
| 142 | +const AVCodec ff_adpcm_g722_decoder = { | |
| 143 | 143 | .name = "g722", |
| 144 | 144 | .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"), |
| 145 | 145 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -368,7 +368,7 @@ static int g722_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 367 unmodified lines | ||
| 368 | 368 | return 0; |
| 369 | 369 | } |
| 370 | 370 | |
| 371 | −AVCodec ff_adpcm_g722_encoder = { | |
| 371 | +const AVCodec ff_adpcm_g722_encoder = { | |
| 372 | 372 | .name = "g722", |
| 373 | 373 | .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"), |
| 374 | 374 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1110,7 +1110,7 @@ static const AVClass g723_1dec_class = { · 1109 unmodified lines | ||
| 1110 | 1110 | .version = LIBAVUTIL_VERSION_INT, |
| 1111 | 1111 | }; |
| 1112 | 1112 | |
| 1113 | −AVCodec ff_g723_1_decoder = { | |
| 1113 | +const AVCodec ff_g723_1_decoder = { | |
| 1114 | 1114 | .name = "g723_1", |
| 1115 | 1115 | .long_name = NULL_IF_CONFIG_SMALL("G.723.1"), |
| 1116 | 1116 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1244,7 +1244,7 @@ static const AVCodecDefault defaults[] = { · 1243 unmodified lines | ||
| 1244 | 1244 | { NULL }, |
| 1245 | 1245 | }; |
| 1246 | 1246 | |
| 1247 | −AVCodec ff_g723_1_encoder = { | |
| 1247 | +const AVCodec ff_g723_1_encoder = { | |
| 1248 | 1248 | .name = "g723_1", |
| 1249 | 1249 | .long_name = NULL_IF_CONFIG_SMALL("G.723.1"), |
| 1250 | 1250 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -396,7 +396,7 @@ static const AVClass g726_class = { · 395 unmodified lines | ||
| 396 | 396 | .version = LIBAVUTIL_VERSION_INT, |
| 397 | 397 | }; |
| 398 | 398 | |
| 399 | −AVCodec ff_adpcm_g726_encoder = { | |
| 399 | +const AVCodec ff_adpcm_g726_encoder = { | |
| 400 | 400 | .name = "g726", |
| 401 | 401 | .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), |
| 402 | 402 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -420,7 +420,7 @@ static const AVClass g726le_class = { · 17 unmodified lines | ||
| 420 | 420 | .version = LIBAVUTIL_VERSION_INT, |
| 421 | 421 | }; |
| 422 | 422 | |
| 423 | −AVCodec ff_adpcm_g726le_encoder = { | |
| 423 | +const AVCodec ff_adpcm_g726le_encoder = { | |
| 424 | 424 | .name = "g726le", |
| 425 | 425 | .long_name = NULL_IF_CONFIG_SMALL("G.726 little endian ADPCM (\"right-justified\")"), |
| 426 | 426 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -504,7 +504,7 @@ static void g726_decode_flush(AVCodecContext *avctx) · 77 unmodified lines | ||
| 504 | 504 | #endif |
| 505 | 505 | |
| 506 | 506 | #if CONFIG_ADPCM_G726_DECODER |
| 507 | −AVCodec ff_adpcm_g726_decoder = { | |
| 507 | +const AVCodec ff_adpcm_g726_decoder = { | |
| 508 | 508 | .name = "g726", |
| 509 | 509 | .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), |
| 510 | 510 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -518,7 +518,7 @@ AVCodec ff_adpcm_g726_decoder = { · 7 unmodified lines | ||
| 518 | 518 | #endif |
| 519 | 519 | |
| 520 | 520 | #if CONFIG_ADPCM_G726LE_DECODER |
| 521 | −AVCodec ff_adpcm_g726le_decoder = { | |
| 521 | +const AVCodec ff_adpcm_g726le_decoder = { | |
| 522 | 522 | .name = "g726le", |
| 523 | 523 | .type = AVMEDIA_TYPE_AUDIO, |
| 524 | 524 | .id = AV_CODEC_ID_ADPCM_G726LE, |
| @@ -750,7 +750,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 749 unmodified lines | ||
| 750 | 750 | return 0; |
| 751 | 751 | } |
| 752 | 752 | |
| 753 | −AVCodec ff_g729_decoder = { | |
| 753 | +const AVCodec ff_g729_decoder = { | |
| 754 | 754 | .name = "g729", |
| 755 | 755 | .long_name = NULL_IF_CONFIG_SMALL("G.729"), |
| 756 | 756 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -762,7 +762,7 @@ AVCodec ff_g729_decoder = { · 5 unmodified lines | ||
| 762 | 762 | .capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1, |
| 763 | 763 | }; |
| 764 | 764 | |
| 765 | −AVCodec ff_acelp_kelvin_decoder = { | |
| 765 | +const AVCodec ff_acelp_kelvin_decoder = { | |
| 766 | 766 | .name = "acelp.kelvin", |
| 767 | 767 | .long_name = NULL_IF_CONFIG_SMALL("Sipro ACELP.KELVIN"), |
| 768 | 768 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -560,7 +560,7 @@ static av_cold int gdv_decode_close(AVCodecContext *avctx) · 559 unmodified lines | ||
| 560 | 560 | return 0; |
| 561 | 561 | } |
| 562 | 562 | |
| 563 | −AVCodec ff_gdv_decoder = { | |
| 563 | +const AVCodec ff_gdv_decoder = { | |
| 564 | 564 | .name = "gdv", |
| 565 | 565 | .long_name = NULL_IF_CONFIG_SMALL("Gremlin Digital Video"), |
| 566 | 566 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -551,7 +551,7 @@ static const AVClass gif_class = { · 550 unmodified lines | ||
| 551 | 551 | .version = LIBAVUTIL_VERSION_INT, |
| 552 | 552 | }; |
| 553 | 553 | |
| 554 | −AVCodec ff_gif_encoder = { | |
| 554 | +const AVCodec ff_gif_encoder = { | |
| 555 | 555 | .name = "gif", |
| 556 | 556 | .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), |
| 557 | 557 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -554,7 +554,7 @@ static const AVClass decoder_class = { · 553 unmodified lines | ||
| 554 | 554 | .category = AV_CLASS_CATEGORY_DECODER, |
| 555 | 555 | }; |
| 556 | 556 | |
| 557 | −AVCodec ff_gif_decoder = { | |
| 557 | +const AVCodec ff_gif_decoder = { | |
| 558 | 558 | .name = "gif", |
| 559 | 559 | .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), |
| 560 | 560 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -111,7 +111,7 @@ static void gsm_flush(AVCodecContext *avctx) · 110 unmodified lines | ||
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | #if CONFIG_GSM_DECODER |
| 114 | −AVCodec ff_gsm_decoder = { | |
| 114 | +const AVCodec ff_gsm_decoder = { | |
| 115 | 115 | .name = "gsm", |
| 116 | 116 | .long_name = NULL_IF_CONFIG_SMALL("GSM"), |
| 117 | 117 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -124,7 +124,7 @@ AVCodec ff_gsm_decoder = { · 6 unmodified lines | ||
| 124 | 124 | }; |
| 125 | 125 | #endif |
| 126 | 126 | #if CONFIG_GSM_MS_DECODER |
| 127 | −AVCodec ff_gsm_ms_decoder = { | |
| 127 | +const AVCodec ff_gsm_ms_decoder = { | |
| 128 | 128 | .name = "gsm_ms", |
| 129 | 129 | .long_name = NULL_IF_CONFIG_SMALL("GSM Microsoft variant"), |
| 130 | 130 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -665,7 +665,7 @@ static av_cold int h261_decode_end(AVCodecContext *avctx) · 664 unmodified lines | ||
| 665 | 665 | return 0; |
| 666 | 666 | } |
| 667 | 667 | |
| 668 | −AVCodec ff_h261_decoder = { | |
| 668 | +const AVCodec ff_h261_decoder = { | |
| 669 | 669 | .name = "h261", |
| 670 | 670 | .long_name = NULL_IF_CONFIG_SMALL("H.261"), |
| 671 | 671 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -392,7 +392,7 @@ static const AVClass h261_class = { · 391 unmodified lines | ||
| 392 | 392 | .version = LIBAVUTIL_VERSION_INT, |
| 393 | 393 | }; |
| 394 | 394 | |
| 395 | −AVCodec ff_h261_encoder = { | |
| 395 | +const AVCodec ff_h261_encoder = { | |
| 396 | 396 | .name = "h261", |
| 397 | 397 | .long_name = NULL_IF_CONFIG_SMALL("H.261"), |
| 398 | 398 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -759,7 +759,7 @@ const AVCodecHWConfigInternal *const ff_h263_hw_config_list[] = { · 758 unmodified lines | ||
| 759 | 759 | NULL |
| 760 | 760 | }; |
| 761 | 761 | |
| 762 | −AVCodec ff_h263_decoder = { | |
| 762 | +const AVCodec ff_h263_decoder = { | |
| 763 | 763 | .name = "h263", |
| 764 | 764 | .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"), |
| 765 | 765 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -777,7 +777,7 @@ AVCodec ff_h263_decoder = { · 11 unmodified lines | ||
| 777 | 777 | .hw_configs = ff_h263_hw_config_list, |
| 778 | 778 | }; |
| 779 | 779 | |
| 780 | −AVCodec ff_h263p_decoder = { | |
| 780 | +const AVCodec ff_h263p_decoder = { | |
| 781 | 781 | .name = "h263p", |
| 782 | 782 | .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"), |
| 783 | 783 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1043,7 +1043,7 @@ static const AVClass h264_class = { · 1042 unmodified lines | ||
| 1043 | 1043 | .version = LIBAVUTIL_VERSION_INT, |
| 1044 | 1044 | }; |
| 1045 | 1045 | |
| 1046 | −AVCodec ff_h264_decoder = { | |
| 1046 | +const AVCodec ff_h264_decoder = { | |
| 1047 | 1047 | .name = "h264", |
| 1048 | 1048 | .long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"), |
| 1049 | 1049 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -478,7 +478,7 @@ static av_cold int hap_close(AVCodecContext *avctx) · 477 unmodified lines | ||
| 478 | 478 | return 0; |
| 479 | 479 | } |
| 480 | 480 | |
| 481 | −AVCodec ff_hap_decoder = { | |
| 481 | +const AVCodec ff_hap_decoder = { | |
| 482 | 482 | .name = "hap", |
| 483 | 483 | .long_name = NULL_IF_CONFIG_SMALL("Vidvox Hap"), |
| 484 | 484 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -349,7 +349,7 @@ static const AVClass hapenc_class = { · 348 unmodified lines | ||
| 349 | 349 | .version = LIBAVUTIL_VERSION_INT, |
| 350 | 350 | }; |
| 351 | 351 | |
| 352 | −AVCodec ff_hap_encoder = { | |
| 352 | +const AVCodec ff_hap_encoder = { | |
| 353 | 353 | .name = "hap", |
| 354 | 354 | .long_name = NULL_IF_CONFIG_SMALL("Vidvox Hap"), |
| 355 | 355 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -445,7 +445,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 444 unmodified lines | ||
| 445 | 445 | return 0; |
| 446 | 446 | } |
| 447 | 447 | |
| 448 | −AVCodec ff_hca_decoder = { | |
| 448 | +const AVCodec ff_hca_decoder = { | |
| 449 | 449 | .name = "hca", |
| 450 | 450 | .long_name = NULL_IF_CONFIG_SMALL("CRI HCA"), |
| 451 | 451 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -134,7 +134,7 @@ static av_cold int hcom_close(AVCodecContext *avctx) · 133 unmodified lines | ||
| 134 | 134 | return 0; |
| 135 | 135 | } |
| 136 | 136 | |
| 137 | −AVCodec ff_hcom_decoder = { | |
| 137 | +const AVCodec ff_hcom_decoder = { | |
| 138 | 138 | .name = "hcom", |
| 139 | 139 | .long_name = NULL_IF_CONFIG_SMALL("HCOM Audio"), |
| 140 | 140 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -3667,7 +3667,7 @@ static const AVClass hevc_decoder_class = { · 3666 unmodified lines | ||
| 3667 | 3667 | .version = LIBAVUTIL_VERSION_INT, |
| 3668 | 3668 | }; |
| 3669 | 3669 | |
| 3670 | −AVCodec ff_hevc_decoder = { | |
| 3670 | +const AVCodec ff_hevc_decoder = { | |
| 3671 | 3671 | .name = "hevc", |
| 3672 | 3672 | .long_name = NULL_IF_CONFIG_SMALL("HEVC (High Efficiency Video Coding)"), |
| 3673 | 3673 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -497,7 +497,7 @@ static av_cold int hnm_decode_end(AVCodecContext *avctx) · 496 unmodified lines | ||
| 497 | 497 | return 0; |
| 498 | 498 | } |
| 499 | 499 | |
| 500 | −AVCodec ff_hnm4_video_decoder = { | |
| 500 | +const AVCodec ff_hnm4_video_decoder = { | |
| 501 | 501 | .name = "hnm4video", |
| 502 | 502 | .long_name = NULL_IF_CONFIG_SMALL("HNM 4 video"), |
| 503 | 503 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -381,7 +381,7 @@ static av_cold int hq_hqa_decode_close(AVCodecContext *avctx) · 380 unmodified lines | ||
| 381 | 381 | return 0; |
| 382 | 382 | } |
| 383 | 383 | |
| 384 | −AVCodec ff_hq_hqa_decoder = { | |
| 384 | +const AVCodec ff_hq_hqa_decoder = { | |
| 385 | 385 | .name = "hq_hqa", |
| 386 | 386 | .long_name = NULL_IF_CONFIG_SMALL("Canopus HQ/HQA"), |
| 387 | 387 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -535,7 +535,7 @@ static av_cold int hqx_decode_init(AVCodecContext *avctx) · 534 unmodified lines | ||
| 535 | 535 | return ff_hqx_init_vlcs(ctx); |
| 536 | 536 | } |
| 537 | 537 | |
| 538 | −AVCodec ff_hqx_decoder = { | |
| 538 | +const AVCodec ff_hqx_decoder = { | |
| 539 | 539 | .name = "hqx", |
| 540 | 540 | .long_name = NULL_IF_CONFIG_SMALL("Canopus HQX"), |
| 541 | 541 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1270,7 +1270,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 1269 unmodified lines | ||
| 1270 | 1270 | return (get_bits_count(&s->gb) + 31) / 32 * 4 + table_size; |
| 1271 | 1271 | } |
| 1272 | 1272 | |
| 1273 | −AVCodec ff_huffyuv_decoder = { | |
| 1273 | +const AVCodec ff_huffyuv_decoder = { | |
| 1274 | 1274 | .name = "huffyuv", |
| 1275 | 1275 | .long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"), |
| 1276 | 1276 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1284,7 +1284,7 @@ AVCodec ff_huffyuv_decoder = { · 7 unmodified lines | ||
| 1284 | 1284 | }; |
| 1285 | 1285 | |
| 1286 | 1286 | #if CONFIG_FFVHUFF_DECODER |
| 1287 | −AVCodec ff_ffvhuff_decoder = { | |
| 1287 | +const AVCodec ff_ffvhuff_decoder = { | |
| 1288 | 1288 | .name = "ffvhuff", |
| 1289 | 1289 | .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"), |
| 1290 | 1290 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1299,7 +1299,7 @@ AVCodec ff_ffvhuff_decoder = { · 8 unmodified lines | ||
| 1299 | 1299 | #endif /* CONFIG_FFVHUFF_DECODER */ |
| 1300 | 1300 | |
| 1301 | 1301 | #if CONFIG_HYMT_DECODER |
| 1302 | −AVCodec ff_hymt_decoder = { | |
| 1302 | +const AVCodec ff_hymt_decoder = { | |
| 1303 | 1303 | .name = "hymt", |
| 1304 | 1304 | .long_name = NULL_IF_CONFIG_SMALL("HuffYUV MT"), |
| 1305 | 1305 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1048,7 +1048,7 @@ static const AVClass ff_class = { · 1047 unmodified lines | ||
| 1048 | 1048 | .version = LIBAVUTIL_VERSION_INT, |
| 1049 | 1049 | }; |
| 1050 | 1050 | |
| 1051 | −AVCodec ff_huffyuv_encoder = { | |
| 1051 | +const AVCodec ff_huffyuv_encoder = { | |
| 1052 | 1052 | .name = "huffyuv", |
| 1053 | 1053 | .long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"), |
| 1054 | 1054 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1068,7 +1068,7 @@ AVCodec ff_huffyuv_encoder = { · 13 unmodified lines | ||
| 1068 | 1068 | }; |
| 1069 | 1069 | |
| 1070 | 1070 | #if CONFIG_FFVHUFF_ENCODER |
| 1071 | −AVCodec ff_ffvhuff_encoder = { | |
| 1071 | +const AVCodec ff_ffvhuff_encoder = { | |
| 1072 | 1072 | .name = "ffvhuff", |
| 1073 | 1073 | .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"), |
| 1074 | 1074 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -242,7 +242,7 @@ static const AVCodecDefault idcin_defaults[] = { · 241 unmodified lines | ||
| 242 | 242 | { NULL }, |
| 243 | 243 | }; |
| 244 | 244 | |
| 245 | −AVCodec ff_idcin_decoder = { | |
| 245 | +const AVCodec ff_idcin_decoder = { | |
| 246 | 246 | .name = "idcinvideo", |
| 247 | 247 | .long_name = NULL_IF_CONFIG_SMALL("id Quake II CIN video"), |
| 248 | 248 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1903,7 +1903,7 @@ static int decode_frame(AVCodecContext *avctx, · 1902 unmodified lines | ||
| 1903 | 1903 | } |
| 1904 | 1904 | |
| 1905 | 1905 | #if CONFIG_IFF_ILBM_DECODER |
| 1906 | −AVCodec ff_iff_ilbm_decoder = { | |
| 1906 | +const AVCodec ff_iff_ilbm_decoder = { | |
| 1907 | 1907 | .name = "iff", |
| 1908 | 1908 | .long_name = NULL_IF_CONFIG_SMALL("IFF ACBM/ANIM/DEEP/ILBM/PBM/RGB8/RGBN"), |
| 1909 | 1909 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1477,7 +1477,7 @@ static av_cold int ilbc_decode_init(AVCodecContext *avctx) · 1476 unmodified lines | ||
| 1477 | 1477 | return 0; |
| 1478 | 1478 | } |
| 1479 | 1479 | |
| 1480 | −AVCodec ff_ilbc_decoder = { | |
| 1480 | +const AVCodec ff_ilbc_decoder = { | |
| 1481 | 1481 | .name = "ilbc", |
| 1482 | 1482 | .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"), |
| 1483 | 1483 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1084,7 +1084,7 @@ static av_cold void flush(AVCodecContext *avctx) · 1083 unmodified lines | ||
| 1084 | 1084 | } |
| 1085 | 1085 | |
| 1086 | 1086 | #if CONFIG_IMC_DECODER |
| 1087 | −AVCodec ff_imc_decoder = { | |
| 1087 | +const AVCodec ff_imc_decoder = { | |
| 1088 | 1088 | .name = "imc", |
| 1089 | 1089 | .long_name = NULL_IF_CONFIG_SMALL("IMC (Intel Music Coder)"), |
| 1090 | 1090 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1101,7 +1101,7 @@ AVCodec ff_imc_decoder = { · 10 unmodified lines | ||
| 1101 | 1101 | }; |
| 1102 | 1102 | #endif |
| 1103 | 1103 | #if CONFIG_IAC_DECODER |
| 1104 | −AVCodec ff_iac_decoder = { | |
| 1104 | +const AVCodec ff_iac_decoder = { | |
| 1105 | 1105 | .name = "iac", |
| 1106 | 1106 | .long_name = NULL_IF_CONFIG_SMALL("IAC (Indeo Audio Coder)"), |
| 1107 | 1107 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -532,7 +532,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 531 unmodified lines | ||
| 532 | 532 | return 0; |
| 533 | 533 | } |
| 534 | 534 | |
| 535 | −AVCodec ff_imm4_decoder = { | |
| 535 | +const AVCodec ff_imm4_decoder = { | |
| 536 | 536 | .name = "imm4", |
| 537 | 537 | .long_name = NULL_IF_CONFIG_SMALL("Infinity IMM4"), |
| 538 | 538 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -178,7 +178,7 @@ static av_cold int imm5_close(AVCodecContext *avctx) · 177 unmodified lines | ||
| 178 | 178 | return 0; |
| 179 | 179 | } |
| 180 | 180 | |
| 181 | −AVCodec ff_imm5_decoder = { | |
| 181 | +const AVCodec ff_imm5_decoder = { | |
| 182 | 182 | .name = "imm5", |
| 183 | 183 | .long_name = NULL_IF_CONFIG_SMALL("Infinity IMM5"), |
| 184 | 184 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -179,7 +179,7 @@ static int imx_decode_close(AVCodecContext *avctx) · 178 unmodified lines | ||
| 179 | 179 | return 0; |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | −AVCodec ff_simbiosis_imx_decoder = { | |
| 182 | +const AVCodec ff_simbiosis_imx_decoder = { | |
| 183 | 183 | .name = "simbiosis_imx", |
| 184 | 184 | .long_name = NULL_IF_CONFIG_SMALL("Simbiosis Interactive IMX Video"), |
| 185 | 185 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -260,7 +260,7 @@ static av_cold int ir2_decode_end(AVCodecContext *avctx) · 259 unmodified lines | ||
| 260 | 260 | return 0; |
| 261 | 261 | } |
| 262 | 262 | |
| 263 | −AVCodec ff_indeo2_decoder = { | |
| 263 | +const AVCodec ff_indeo2_decoder = { | |
| 264 | 264 | .name = "indeo2", |
| 265 | 265 | .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"), |
| 266 | 266 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1131,7 +1131,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 1130 unmodified lines | ||
| 1131 | 1131 | return 0; |
| 1132 | 1132 | } |
| 1133 | 1133 | |
| 1134 | −AVCodec ff_indeo3_decoder = { | |
| 1134 | +const AVCodec ff_indeo3_decoder = { | |
| 1135 | 1135 | .name = "indeo3", |
| 1136 | 1136 | .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 3"), |
| 1137 | 1137 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -703,7 +703,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 702 unmodified lines | ||
| 703 | 703 | } |
| 704 | 704 | |
| 705 | 705 | |
| 706 | −AVCodec ff_indeo4_decoder = { | |
| 706 | +const AVCodec ff_indeo4_decoder = { | |
| 707 | 707 | .name = "indeo4", |
| 708 | 708 | .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 4"), |
| 709 | 709 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -683,7 +683,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 682 unmodified lines | ||
| 683 | 683 | return 0; |
| 684 | 684 | } |
| 685 | 685 | |
| 686 | −AVCodec ff_indeo5_decoder = { | |
| 686 | +const AVCodec ff_indeo5_decoder = { | |
| 687 | 687 | .name = "indeo5", |
| 688 | 688 | .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 5"), |
| 689 | 689 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -128,7 +128,7 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s) · 127 unmodified lines | ||
| 128 | 128 | return 0; |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | −AVCodec ff_h263i_decoder = { | |
| 131 | +const AVCodec ff_h263i_decoder = { | |
| 132 | 132 | .name = "h263i", |
| 133 | 133 | .long_name = NULL_IF_CONFIG_SMALL("Intel H.263"), |
| 134 | 134 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -621,7 +621,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 620 unmodified lines | ||
| 621 | 621 | return 0; |
| 622 | 622 | } |
| 623 | 623 | |
| 624 | −AVCodec ff_interplay_acm_decoder = { | |
| 624 | +const AVCodec ff_interplay_acm_decoder = { | |
| 625 | 625 | .name = "interplayacm", |
| 626 | 626 | .long_name = NULL_IF_CONFIG_SMALL("Interplay ACM"), |
| 627 | 627 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1357,7 +1357,7 @@ static av_cold int ipvideo_decode_end(AVCodecContext *avctx) · 1356 unmodified lines | ||
| 1357 | 1357 | return 0; |
| 1358 | 1358 | } |
| 1359 | 1359 | |
| 1360 | −AVCodec ff_interplay_video_decoder = { | |
| 1360 | +const AVCodec ff_interplay_video_decoder = { | |
| 1361 | 1361 | .name = "interplayvideo", |
| 1362 | 1362 | .long_name = NULL_IF_CONFIG_SMALL("Interplay MVE video"), |
| 1363 | 1363 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1832,7 +1832,7 @@ static const AVClass j2k_class = { · 1831 unmodified lines | ||
| 1832 | 1832 | .version = LIBAVUTIL_VERSION_INT, |
| 1833 | 1833 | }; |
| 1834 | 1834 | |
| 1835 | −AVCodec ff_jpeg2000_encoder = { | |
| 1835 | +const AVCodec ff_jpeg2000_encoder = { | |
| 1836 | 1836 | .name = "jpeg2000", |
| 1837 | 1837 | .long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"), |
| 1838 | 1838 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -193,7 +193,7 @@ end: · 192 unmodified lines | ||
| 193 | 193 | return avpkt->size; |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | −AVCodec ff_jacosub_decoder = { | |
| 196 | +const AVCodec ff_jacosub_decoder = { | |
| 197 | 197 | .name = "jacosub", |
| 198 | 198 | .long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle"), |
| 199 | 199 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -2578,7 +2578,7 @@ static const AVClass jpeg2000_class = { · 2577 unmodified lines | ||
| 2578 | 2578 | .version = LIBAVUTIL_VERSION_INT, |
| 2579 | 2579 | }; |
| 2580 | 2580 | |
| 2581 | −AVCodec ff_jpeg2000_decoder = { | |
| 2581 | +const AVCodec ff_jpeg2000_decoder = { | |
| 2582 | 2582 | .name = "jpeg2000", |
| 2583 | 2583 | .long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"), |
| 2584 | 2584 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -542,7 +542,7 @@ end: · 541 unmodified lines | ||
| 542 | 542 | return ret; |
| 543 | 543 | } |
| 544 | 544 | |
| 545 | −AVCodec ff_jpegls_decoder = { | |
| 545 | +const AVCodec ff_jpegls_decoder = { | |
| 546 | 546 | .name = "jpegls", |
| 547 | 547 | .long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"), |
| 548 | 548 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -431,7 +431,7 @@ static const AVClass jpegls_class = { · 430 unmodified lines | ||
| 431 | 431 | .version = LIBAVUTIL_VERSION_INT, |
| 432 | 432 | }; |
| 433 | 433 | |
| 434 | −AVCodec ff_jpegls_encoder = { | |
| 434 | +const AVCodec ff_jpegls_encoder = { | |
| 435 | 435 | .name = "jpegls", |
| 436 | 436 | .long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"), |
| 437 | 437 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -233,7 +233,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 232 unmodified lines | ||
| 233 | 233 | return 0; |
| 234 | 234 | } |
| 235 | 235 | |
| 236 | −AVCodec ff_jv_decoder = { | |
| 236 | +const AVCodec ff_jv_decoder = { | |
| 237 | 237 | .name = "jv", |
| 238 | 238 | .long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV video"), |
| 239 | 239 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -176,7 +176,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 175 unmodified lines | ||
| 176 | 176 | return 0; |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | −AVCodec ff_kgv1_decoder = { | |
| 179 | +const AVCodec ff_kgv1_decoder = { | |
| 180 | 180 | .name = "kgv1", |
| 181 | 181 | .long_name = NULL_IF_CONFIG_SMALL("Kega Game Video"), |
| 182 | 182 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -404,7 +404,7 @@ static av_cold int decode_init(AVCodecContext * avctx) · 403 unmodified lines | ||
| 404 | 404 | return 0; |
| 405 | 405 | } |
| 406 | 406 | |
| 407 | −AVCodec ff_kmvc_decoder = { | |
| 407 | +const AVCodec ff_kmvc_decoder = { | |
| 408 | 408 | .name = "kmvc", |
| 409 | 409 | .long_name = NULL_IF_CONFIG_SMALL("Karl Morton's video codec"), |
| 410 | 410 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -712,7 +712,7 @@ static av_cold int lag_decode_init(AVCodecContext *avctx) · 711 unmodified lines | ||
| 712 | 712 | return 0; |
| 713 | 713 | } |
| 714 | 714 | |
| 715 | −AVCodec ff_lagarith_decoder = { | |
| 715 | +const AVCodec ff_lagarith_decoder = { | |
| 716 | 716 | .name = "lagarith", |
| 717 | 717 | .long_name = NULL_IF_CONFIG_SMALL("Lagarith lossless"), |
| 718 | 718 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -638,7 +638,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 637 unmodified lines | ||
| 638 | 638 | } |
| 639 | 639 | |
| 640 | 640 | #if CONFIG_MSZH_DECODER |
| 641 | −AVCodec ff_mszh_decoder = { | |
| 641 | +const AVCodec ff_mszh_decoder = { | |
| 642 | 642 | .name = "mszh", |
| 643 | 643 | .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) MSZH"), |
| 644 | 644 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -653,7 +653,7 @@ AVCodec ff_mszh_decoder = { · 8 unmodified lines | ||
| 653 | 653 | #endif |
| 654 | 654 | |
| 655 | 655 | #if CONFIG_ZLIB_DECODER |
| 656 | −AVCodec ff_zlib_decoder = { | |
| 656 | +const AVCodec ff_zlib_decoder = { | |
| 657 | 657 | .name = "zlib", |
| 658 | 658 | .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) ZLIB"), |
| 659 | 659 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -160,7 +160,7 @@ static av_cold int encode_end(AVCodecContext *avctx) · 159 unmodified lines | ||
| 160 | 160 | return 0; |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | −AVCodec ff_zlib_encoder = { | |
| 163 | +const AVCodec ff_zlib_encoder = { | |
| 164 | 164 | .name = "zlib", |
| 165 | 165 | .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) ZLIB"), |
| 166 | 166 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -243,7 +243,7 @@ static av_cold int av1_init(AVCodecContext *avctx) · 242 unmodified lines | ||
| 243 | 243 | return aom_init(avctx, &aom_codec_av1_dx_algo); |
| 244 | 244 | } |
| 245 | 245 | |
| 246 | −AVCodec ff_libaom_av1_decoder = { | |
| 246 | +const AVCodec ff_libaom_av1_decoder = { | |
| 247 | 247 | .name = "libaom-av1", |
| 248 | 248 | .long_name = NULL_IF_CONFIG_SMALL("libaom AV1"), |
| 249 | 249 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -380,7 +380,7 @@ static const AVClass aribb24_class = { · 379 unmodified lines | ||
| 380 | 380 | .version = LIBAVUTIL_VERSION_INT, |
| 381 | 381 | }; |
| 382 | 382 | |
| 383 | −AVCodec ff_libaribb24_decoder = { | |
| 383 | +const AVCodec ff_libaribb24_decoder = { | |
| 384 | 384 | .name = "libaribb24", |
| 385 | 385 | .long_name = NULL_IF_CONFIG_SMALL("libaribb24 ARIB STD-B24 caption decoder"), |
| 386 | 386 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -127,7 +127,7 @@ static int libcelt_dec_decode(AVCodecContext *c, void *data, · 126 unmodified lines | ||
| 127 | 127 | return pkt->size; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | −AVCodec ff_libcelt_decoder = { | |
| 130 | +const AVCodec ff_libcelt_decoder = { | |
| 131 | 131 | .name = "libcelt", |
| 132 | 132 | .long_name = NULL_IF_CONFIG_SMALL("Xiph CELT decoder using libcelt"), |
| 133 | 133 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -180,7 +180,7 @@ static int libcodec2_encode(AVCodecContext *avctx, AVPacket *avpkt, · 179 unmodified lines | ||
| 180 | 180 | return 0; |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | −AVCodec ff_libcodec2_decoder = { | |
| 183 | +const AVCodec ff_libcodec2_decoder = { | |
| 184 | 184 | .name = "libcodec2", |
| 185 | 185 | .long_name = NULL_IF_CONFIG_SMALL("codec2 decoder using libcodec2"), |
| 186 | 186 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -196,7 +196,7 @@ AVCodec ff_libcodec2_decoder = { · 9 unmodified lines | ||
| 196 | 196 | .priv_class = &libcodec2_dec_class, |
| 197 | 197 | }; |
| 198 | 198 | |
| 199 | −AVCodec ff_libcodec2_encoder = { | |
| 199 | +const AVCodec ff_libcodec2_encoder = { | |
| 200 | 200 | .name = "libcodec2", |
| 201 | 201 | .long_name = NULL_IF_CONFIG_SMALL("codec2 encoder using libcodec2"), |
| 202 | 202 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -469,7 +469,7 @@ static const AVClass libdav1d_class = { · 468 unmodified lines | ||
| 469 | 469 | .version = LIBAVUTIL_VERSION_INT, |
| 470 | 470 | }; |
| 471 | 471 | |
| 472 | −AVCodec ff_libdav1d_decoder = { | |
| 472 | +const AVCodec ff_libdav1d_decoder = { | |
| 473 | 473 | .name = "libdav1d", |
| 474 | 474 | .long_name = NULL_IF_CONFIG_SMALL("dav1d AV1 decoder by VideoLAN"), |
| 475 | 475 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -212,7 +212,7 @@ static int davs2_decode_frame(AVCodecContext *avctx, void *data, · 211 unmodified lines | ||
| 212 | 212 | return ret == 0 ? buf_size : ret; |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | −AVCodec ff_libdavs2_decoder = { | |
| 215 | +const AVCodec ff_libdavs2_decoder = { | |
| 216 | 216 | .name = "libdavs2", |
| 217 | 217 | .long_name = NULL_IF_CONFIG_SMALL("libdavs2 AVS2-P2/IEEE1857.4"), |
| 218 | 218 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -408,7 +408,7 @@ static av_cold void fdk_aac_decode_flush(AVCodecContext *avctx) · 407 unmodified lines | ||
| 408 | 408 | av_log(avctx, AV_LOG_WARNING, "failed to clear buffer when flushing\n"); |
| 409 | 409 | } |
| 410 | 410 | |
| 411 | −AVCodec ff_libfdk_aac_decoder = { | |
| 411 | +const AVCodec ff_libfdk_aac_decoder = { | |
| 412 | 412 | .name = "libfdk_aac", |
| 413 | 413 | .long_name = NULL_IF_CONFIG_SMALL("Fraunhofer FDK AAC"), |
| 414 | 414 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -458,7 +458,7 @@ static const int aac_sample_rates[] = { · 457 unmodified lines | ||
| 458 | 458 | 24000, 22050, 16000, 12000, 11025, 8000, 0 |
| 459 | 459 | }; |
| 460 | 460 | |
| 461 | −AVCodec ff_libfdk_aac_encoder = { | |
| 461 | +const AVCodec ff_libfdk_aac_encoder = { | |
| 462 | 462 | .name = "libfdk_aac", |
| 463 | 463 | .long_name = NULL_IF_CONFIG_SMALL("Fraunhofer FDK AAC"), |
| 464 | 464 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -124,7 +124,7 @@ static void libgsm_flush(AVCodecContext *avctx) { · 123 unmodified lines | ||
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | #if CONFIG_LIBGSM_DECODER |
| 127 | −AVCodec ff_libgsm_decoder = { | |
| 127 | +const AVCodec ff_libgsm_decoder = { | |
| 128 | 128 | .name = "libgsm", |
| 129 | 129 | .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"), |
| 130 | 130 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -139,7 +139,7 @@ AVCodec ff_libgsm_decoder = { · 8 unmodified lines | ||
| 139 | 139 | }; |
| 140 | 140 | #endif |
| 141 | 141 | #if CONFIG_LIBGSM_MS_DECODER |
| 142 | −AVCodec ff_libgsm_ms_decoder = { | |
| 142 | +const AVCodec ff_libgsm_ms_decoder = { | |
| 143 | 143 | .name = "libgsm_ms", |
| 144 | 144 | .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM Microsoft variant"), |
| 145 | 145 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -120,7 +120,7 @@ static const AVCodecDefault libgsm_defaults[] = { · 119 unmodified lines | ||
| 120 | 120 | }; |
| 121 | 121 | |
| 122 | 122 | #if CONFIG_LIBGSM_ENCODER |
| 123 | −AVCodec ff_libgsm_encoder = { | |
| 123 | +const AVCodec ff_libgsm_encoder = { | |
| 124 | 124 | .name = "libgsm", |
| 125 | 125 | .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"), |
| 126 | 126 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -136,7 +136,7 @@ AVCodec ff_libgsm_encoder = { · 9 unmodified lines | ||
| 136 | 136 | }; |
| 137 | 137 | #endif |
| 138 | 138 | #if CONFIG_LIBGSM_MS_ENCODER |
| 139 | −AVCodec ff_libgsm_ms_encoder = { | |
| 139 | +const AVCodec ff_libgsm_ms_encoder = { | |
| 140 | 140 | .name = "libgsm_ms", |
| 141 | 141 | .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM Microsoft variant"), |
| 142 | 142 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -116,7 +116,7 @@ static int ilbc_decode_frame(AVCodecContext *avctx, void *data, · 115 unmodified lines | ||
| 116 | 116 | return s->decoder.no_of_bytes; |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | −AVCodec ff_libilbc_decoder = { | |
| 119 | +const AVCodec ff_libilbc_decoder = { | |
| 120 | 120 | .name = "libilbc", |
| 121 | 121 | .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"), |
| 122 | 122 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -198,7 +198,7 @@ static const AVCodecDefault ilbc_encode_defaults[] = { · 75 unmodified lines | ||
| 198 | 198 | { NULL } |
| 199 | 199 | }; |
| 200 | 200 | |
| 201 | −AVCodec ff_libilbc_encoder = { | |
| 201 | +const AVCodec ff_libilbc_encoder = { | |
| 202 | 202 | .name = "libilbc", |
| 203 | 203 | .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"), |
| 204 | 204 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -314,7 +314,7 @@ static const AVCodecDefault defaults[] = { · 313 unmodified lines | ||
| 314 | 314 | { NULL }, |
| 315 | 315 | }; |
| 316 | 316 | |
| 317 | −AVCodec ff_libkvazaar_encoder = { | |
| 317 | +const AVCodec ff_libkvazaar_encoder = { | |
| 318 | 318 | .name = "libkvazaar", |
| 319 | 319 | .long_name = NULL_IF_CONFIG_SMALL("libkvazaar H.265 / HEVC"), |
| 320 | 320 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -327,7 +327,7 @@ static const int libmp3lame_sample_rates[] = { · 326 unmodified lines | ||
| 327 | 327 | 44100, 48000, 32000, 22050, 24000, 16000, 11025, 12000, 8000, 0 |
| 328 | 328 | }; |
| 329 | 329 | |
| 330 | −AVCodec ff_libmp3lame_encoder = { | |
| 330 | +const AVCodec ff_libmp3lame_encoder = { | |
| 331 | 331 | .name = "libmp3lame", |
| 332 | 332 | .long_name = NULL_IF_CONFIG_SMALL("libmp3lame MP3 (MPEG audio layer 3)"), |
| 333 | 333 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -130,7 +130,7 @@ static int amr_nb_decode_frame(AVCodecContext *avctx, void *data, · 129 unmodified lines | ||
| 130 | 130 | return packet_size; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | −AVCodec ff_libopencore_amrnb_decoder = { | |
| 133 | +const AVCodec ff_libopencore_amrnb_decoder = { | |
| 134 | 134 | .name = "libopencore_amrnb", |
| 135 | 135 | .long_name = NULL_IF_CONFIG_SMALL("OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band)"), |
| 136 | 136 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -285,7 +285,7 @@ static int amr_nb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 148 unmodified lines | ||
| 285 | 285 | return 0; |
| 286 | 286 | } |
| 287 | 287 | |
| 288 | −AVCodec ff_libopencore_amrnb_encoder = { | |
| 288 | +const AVCodec ff_libopencore_amrnb_encoder = { | |
| 289 | 289 | .name = "libopencore_amrnb", |
| 290 | 290 | .long_name = NULL_IF_CONFIG_SMALL("OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band)"), |
| 291 | 291 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -370,7 +370,7 @@ static int amr_wb_decode_close(AVCodecContext *avctx) · 78 unmodified lines | ||
| 370 | 370 | return 0; |
| 371 | 371 | } |
| 372 | 372 | |
| 373 | −AVCodec ff_libopencore_amrwb_decoder = { | |
| 373 | +const AVCodec ff_libopencore_amrwb_decoder = { | |
| 374 | 374 | .name = "libopencore_amrwb", |
| 375 | 375 | .long_name = NULL_IF_CONFIG_SMALL("OpenCORE AMR-WB (Adaptive Multi-Rate Wide-Band)"), |
| 376 | 376 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -155,7 +155,7 @@ static int svc_decode_frame(AVCodecContext *avctx, void *data, · 154 unmodified lines | ||
| 155 | 155 | return avpkt->size; |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | −AVCodec ff_libopenh264_decoder = { | |
| 158 | +const AVCodec ff_libopenh264_decoder = { | |
| 159 | 159 | .name = "libopenh264", |
| 160 | 160 | .long_name = NULL_IF_CONFIG_SMALL("OpenH264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"), |
| 161 | 161 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -428,7 +428,7 @@ static const AVCodecDefault svc_enc_defaults[] = { · 427 unmodified lines | ||
| 428 | 428 | { NULL }, |
| 429 | 429 | }; |
| 430 | 430 | |
| 431 | −AVCodec ff_libopenh264_encoder = { | |
| 431 | +const AVCodec ff_libopenh264_encoder = { | |
| 432 | 432 | .name = "libopenh264", |
| 433 | 433 | .long_name = NULL_IF_CONFIG_SMALL("OpenH264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"), |
| 434 | 434 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -502,7 +502,7 @@ static const AVClass openjpeg_class = { · 501 unmodified lines | ||
| 502 | 502 | .version = LIBAVUTIL_VERSION_INT, |
| 503 | 503 | }; |
| 504 | 504 | |
| 505 | −AVCodec ff_libopenjpeg_decoder = { | |
| 505 | +const AVCodec ff_libopenjpeg_decoder = { | |
| 506 | 506 | .name = "libopenjpeg", |
| 507 | 507 | .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG JPEG 2000"), |
| 508 | 508 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -755,7 +755,7 @@ static const AVClass openjpeg_class = { · 754 unmodified lines | ||
| 755 | 755 | .version = LIBAVUTIL_VERSION_INT, |
| 756 | 756 | }; |
| 757 | 757 | |
| 758 | −AVCodec ff_libopenjpeg_encoder = { | |
| 758 | +const AVCodec ff_libopenjpeg_encoder = { | |
| 759 | 759 | .name = "libopenjpeg", |
| 760 | 760 | .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG JPEG 2000"), |
| 761 | 761 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -225,7 +225,7 @@ static const AVClass libopusdec_class = { · 224 unmodified lines | ||
| 225 | 225 | }; |
| 226 | 226 | |
| 227 | 227 | |
| 228 | −AVCodec ff_libopus_decoder = { | |
| 228 | +const AVCodec ff_libopus_decoder = { | |
| 229 | 229 | .name = "libopus", |
| 230 | 230 | .long_name = NULL_IF_CONFIG_SMALL("libopus Opus"), |
| 231 | 231 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -581,7 +581,7 @@ static const int libopus_sample_rates[] = { · 580 unmodified lines | ||
| 581 | 581 | 48000, 24000, 16000, 12000, 8000, 0, |
| 582 | 582 | }; |
| 583 | 583 | |
| 584 | −AVCodec ff_libopus_encoder = { | |
| 584 | +const AVCodec ff_libopus_encoder = { | |
| 585 | 585 | .name = "libopus", |
| 586 | 586 | .long_name = NULL_IF_CONFIG_SMALL("libopus Opus"), |
| 587 | 587 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -612,7 +612,7 @@ static const AVClass class = { · 611 unmodified lines | ||
| 612 | 612 | .version = LIBAVUTIL_VERSION_INT, |
| 613 | 613 | }; |
| 614 | 614 | |
| 615 | −AVCodec ff_librav1e_encoder = { | |
| 615 | +const AVCodec ff_librav1e_encoder = { | |
| 616 | 616 | .name = "librav1e", |
| 617 | 617 | .long_name = NULL_IF_CONFIG_SMALL("librav1e AV1"), |
| 618 | 618 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -117,7 +117,7 @@ static const AVClass librsvg_decoder_class = { · 116 unmodified lines | ||
| 117 | 117 | .version = LIBAVUTIL_VERSION_INT, |
| 118 | 118 | }; |
| 119 | 119 | |
| 120 | −AVCodec ff_librsvg_decoder = { | |
| 120 | +const AVCodec ff_librsvg_decoder = { | |
| 121 | 121 | .name = "librsvg", |
| 122 | 122 | .long_name = NULL_IF_CONFIG_SMALL("Librsvg rasterizer"), |
| 123 | 123 | .priv_class = &librsvg_decoder_class, |
| @@ -130,7 +130,7 @@ static const int libshine_sample_rates[] = { · 129 unmodified lines | ||
| 130 | 130 | 44100, 48000, 32000, 0 |
| 131 | 131 | }; |
| 132 | 132 | |
| 133 | −AVCodec ff_libshine_encoder = { | |
| 133 | +const AVCodec ff_libshine_encoder = { | |
| 134 | 134 | .name = "libshine", |
| 135 | 135 | .long_name = NULL_IF_CONFIG_SMALL("libshine MP3 (MPEG audio layer 3)"), |
| 136 | 136 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -189,7 +189,7 @@ static av_cold void libspeex_decode_flush(AVCodecContext *avctx) · 188 unmodified lines | ||
| 189 | 189 | speex_bits_reset(&s->bits); |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | −AVCodec ff_libspeex_decoder = { | |
| 192 | +const AVCodec ff_libspeex_decoder = { | |
| 193 | 193 | .name = "libspeex", |
| 194 | 194 | .long_name = NULL_IF_CONFIG_SMALL("libspeex Speex"), |
| 195 | 195 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -347,7 +347,7 @@ static const AVCodecDefault defaults[] = { · 346 unmodified lines | ||
| 347 | 347 | { NULL }, |
| 348 | 348 | }; |
| 349 | 349 | |
| 350 | −AVCodec ff_libspeex_encoder = { | |
| 350 | +const AVCodec ff_libspeex_encoder = { | |
| 351 | 351 | .name = "libspeex", |
| 352 | 352 | .long_name = NULL_IF_CONFIG_SMALL("libspeex Speex"), |
| 353 | 353 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -551,7 +551,7 @@ static const AVCodecDefault eb_enc_defaults[] = { · 550 unmodified lines | ||
| 551 | 551 | { NULL }, |
| 552 | 552 | }; |
| 553 | 553 | |
| 554 | −AVCodec ff_libsvtav1_encoder = { | |
| 554 | +const AVCodec ff_libsvtav1_encoder = { | |
| 555 | 555 | .name = "libsvtav1", |
| 556 | 556 | .long_name = NULL_IF_CONFIG_SMALL("SVT-AV1(Scalable Video Technology for AV1) encoder"), |
| 557 | 557 | .priv_data_size = sizeof(SvtContext), |
| @@ -367,7 +367,7 @@ static av_cold int encode_close(AVCodecContext* avc_context) · 366 unmodified lines | ||
| 367 | 367 | } |
| 368 | 368 | |
| 369 | 369 | /** AVCodec struct exposed to libavcodec */ |
| 370 | −AVCodec ff_libtheora_encoder = { | |
| 370 | +const AVCodec ff_libtheora_encoder = { | |
| 371 | 371 | .name = "libtheora", |
| 372 | 372 | .long_name = NULL_IF_CONFIG_SMALL("libtheora Theora"), |
| 373 | 373 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -206,7 +206,7 @@ static const int twolame_samplerates[] = { · 205 unmodified lines | ||
| 206 | 206 | 16000, 22050, 24000, 32000, 44100, 48000, 0 |
| 207 | 207 | }; |
| 208 | 208 | |
| 209 | −AVCodec ff_libtwolame_encoder = { | |
| 209 | +const AVCodec ff_libtwolame_encoder = { | |
| 210 | 210 | .name = "libtwolame", |
| 211 | 211 | .long_name = NULL_IF_CONFIG_SMALL("libtwolame MP2 (MPEG audio layer 2)"), |
| 212 | 212 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -244,7 +244,7 @@ static int libuavs3d_decode_frame(AVCodecContext *avctx, void *data, int *got_fr · 243 unmodified lines | ||
| 244 | 244 | return buf_ptr - buf; |
| 245 | 245 | } |
| 246 | 246 | |
| 247 | −AVCodec ff_libuavs3d_decoder = { | |
| 247 | +const AVCodec ff_libuavs3d_decoder = { | |
| 248 | 248 | .name = "libuavs3d", |
| 249 | 249 | .long_name = NULL_IF_CONFIG_SMALL("libuavs3d AVS3-P2/IEEE1857.10"), |
| 250 | 250 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -139,7 +139,7 @@ static int amr_wb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 138 unmodified lines | ||
| 139 | 139 | return 0; |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | −AVCodec ff_libvo_amrwbenc_encoder = { | |
| 142 | +const AVCodec ff_libvo_amrwbenc_encoder = { | |
| 143 | 143 | .name = "libvo_amrwbenc", |
| 144 | 144 | .long_name = NULL_IF_CONFIG_SMALL("Android VisualOn AMR-WB " |
| 145 | 145 | "(Adaptive Multi-Rate Wide-Band)"), |
| @@ -208,7 +208,7 @@ static int oggvorbis_decode_close(AVCodecContext *avccontext) { · 207 unmodified lines | ||
| 208 | 208 | } |
| 209 | 209 | |
| 210 | 210 | |
| 211 | −AVCodec ff_libvorbis_decoder = { | |
| 211 | +const AVCodec ff_libvorbis_decoder = { | |
| 212 | 212 | .name = "libvorbis", |
| 213 | 213 | .long_name = NULL_IF_CONFIG_SMALL("libvorbis"), |
| 214 | 214 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -374,7 +374,7 @@ static int libvorbis_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 373 unmodified lines | ||
| 374 | 374 | return 0; |
| 375 | 375 | } |
| 376 | 376 | |
| 377 | −AVCodec ff_libvorbis_encoder = { | |
| 377 | +const AVCodec ff_libvorbis_encoder = { | |
| 378 | 378 | .name = "libvorbis", |
| 379 | 379 | .long_name = NULL_IF_CONFIG_SMALL("libvorbis"), |
| 380 | 380 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -352,7 +352,7 @@ static av_cold int vp8_init(AVCodecContext *avctx) · 351 unmodified lines | ||
| 352 | 352 | return vpx_init(avctx, &ctx->decoder, &vpx_codec_vp8_dx_algo); |
| 353 | 353 | } |
| 354 | 354 | |
| 355 | −AVCodec ff_libvpx_vp8_decoder = { | |
| 355 | +const AVCodec ff_libvpx_vp8_decoder = { | |
| 356 | 356 | .name = "libvpx", |
| 357 | 357 | .long_name = NULL_IF_CONFIG_SMALL("libvpx VP8"), |
| 358 | 358 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1825,7 +1825,7 @@ static const AVClass class_vp8 = { · 1824 unmodified lines | ||
| 1825 | 1825 | .version = LIBAVUTIL_VERSION_INT, |
| 1826 | 1826 | }; |
| 1827 | 1827 | |
| 1828 | −AVCodec ff_libvpx_vp8_encoder = { | |
| 1828 | +const AVCodec ff_libvpx_vp8_encoder = { | |
| 1829 | 1829 | .name = "libvpx", |
| 1830 | 1830 | .long_name = NULL_IF_CONFIG_SMALL("libvpx VP8"), |
| 1831 | 1831 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -93,7 +93,7 @@ static const AVClass class = { · 92 unmodified lines | ||
| 93 | 93 | .version = LIBAVUTIL_VERSION_INT, |
| 94 | 94 | }; |
| 95 | 95 | |
| 96 | −AVCodec ff_libwebp_encoder = { | |
| 96 | +const AVCodec ff_libwebp_encoder = { | |
| 97 | 97 | .name = "libwebp", |
| 98 | 98 | .long_name = NULL_IF_CONFIG_SMALL("libwebp WebP image"), |
| 99 | 99 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -131,7 +131,7 @@ static const AVClass class = { · 130 unmodified lines | ||
| 131 | 131 | .version = LIBAVUTIL_VERSION_INT, |
| 132 | 132 | }; |
| 133 | 133 | |
| 134 | −AVCodec ff_libwebp_anim_encoder = { | |
| 134 | +const AVCodec ff_libwebp_anim_encoder = { | |
| 135 | 135 | .name = "libwebp_anim", |
| 136 | 136 | .long_name = NULL_IF_CONFIG_SMALL("libwebp WebP image"), |
| 137 | 137 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1140,6 +1140,9 @@ static const AVClass x264_class = { · 1139 unmodified lines | ||
| 1140 | 1140 | .version = LIBAVUTIL_VERSION_INT, |
| 1141 | 1141 | }; |
| 1142 | 1142 | |
| 1143 | +#if X264_BUILD >= 153 | |
| 1144 | +const | |
| 1145 | +#endif | |
| 1143 | 1146 | AVCodec ff_libx264_encoder = { |
| 1144 | 1147 | .name = "libx264", |
| 1145 | 1148 | .long_name = NULL_IF_CONFIG_SMALL("libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"), |
| @@ -1176,7 +1179,7 @@ static const AVClass rgbclass = { · 30 unmodified lines | ||
| 1176 | 1179 | .version = LIBAVUTIL_VERSION_INT, |
| 1177 | 1180 | }; |
| 1178 | 1181 | |
| 1179 | −AVCodec ff_libx264rgb_encoder = { | |
| 1182 | +const AVCodec ff_libx264rgb_encoder = { | |
| 1180 | 1183 | .name = "libx264rgb", |
| 1181 | 1184 | .long_name = NULL_IF_CONFIG_SMALL("libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB"), |
| 1182 | 1185 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1207,7 +1210,7 @@ static const AVClass X262_class = { · 24 unmodified lines | ||
| 1207 | 1210 | .version = LIBAVUTIL_VERSION_INT, |
| 1208 | 1211 | }; |
| 1209 | 1212 | |
| 1210 | −AVCodec ff_libx262_encoder = { | |
| 1213 | +const AVCodec ff_libx262_encoder = { | |
| 1211 | 1214 | .name = "libx262", |
| 1212 | 1215 | .long_name = NULL_IF_CONFIG_SMALL("libx262 MPEG2VIDEO"), |
| 1213 | 1216 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -417,7 +417,7 @@ static const AVCodecDefault xavs_defaults[] = { · 416 unmodified lines | ||
| 417 | 417 | { NULL }, |
| 418 | 418 | }; |
| 419 | 419 | |
| 420 | −AVCodec ff_libxavs_encoder = { | |
| 420 | +const AVCodec ff_libxavs_encoder = { | |
| 421 | 421 | .name = "libxavs", |
| 422 | 422 | .long_name = NULL_IF_CONFIG_SMALL("libxavs Chinese AVS (Audio Video Standard)"), |
| 423 | 423 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -285,7 +285,7 @@ static const AVCodecDefault xavs2_defaults[] = { · 284 unmodified lines | ||
| 285 | 285 | { NULL }, |
| 286 | 286 | }; |
| 287 | 287 | |
| 288 | −AVCodec ff_libxavs2_encoder = { | |
| 288 | +const AVCodec ff_libxavs2_encoder = { | |
| 289 | 289 | .name = "libxavs2", |
| 290 | 290 | .long_name = NULL_IF_CONFIG_SMALL("libxavs2 AVS2-P2/IEEE1857.4"), |
| 291 | 291 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -899,7 +899,7 @@ static const AVClass xvid_class = { · 898 unmodified lines | ||
| 899 | 899 | .version = LIBAVUTIL_VERSION_INT, |
| 900 | 900 | }; |
| 901 | 901 | |
| 902 | −AVCodec ff_libxvid_encoder = { | |
| 902 | +const AVCodec ff_libxvid_encoder = { | |
| 903 | 903 | .name = "libxvid", |
| 904 | 904 | .long_name = NULL_IF_CONFIG_SMALL("libxvidcore MPEG-4 part 2"), |
| 905 | 905 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -810,7 +810,7 @@ static const AVClass teletext_class = { · 809 unmodified lines | ||
| 810 | 810 | .version = LIBAVUTIL_VERSION_INT, |
| 811 | 811 | }; |
| 812 | 812 | |
| 813 | −AVCodec ff_libzvbi_teletext_decoder = { | |
| 813 | +const AVCodec ff_libzvbi_teletext_decoder = { | |
| 814 | 814 | .name = "libzvbi_teletextdec", |
| 815 | 815 | .long_name = NULL_IF_CONFIG_SMALL("Libzvbi DVB teletext decoder"), |
| 816 | 816 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -321,7 +321,7 @@ static const AVClass ljpeg_class = { · 320 unmodified lines | ||
| 321 | 321 | .version = LIBAVUTIL_VERSION_INT, |
| 322 | 322 | }; |
| 323 | 323 | |
| 324 | −AVCodec ff_ljpeg_encoder = { | |
| 324 | +const AVCodec ff_ljpeg_encoder = { | |
| 325 | 325 | .name = "ljpeg", |
| 326 | 326 | .long_name = NULL_IF_CONFIG_SMALL("Lossless JPEG"), |
| 327 | 327 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -337,7 +337,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 336 unmodified lines | ||
| 337 | 337 | return 0; |
| 338 | 338 | } |
| 339 | 339 | |
| 340 | −AVCodec ff_loco_decoder = { | |
| 340 | +const AVCodec ff_loco_decoder = { | |
| 341 | 341 | .name = "loco", |
| 342 | 342 | .long_name = NULL_IF_CONFIG_SMALL("LOCO"), |
| 343 | 343 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -264,7 +264,7 @@ static void lscr_decode_flush(AVCodecContext *avctx) · 263 unmodified lines | ||
| 264 | 264 | av_frame_unref(s->last_picture); |
| 265 | 265 | } |
| 266 | 266 | |
| 267 | −AVCodec ff_lscr_decoder = { | |
| 267 | +const AVCodec ff_lscr_decoder = { | |
| 268 | 268 | .name = "lscr", |
| 269 | 269 | .long_name = NULL_IF_CONFIG_SMALL("LEAD Screen Capture"), |
| 270 | 270 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -105,7 +105,7 @@ static int m101_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 104 unmodified lines | ||
| 105 | 105 | return avpkt->size; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | −AVCodec ff_m101_decoder = { | |
| 108 | +const AVCodec ff_m101_decoder = { | |
| 109 | 109 | .name = "m101", |
| 110 | 110 | .long_name = NULL_IF_CONFIG_SMALL("Matrox Uncompressed SD"), |
| 111 | 111 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -284,7 +284,7 @@ static int mace_decode_frame(AVCodecContext *avctx, void *data, · 283 unmodified lines | ||
| 284 | 284 | return buf_size; |
| 285 | 285 | } |
| 286 | 286 | |
| 287 | −AVCodec ff_mace3_decoder = { | |
| 287 | +const AVCodec ff_mace3_decoder = { | |
| 288 | 288 | .name = "mace3", |
| 289 | 289 | .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"), |
| 290 | 290 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -297,7 +297,7 @@ AVCodec ff_mace3_decoder = { · 6 unmodified lines | ||
| 297 | 297 | AV_SAMPLE_FMT_NONE }, |
| 298 | 298 | }; |
| 299 | 299 | |
| 300 | −AVCodec ff_mace6_decoder = { | |
| 300 | +const AVCodec ff_mace6_decoder = { | |
| 301 | 301 | .name = "mace6", |
| 302 | 302 | .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"), |
| 303 | 303 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -694,7 +694,7 @@ static av_cold int magy_decode_end(AVCodecContext *avctx) · 693 unmodified lines | ||
| 694 | 694 | return 0; |
| 695 | 695 | } |
| 696 | 696 | |
| 697 | −AVCodec ff_magicyuv_decoder = { | |
| 697 | +const AVCodec ff_magicyuv_decoder = { | |
| 698 | 698 | .name = "magicyuv", |
| 699 | 699 | .long_name = NULL_IF_CONFIG_SMALL("MagicYUV video"), |
| 700 | 700 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -556,7 +556,7 @@ static const AVClass magicyuv_class = { · 555 unmodified lines | ||
| 556 | 556 | .version = LIBAVUTIL_VERSION_INT, |
| 557 | 557 | }; |
| 558 | 558 | |
| 559 | −AVCodec ff_magicyuv_encoder = { | |
| 559 | +const AVCodec ff_magicyuv_encoder = { | |
| 560 | 560 | .name = "magicyuv", |
| 561 | 561 | .long_name = NULL_IF_CONFIG_SMALL("MagicYUV video"), |
| 562 | 562 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -250,7 +250,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 249 unmodified lines | ||
| 250 | 250 | return 0; |
| 251 | 251 | } |
| 252 | 252 | |
| 253 | −AVCodec ff_mdec_decoder = { | |
| 253 | +const AVCodec ff_mdec_decoder = { | |
| 254 | 254 | .name = "mdec", |
| 255 | 255 | .long_name = NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"), |
| 256 | 256 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -522,7 +522,7 @@ static const AVClass ff_##short_name##_mediacodec_dec_class = { \ · 521 unmodified lines | ||
| 522 | 522 | |
| 523 | 523 | #define DECLARE_MEDIACODEC_VDEC(short_name, full_name, codec_id, bsf) \ |
| 524 | 524 | DECLARE_MEDIACODEC_VCLASS(short_name) \ |
| 525 | −AVCodec ff_##short_name##_mediacodec_decoder = { \ | |
| 525 | +const AVCodec ff_ ## short_name ## _mediacodec_decoder = { \ | |
| 526 | 526 | .name = #short_name "_mediacodec", \ |
| 527 | 527 | .long_name = NULL_IF_CONFIG_SMALL(full_name " Android MediaCodec decoder"), \ |
| 528 | 528 | .type = AVMEDIA_TYPE_VIDEO, \ |
| @@ -370,7 +370,7 @@ static av_cold int metasound_decode_init(AVCodecContext *avctx) · 369 unmodified lines | ||
| 370 | 370 | return ff_twinvq_decode_init(avctx); |
| 371 | 371 | } |
| 372 | 372 | |
| 373 | −AVCodec ff_metasound_decoder = { | |
| 373 | +const AVCodec ff_metasound_decoder = { | |
| 374 | 374 | .name = "metasound", |
| 375 | 375 | .long_name = NULL_IF_CONFIG_SMALL("Voxware MetaSound"), |
| 376 | 376 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1152,7 +1152,7 @@ static int mf_close(AVCodecContext *avctx) · 1151 unmodified lines | ||
| 1152 | 1152 | .option = OPTS, \ |
| 1153 | 1153 | .version = LIBAVUTIL_VERSION_INT, \ |
| 1154 | 1154 | }; \ |
| 1155 | − AVCodec ff_ ## NAME ## _mf_encoder = { \ | |
| 1155 | + const AVCodec ff_ ## NAME ## _mf_encoder = { \ | |
| 1156 | 1156 | .priv_class = &ff_ ## NAME ## _mf_encoder_class, \ |
| 1157 | 1157 | .name = #NAME "_mf", \ |
| 1158 | 1158 | .long_name = NULL_IF_CONFIG_SMALL(#ID " via MediaFoundation"), \ |
| @@ -368,7 +368,7 @@ static int microdvd_init(AVCodecContext *avctx) · 367 unmodified lines | ||
| 368 | 368 | alignment); |
| 369 | 369 | } |
| 370 | 370 | |
| 371 | −AVCodec ff_microdvd_decoder = { | |
| 371 | +const AVCodec ff_microdvd_decoder = { | |
| 372 | 372 | .name = "microdvd", |
| 373 | 373 | .long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle"), |
| 374 | 374 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -277,7 +277,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 276 unmodified lines | ||
| 277 | 277 | return 0; |
| 278 | 278 | } |
| 279 | 279 | |
| 280 | −AVCodec ff_mvdv_decoder = { | |
| 280 | +const AVCodec ff_mvdv_decoder = { | |
| 281 | 281 | .name = "mvdv", |
| 282 | 282 | .long_name = NULL_IF_CONFIG_SMALL("MidiVid VQ"), |
| 283 | 283 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -435,7 +435,7 @@ static int mimic_decode_frame(AVCodecContext *avctx, void *data, · 434 unmodified lines | ||
| 435 | 435 | return buf_size; |
| 436 | 436 | } |
| 437 | 437 | |
| 438 | −AVCodec ff_mimic_decoder = { | |
| 438 | +const AVCodec ff_mimic_decoder = { | |
| 439 | 439 | .name = "mimic", |
| 440 | 440 | .long_name = NULL_IF_CONFIG_SMALL("Mimic"), |
| 441 | 441 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -153,7 +153,7 @@ read_header: · 152 unmodified lines | ||
| 153 | 153 | return buf_size; |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | −AVCodec ff_mjpegb_decoder = { | |
| 156 | +const AVCodec ff_mjpegb_decoder = { | |
| 157 | 157 | .name = "mjpegb", |
| 158 | 158 | .long_name = NULL_IF_CONFIG_SMALL("Apple MJPEG-B"), |
| 159 | 159 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2961,7 +2961,7 @@ static const AVClass mjpegdec_class = { · 2960 unmodified lines | ||
| 2961 | 2961 | .version = LIBAVUTIL_VERSION_INT, |
| 2962 | 2962 | }; |
| 2963 | 2963 | |
| 2964 | −AVCodec ff_mjpeg_decoder = { | |
| 2964 | +const AVCodec ff_mjpeg_decoder = { | |
| 2965 | 2965 | .name = "mjpeg", |
| 2966 | 2966 | .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), |
| 2967 | 2967 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2989,7 +2989,7 @@ AVCodec ff_mjpeg_decoder = { · 21 unmodified lines | ||
| 2989 | 2989 | }; |
| 2990 | 2990 | #endif |
| 2991 | 2991 | #if CONFIG_THP_DECODER |
| 2992 | −AVCodec ff_thp_decoder = { | |
| 2992 | +const AVCodec ff_thp_decoder = { | |
| 2993 | 2993 | .name = "thp", |
| 2994 | 2994 | .long_name = NULL_IF_CONFIG_SMALL("Nintendo Gamecube THP video"), |
| 2995 | 2995 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -3007,7 +3007,7 @@ AVCodec ff_thp_decoder = { · 11 unmodified lines | ||
| 3007 | 3007 | #endif |
| 3008 | 3008 | |
| 3009 | 3009 | #if CONFIG_SMVJPEG_DECODER |
| 3010 | −AVCodec ff_smvjpeg_decoder = { | |
| 3010 | +const AVCodec ff_smvjpeg_decoder = { | |
| 3011 | 3011 | .name = "smvjpeg", |
| 3012 | 3012 | .long_name = NULL_IF_CONFIG_SMALL("SMV JPEG"), |
| 3013 | 3013 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -610,7 +610,7 @@ static const AVClass mjpeg_class = { · 609 unmodified lines | ||
| 610 | 610 | .version = LIBAVUTIL_VERSION_INT, |
| 611 | 611 | }; |
| 612 | 612 | |
| 613 | −AVCodec ff_mjpeg_encoder = { | |
| 613 | +const AVCodec ff_mjpeg_encoder = { | |
| 614 | 614 | .name = "mjpeg", |
| 615 | 615 | .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), |
| 616 | 616 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -639,7 +639,7 @@ static const AVClass amv_class = { · 22 unmodified lines | ||
| 639 | 639 | .version = LIBAVUTIL_VERSION_INT, |
| 640 | 640 | }; |
| 641 | 641 | |
| 642 | −AVCodec ff_amv_encoder = { | |
| 642 | +const AVCodec ff_amv_encoder = { | |
| 643 | 643 | .name = "amv", |
| 644 | 644 | .long_name = NULL_IF_CONFIG_SMALL("AMV Video"), |
| 645 | 645 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1331,7 +1331,7 @@ error: · 1330 unmodified lines | ||
| 1331 | 1331 | } |
| 1332 | 1332 | |
| 1333 | 1333 | #if CONFIG_MLP_DECODER |
| 1334 | −AVCodec ff_mlp_decoder = { | |
| 1334 | +const AVCodec ff_mlp_decoder = { | |
| 1335 | 1335 | .name = "mlp", |
| 1336 | 1336 | .long_name = NULL_IF_CONFIG_SMALL("MLP (Meridian Lossless Packing)"), |
| 1337 | 1337 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1344,7 +1344,7 @@ AVCodec ff_mlp_decoder = { · 6 unmodified lines | ||
| 1344 | 1344 | }; |
| 1345 | 1345 | #endif |
| 1346 | 1346 | #if CONFIG_TRUEHD_DECODER |
| 1347 | −AVCodec ff_truehd_decoder = { | |
| 1347 | +const AVCodec ff_truehd_decoder = { | |
| 1348 | 1348 | .name = "truehd", |
| 1349 | 1349 | .long_name = NULL_IF_CONFIG_SMALL("TrueHD"), |
| 1350 | 1350 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -2364,7 +2364,7 @@ static av_cold int mlp_encode_close(AVCodecContext *avctx) · 2363 unmodified lines | ||
| 2364 | 2364 | } |
| 2365 | 2365 | |
| 2366 | 2366 | #if CONFIG_MLP_ENCODER |
| 2367 | −AVCodec ff_mlp_encoder = { | |
| 2367 | +const AVCodec ff_mlp_encoder = { | |
| 2368 | 2368 | .name ="mlp", |
| 2369 | 2369 | .long_name = NULL_IF_CONFIG_SMALL("MLP (Meridian Lossless Packing)"), |
| 2370 | 2370 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -2381,7 +2381,7 @@ AVCodec ff_mlp_encoder = { · 10 unmodified lines | ||
| 2381 | 2381 | }; |
| 2382 | 2382 | #endif |
| 2383 | 2383 | #if CONFIG_TRUEHD_ENCODER |
| 2384 | −AVCodec ff_truehd_encoder = { | |
| 2384 | +const AVCodec ff_truehd_encoder = { | |
| 2385 | 2385 | .name ="truehd", |
| 2386 | 2386 | .long_name = NULL_IF_CONFIG_SMALL("TrueHD"), |
| 2387 | 2387 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -825,7 +825,7 @@ static const AVOption options[]={ · 824 unmodified lines | ||
| 825 | 825 | |
| 826 | 826 | #define FFMMAL_DEC(NAME, ID) \ |
| 827 | 827 | FFMMAL_DEC_CLASS(NAME) \ |
| 828 | − AVCodec ff_##NAME##_mmal_decoder = { \ | |
| 828 | + const AVCodec ff_##NAME##_mmal_decoder = { \ | |
| 829 | 829 | .name = #NAME "_mmal", \ |
| 830 | 830 | .long_name = NULL_IF_CONFIG_SMALL(#NAME " (mmal)"), \ |
| 831 | 831 | .type = AVMEDIA_TYPE_VIDEO, \ |
| @@ -238,7 +238,7 @@ static av_cold int mm_decode_end(AVCodecContext *avctx) · 237 unmodified lines | ||
| 238 | 238 | return 0; |
| 239 | 239 | } |
| 240 | 240 | |
| 241 | −AVCodec ff_mmvideo_decoder = { | |
| 241 | +const AVCodec ff_mmvideo_decoder = { | |
| 242 | 242 | .name = "mmvideo", |
| 243 | 243 | .long_name = NULL_IF_CONFIG_SMALL("American Laser Games MM Video"), |
| 244 | 244 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1340,7 +1340,7 @@ static av_cold int mobiclip_close(AVCodecContext *avctx) · 1339 unmodified lines | ||
| 1340 | 1340 | return 0; |
| 1341 | 1341 | } |
| 1342 | 1342 | |
| 1343 | −AVCodec ff_mobiclip_decoder = { | |
| 1343 | +const AVCodec ff_mobiclip_decoder = { | |
| 1344 | 1344 | .name = "mobiclip", |
| 1345 | 1345 | .long_name = NULL_IF_CONFIG_SMALL("MobiClip Video"), |
| 1346 | 1346 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -345,7 +345,7 @@ end: · 344 unmodified lines | ||
| 345 | 345 | return buf_size; |
| 346 | 346 | } |
| 347 | 347 | |
| 348 | −AVCodec ff_motionpixels_decoder = { | |
| 348 | +const AVCodec ff_motionpixels_decoder = { | |
| 349 | 349 | .name = "motionpixels", |
| 350 | 350 | .long_name = NULL_IF_CONFIG_SMALL("Motion Pixels video"), |
| 351 | 351 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -582,7 +582,7 @@ static const AVClass mov_text_decoder_class = { · 581 unmodified lines | ||
| 582 | 582 | .version = LIBAVUTIL_VERSION_INT, |
| 583 | 583 | }; |
| 584 | 584 | |
| 585 | −AVCodec ff_movtext_decoder = { | |
| 585 | +const AVCodec ff_movtext_decoder = { | |
| 586 | 586 | .name = "mov_text", |
| 587 | 587 | .long_name = NULL_IF_CONFIG_SMALL("3GPP Timed Text subtitle"), |
| 588 | 588 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -708,7 +708,7 @@ static const AVClass mov_text_encoder_class = { · 707 unmodified lines | ||
| 708 | 708 | .version = LIBAVUTIL_VERSION_INT, |
| 709 | 709 | }; |
| 710 | 710 | |
| 711 | −AVCodec ff_movtext_encoder = { | |
| 711 | +const AVCodec ff_movtext_encoder = { | |
| 712 | 712 | .name = "mov_text", |
| 713 | 713 | .long_name = NULL_IF_CONFIG_SMALL("3GPP Timed Text subtitle"), |
| 714 | 714 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -308,7 +308,7 @@ static av_cold int mpc7_decode_close(AVCodecContext *avctx) · 307 unmodified lines | ||
| 308 | 308 | return 0; |
| 309 | 309 | } |
| 310 | 310 | |
| 311 | −AVCodec ff_mpc7_decoder = { | |
| 311 | +const AVCodec ff_mpc7_decoder = { | |
| 312 | 312 | .name = "mpc7", |
| 313 | 313 | .long_name = NULL_IF_CONFIG_SMALL("Musepack SV7"), |
| 314 | 314 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -383,7 +383,7 @@ static av_cold void mpc8_decode_flush(AVCodecContext *avctx) · 382 unmodified lines | ||
| 383 | 383 | c->cur_frame = 0; |
| 384 | 384 | } |
| 385 | 385 | |
| 386 | −AVCodec ff_mpc8_decoder = { | |
| 386 | +const AVCodec ff_mpc8_decoder = { | |
| 387 | 387 | .name = "mpc8", |
| 388 | 388 | .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"), |
| 389 | 389 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -2878,7 +2878,7 @@ static av_cold int mpeg_decode_end(AVCodecContext *avctx) · 2877 unmodified lines | ||
| 2878 | 2878 | return 0; |
| 2879 | 2879 | } |
| 2880 | 2880 | |
| 2881 | −AVCodec ff_mpeg1video_decoder = { | |
| 2881 | +const AVCodec ff_mpeg1video_decoder = { | |
| 2882 | 2882 | .name = "mpeg1video", |
| 2883 | 2883 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"), |
| 2884 | 2884 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2912,7 +2912,7 @@ AVCodec ff_mpeg1video_decoder = { · 27 unmodified lines | ||
| 2912 | 2912 | }, |
| 2913 | 2913 | }; |
| 2914 | 2914 | |
| 2915 | −AVCodec ff_mpeg2video_decoder = { | |
| 2915 | +const AVCodec ff_mpeg2video_decoder = { | |
| 2916 | 2916 | .name = "mpeg2video", |
| 2917 | 2917 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 video"), |
| 2918 | 2918 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2959,7 +2959,7 @@ AVCodec ff_mpeg2video_decoder = { · 40 unmodified lines | ||
| 2959 | 2959 | }; |
| 2960 | 2960 | |
| 2961 | 2961 | //legacy decoder |
| 2962 | −AVCodec ff_mpegvideo_decoder = { | |
| 2962 | +const AVCodec ff_mpegvideo_decoder = { | |
| 2963 | 2963 | .name = "mpegvideo", |
| 2964 | 2964 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"), |
| 2965 | 2965 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -3121,7 +3121,7 @@ static av_cold int ipu_decode_end(AVCodecContext *avctx) · 155 unmodified lines | ||
| 3121 | 3121 | return 0; |
| 3122 | 3122 | } |
| 3123 | 3123 | |
| 3124 | −AVCodec ff_ipu_decoder = { | |
| 3124 | +const AVCodec ff_ipu_decoder = { | |
| 3125 | 3125 | .name = "ipu", |
| 3126 | 3126 | .long_name = NULL_IF_CONFIG_SMALL("IPU Video"), |
| 3127 | 3127 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1199,7 +1199,7 @@ static const AVClass mpeg ## x ## _class = { \ · 1198 unmodified lines | ||
| 1199 | 1199 | mpeg12_class(1) |
| 1200 | 1200 | mpeg12_class(2) |
| 1201 | 1201 | |
| 1202 | −AVCodec ff_mpeg1video_encoder = { | |
| 1202 | +const AVCodec ff_mpeg1video_encoder = { | |
| 1203 | 1203 | .name = "mpeg1video", |
| 1204 | 1204 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"), |
| 1205 | 1205 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1216,7 +1216,7 @@ AVCodec ff_mpeg1video_encoder = { · 10 unmodified lines | ||
| 1216 | 1216 | .priv_class = &mpeg1_class, |
| 1217 | 1217 | }; |
| 1218 | 1218 | |
| 1219 | −AVCodec ff_mpeg2video_encoder = { | |
| 1219 | +const AVCodec ff_mpeg2video_encoder = { | |
| 1220 | 1220 | .name = "mpeg2video", |
| 1221 | 1221 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 video"), |
| 1222 | 1222 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -3580,7 +3580,7 @@ static const AVClass mpeg4_class = { · 3579 unmodified lines | ||
| 3580 | 3580 | .version = LIBAVUTIL_VERSION_INT, |
| 3581 | 3581 | }; |
| 3582 | 3582 | |
| 3583 | −AVCodec ff_mpeg4_decoder = { | |
| 3583 | +const AVCodec ff_mpeg4_decoder = { | |
| 3584 | 3584 | .name = "mpeg4", |
| 3585 | 3585 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), |
| 3586 | 3586 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1396,7 +1396,7 @@ static const AVClass mpeg4enc_class = { · 1395 unmodified lines | ||
| 1396 | 1396 | .version = LIBAVUTIL_VERSION_INT, |
| 1397 | 1397 | }; |
| 1398 | 1398 | |
| 1399 | −AVCodec ff_mpeg4_encoder = { | |
| 1399 | +const AVCodec ff_mpeg4_encoder = { | |
| 1400 | 1400 | .name = "mpeg4", |
| 1401 | 1401 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), |
| 1402 | 1402 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -59,7 +59,7 @@ static const int32_t csa_table[8][4] = { · 58 unmodified lines | ||
| 59 | 59 | #include "mpegaudiodec_template.c" |
| 60 | 60 | |
| 61 | 61 | #if CONFIG_MP1_DECODER |
| 62 | −AVCodec ff_mp1_decoder = { | |
| 62 | +const AVCodec ff_mp1_decoder = { | |
| 63 | 63 | .name = "mp1", |
| 64 | 64 | .long_name = NULL_IF_CONFIG_SMALL("MP1 (MPEG audio layer 1)"), |
| 65 | 65 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -77,7 +77,7 @@ AVCodec ff_mp1_decoder = { · 11 unmodified lines | ||
| 77 | 77 | }; |
| 78 | 78 | #endif |
| 79 | 79 | #if CONFIG_MP2_DECODER |
| 80 | −AVCodec ff_mp2_decoder = { | |
| 80 | +const AVCodec ff_mp2_decoder = { | |
| 81 | 81 | .name = "mp2", |
| 82 | 82 | .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), |
| 83 | 83 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -95,7 +95,7 @@ AVCodec ff_mp2_decoder = { · 11 unmodified lines | ||
| 95 | 95 | }; |
| 96 | 96 | #endif |
| 97 | 97 | #if CONFIG_MP3_DECODER |
| 98 | −AVCodec ff_mp3_decoder = { | |
| 98 | +const AVCodec ff_mp3_decoder = { | |
| 99 | 99 | .name = "mp3", |
| 100 | 100 | .long_name = NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"), |
| 101 | 101 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -113,7 +113,7 @@ AVCodec ff_mp3_decoder = { · 11 unmodified lines | ||
| 113 | 113 | }; |
| 114 | 114 | #endif |
| 115 | 115 | #if CONFIG_MP3ADU_DECODER |
| 116 | −AVCodec ff_mp3adu_decoder = { | |
| 116 | +const AVCodec ff_mp3adu_decoder = { | |
| 117 | 117 | .name = "mp3adu", |
| 118 | 118 | .long_name = NULL_IF_CONFIG_SMALL("ADU (Application Data Unit) MP3 (MPEG audio layer 3)"), |
| 119 | 119 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -131,7 +131,7 @@ AVCodec ff_mp3adu_decoder = { · 11 unmodified lines | ||
| 131 | 131 | }; |
| 132 | 132 | #endif |
| 133 | 133 | #if CONFIG_MP3ON4_DECODER |
| 134 | −AVCodec ff_mp3on4_decoder = { | |
| 134 | +const AVCodec ff_mp3on4_decoder = { | |
| 135 | 135 | .name = "mp3on4", |
| 136 | 136 | .long_name = NULL_IF_CONFIG_SMALL("MP3onMP4"), |
| 137 | 137 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -72,7 +72,7 @@ static const float csa_table[8][4] = { · 71 unmodified lines | ||
| 72 | 72 | #include "mpegaudiodec_template.c" |
| 73 | 73 | |
| 74 | 74 | #if CONFIG_MP1FLOAT_DECODER |
| 75 | −AVCodec ff_mp1float_decoder = { | |
| 75 | +const AVCodec ff_mp1float_decoder = { | |
| 76 | 76 | .name = "mp1float", |
| 77 | 77 | .long_name = NULL_IF_CONFIG_SMALL("MP1 (MPEG audio layer 1)"), |
| 78 | 78 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -90,7 +90,7 @@ AVCodec ff_mp1float_decoder = { · 11 unmodified lines | ||
| 90 | 90 | }; |
| 91 | 91 | #endif |
| 92 | 92 | #if CONFIG_MP2FLOAT_DECODER |
| 93 | −AVCodec ff_mp2float_decoder = { | |
| 93 | +const AVCodec ff_mp2float_decoder = { | |
| 94 | 94 | .name = "mp2float", |
| 95 | 95 | .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), |
| 96 | 96 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -108,7 +108,7 @@ AVCodec ff_mp2float_decoder = { · 11 unmodified lines | ||
| 108 | 108 | }; |
| 109 | 109 | #endif |
| 110 | 110 | #if CONFIG_MP3FLOAT_DECODER |
| 111 | −AVCodec ff_mp3float_decoder = { | |
| 111 | +const AVCodec ff_mp3float_decoder = { | |
| 112 | 112 | .name = "mp3float", |
| 113 | 113 | .long_name = NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"), |
| 114 | 114 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -126,7 +126,7 @@ AVCodec ff_mp3float_decoder = { · 11 unmodified lines | ||
| 126 | 126 | }; |
| 127 | 127 | #endif |
| 128 | 128 | #if CONFIG_MP3ADUFLOAT_DECODER |
| 129 | −AVCodec ff_mp3adufloat_decoder = { | |
| 129 | +const AVCodec ff_mp3adufloat_decoder = { | |
| 130 | 130 | .name = "mp3adufloat", |
| 131 | 131 | .long_name = NULL_IF_CONFIG_SMALL("ADU (Application Data Unit) MP3 (MPEG audio layer 3)"), |
| 132 | 132 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -144,7 +144,7 @@ AVCodec ff_mp3adufloat_decoder = { · 11 unmodified lines | ||
| 144 | 144 | }; |
| 145 | 145 | #endif |
| 146 | 146 | #if CONFIG_MP3ON4FLOAT_DECODER |
| 147 | −AVCodec ff_mp3on4float_decoder = { | |
| 147 | +const AVCodec ff_mp3on4float_decoder = { | |
| 148 | 148 | .name = "mp3on4float", |
| 149 | 149 | .long_name = NULL_IF_CONFIG_SMALL("MP3onMP4"), |
| 150 | 150 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | |
| 22 | 22 | #include "mpegaudioenc_template.c" |
| 23 | 23 | |
| 24 | −AVCodec ff_mp2fixed_encoder = { | |
| 24 | +const AVCodec ff_mp2fixed_encoder = { | |
| 25 | 25 | .name = "mp2fixed", |
| 26 | 26 | .long_name = NULL_IF_CONFIG_SMALL("MP2 fixed point (MPEG audio layer 2)"), |
| 27 | 27 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #define USE_FLOATS 1 |
| 23 | 23 | #include "mpegaudioenc_template.c" |
| 24 | 24 | |
| 25 | −AVCodec ff_mp2_encoder = { | |
| 25 | +const AVCodec ff_mp2_encoder = { | |
| 26 | 26 | .name = "mp2", |
| 27 | 27 | .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), |
| 28 | 28 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -4598,7 +4598,7 @@ static const AVClass h263_class = { · 4597 unmodified lines | ||
| 4598 | 4598 | .version = LIBAVUTIL_VERSION_INT, |
| 4599 | 4599 | }; |
| 4600 | 4600 | |
| 4601 | −AVCodec ff_h263_encoder = { | |
| 4601 | +const AVCodec ff_h263_encoder = { | |
| 4602 | 4602 | .name = "h263", |
| 4603 | 4603 | .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996"), |
| 4604 | 4604 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -4633,7 +4633,7 @@ static const AVClass h263p_class = { · 28 unmodified lines | ||
| 4633 | 4633 | .version = LIBAVUTIL_VERSION_INT, |
| 4634 | 4634 | }; |
| 4635 | 4635 | |
| 4636 | −AVCodec ff_h263p_encoder = { | |
| 4636 | +const AVCodec ff_h263p_encoder = { | |
| 4637 | 4637 | .name = "h263p", |
| 4638 | 4638 | .long_name = NULL_IF_CONFIG_SMALL("H.263+ / H.263-1998 / H.263 version 2"), |
| 4639 | 4639 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -4655,7 +4655,7 @@ static const AVClass msmpeg4v2_class = { · 15 unmodified lines | ||
| 4655 | 4655 | .version = LIBAVUTIL_VERSION_INT, |
| 4656 | 4656 | }; |
| 4657 | 4657 | |
| 4658 | −AVCodec ff_msmpeg4v2_encoder = { | |
| 4658 | +const AVCodec ff_msmpeg4v2_encoder = { | |
| 4659 | 4659 | .name = "msmpeg4v2", |
| 4660 | 4660 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"), |
| 4661 | 4661 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -4676,7 +4676,7 @@ static const AVClass msmpeg4v3_class = { · 14 unmodified lines | ||
| 4676 | 4676 | .version = LIBAVUTIL_VERSION_INT, |
| 4677 | 4677 | }; |
| 4678 | 4678 | |
| 4679 | −AVCodec ff_msmpeg4v3_encoder = { | |
| 4679 | +const AVCodec ff_msmpeg4v3_encoder = { | |
| 4680 | 4680 | .name = "msmpeg4", |
| 4681 | 4681 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"), |
| 4682 | 4682 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -4697,7 +4697,7 @@ static const AVClass wmv1_class = { · 14 unmodified lines | ||
| 4697 | 4697 | .version = LIBAVUTIL_VERSION_INT, |
| 4698 | 4698 | }; |
| 4699 | 4699 | |
| 4700 | −AVCodec ff_wmv1_encoder = { | |
| 4700 | +const AVCodec ff_wmv1_encoder = { | |
| 4701 | 4701 | .name = "wmv1", |
| 4702 | 4702 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 7"), |
| 4703 | 4703 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -81,7 +81,7 @@ static int mpl2_decode_frame(AVCodecContext *avctx, void *data, · 80 unmodified lines | ||
| 81 | 81 | return avpkt->size; |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | −AVCodec ff_mpl2_decoder = { | |
| 84 | +const AVCodec ff_mpl2_decoder = { | |
| 85 | 85 | .name = "mpl2", |
| 86 | 86 | .long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitle"), |
| 87 | 87 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -252,7 +252,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 251 unmodified lines | ||
| 252 | 252 | return 0; |
| 253 | 253 | } |
| 254 | 254 | |
| 255 | −AVCodec ff_mscc_decoder = { | |
| 255 | +const AVCodec ff_mscc_decoder = { | |
| 256 | 256 | .name = "mscc", |
| 257 | 257 | .long_name = NULL_IF_CONFIG_SMALL("Mandsoft Screen Capture Codec"), |
| 258 | 258 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -265,7 +265,7 @@ AVCodec ff_mscc_decoder = { · 6 unmodified lines | ||
| 265 | 265 | .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, |
| 266 | 266 | }; |
| 267 | 267 | |
| 268 | −AVCodec ff_srgc_decoder = { | |
| 268 | +const AVCodec ff_srgc_decoder = { | |
| 269 | 269 | .name = "srgc", |
| 270 | 270 | .long_name = NULL_IF_CONFIG_SMALL("Screen Recorder Gold Codec"), |
| 271 | 271 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -855,7 +855,7 @@ void ff_msmpeg4_decode_motion(MpegEncContext *s, int *mx_ptr, int *my_ptr) · 854 unmodified lines | ||
| 855 | 855 | *my_ptr = my; |
| 856 | 856 | } |
| 857 | 857 | |
| 858 | −AVCodec ff_msmpeg4v1_decoder = { | |
| 858 | +const AVCodec ff_msmpeg4v1_decoder = { | |
| 859 | 859 | .name = "msmpeg4v1", |
| 860 | 860 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"), |
| 861 | 861 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -873,7 +873,7 @@ AVCodec ff_msmpeg4v1_decoder = { · 11 unmodified lines | ||
| 873 | 873 | }, |
| 874 | 874 | }; |
| 875 | 875 | |
| 876 | −AVCodec ff_msmpeg4v2_decoder = { | |
| 876 | +const AVCodec ff_msmpeg4v2_decoder = { | |
| 877 | 877 | .name = "msmpeg4v2", |
| 878 | 878 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"), |
| 879 | 879 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -891,7 +891,7 @@ AVCodec ff_msmpeg4v2_decoder = { · 11 unmodified lines | ||
| 891 | 891 | }, |
| 892 | 892 | }; |
| 893 | 893 | |
| 894 | −AVCodec ff_msmpeg4v3_decoder = { | |
| 894 | +const AVCodec ff_msmpeg4v3_decoder = { | |
| 895 | 895 | .name = "msmpeg4", |
| 896 | 896 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"), |
| 897 | 897 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -909,7 +909,7 @@ AVCodec ff_msmpeg4v3_decoder = { · 11 unmodified lines | ||
| 909 | 909 | }, |
| 910 | 910 | }; |
| 911 | 911 | |
| 912 | −AVCodec ff_wmv1_decoder = { | |
| 912 | +const AVCodec ff_wmv1_decoder = { | |
| 913 | 913 | .name = "wmv1", |
| 914 | 914 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 7"), |
| 915 | 915 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -93,7 +93,7 @@ static int msp2_decode_frame(AVCodecContext *avctx, · 92 unmodified lines | ||
| 93 | 93 | return buf_size; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | −AVCodec ff_msp2_decoder = { | |
| 96 | +const AVCodec ff_msp2_decoder = { | |
| 97 | 97 | .name = "msp2", |
| 98 | 98 | .long_name = NULL_IF_CONFIG_SMALL("Microsoft Paint (MSP) version 2"), |
| 99 | 99 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -159,7 +159,7 @@ static av_cold int msrle_decode_end(AVCodecContext *avctx) · 158 unmodified lines | ||
| 159 | 159 | return 0; |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | −AVCodec ff_msrle_decoder = { | |
| 162 | +const AVCodec ff_msrle_decoder = { | |
| 163 | 163 | .name = "msrle", |
| 164 | 164 | .long_name = NULL_IF_CONFIG_SMALL("Microsoft RLE"), |
| 165 | 165 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -218,7 +218,7 @@ static av_cold int mss1_decode_end(AVCodecContext *avctx) · 217 unmodified lines | ||
| 218 | 218 | return 0; |
| 219 | 219 | } |
| 220 | 220 | |
| 221 | −AVCodec ff_mss1_decoder = { | |
| 221 | +const AVCodec ff_mss1_decoder = { | |
| 222 | 222 | .name = "mss1", |
| 223 | 223 | .long_name = NULL_IF_CONFIG_SMALL("MS Screen 1"), |
| 224 | 224 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -845,7 +845,7 @@ static av_cold int mss2_decode_init(AVCodecContext *avctx) · 844 unmodified lines | ||
| 845 | 845 | return 0; |
| 846 | 846 | } |
| 847 | 847 | |
| 848 | −AVCodec ff_mss2_decoder = { | |
| 848 | +const AVCodec ff_mss2_decoder = { | |
| 849 | 849 | .name = "mss2", |
| 850 | 850 | .long_name = NULL_IF_CONFIG_SMALL("MS Windows Media Video V9 Screen"), |
| 851 | 851 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -859,7 +859,7 @@ static av_cold int mss3_decode_init(AVCodecContext *avctx) · 858 unmodified lines | ||
| 859 | 859 | return 0; |
| 860 | 860 | } |
| 861 | 861 | |
| 862 | −AVCodec ff_msa1_decoder = { | |
| 862 | +const AVCodec ff_msa1_decoder = { | |
| 863 | 863 | .name = "msa1", |
| 864 | 864 | .long_name = NULL_IF_CONFIG_SMALL("MS ATC Screen"), |
| 865 | 865 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -604,7 +604,7 @@ static av_cold int mss4_decode_init(AVCodecContext *avctx) · 603 unmodified lines | ||
| 604 | 604 | return 0; |
| 605 | 605 | } |
| 606 | 606 | |
| 607 | −AVCodec ff_mts2_decoder = { | |
| 607 | +const AVCodec ff_mts2_decoder = { | |
| 608 | 608 | .name = "mts2", |
| 609 | 609 | .long_name = NULL_IF_CONFIG_SMALL("MS Expression Encoder Screen"), |
| 610 | 610 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -341,7 +341,7 @@ static av_cold int msvideo1_decode_end(AVCodecContext *avctx) · 340 unmodified lines | ||
| 341 | 341 | return 0; |
| 342 | 342 | } |
| 343 | 343 | |
| 344 | −AVCodec ff_msvideo1_decoder = { | |
| 344 | +const AVCodec ff_msvideo1_decoder = { | |
| 345 | 345 | .name = "msvideo1", |
| 346 | 346 | .long_name = NULL_IF_CONFIG_SMALL("Microsoft Video 1"), |
| 347 | 347 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -292,7 +292,7 @@ static av_cold int encode_end(AVCodecContext *avctx) · 291 unmodified lines | ||
| 292 | 292 | return 0; |
| 293 | 293 | } |
| 294 | 294 | |
| 295 | −AVCodec ff_msvideo1_encoder = { | |
| 295 | +const AVCodec ff_msvideo1_encoder = { | |
| 296 | 296 | .name = "msvideo1", |
| 297 | 297 | .long_name = NULL_IF_CONFIG_SMALL("Microsoft Video-1"), |
| 298 | 298 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -702,7 +702,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 701 unmodified lines | ||
| 702 | 702 | return 0; |
| 703 | 703 | } |
| 704 | 704 | |
| 705 | −AVCodec ff_mv30_decoder = { | |
| 705 | +const AVCodec ff_mv30_decoder = { | |
| 706 | 706 | .name = "mv30", |
| 707 | 707 | .long_name = NULL_IF_CONFIG_SMALL("MidiVid 3.0"), |
| 708 | 708 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -253,7 +253,7 @@ static int mvc_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 252 unmodified lines | ||
| 253 | 253 | } |
| 254 | 254 | |
| 255 | 255 | #if CONFIG_MVC1_DECODER |
| 256 | −AVCodec ff_mvc1_decoder = { | |
| 256 | +const AVCodec ff_mvc1_decoder = { | |
| 257 | 257 | .name = "mvc1", |
| 258 | 258 | .long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 1"), |
| 259 | 259 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -266,7 +266,7 @@ AVCodec ff_mvc1_decoder = { · 6 unmodified lines | ||
| 266 | 266 | #endif |
| 267 | 267 | |
| 268 | 268 | #if CONFIG_MVC2_DECODER |
| 269 | −AVCodec ff_mvc2_decoder = { | |
| 269 | +const AVCodec ff_mvc2_decoder = { | |
| 270 | 270 | .name = "mvc2", |
| 271 | 271 | .long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 2"), |
| 272 | 272 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -307,7 +307,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 306 unmodified lines | ||
| 307 | 307 | return 0; |
| 308 | 308 | } |
| 309 | 309 | |
| 310 | −AVCodec ff_mvha_decoder = { | |
| 310 | +const AVCodec ff_mvha_decoder = { | |
| 311 | 311 | .name = "mvha", |
| 312 | 312 | .long_name = NULL_IF_CONFIG_SMALL("MidiVid Archive Codec"), |
| 313 | 313 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -177,7 +177,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 176 unmodified lines | ||
| 177 | 177 | return 0; |
| 178 | 178 | } |
| 179 | 179 | |
| 180 | −AVCodec ff_mwsc_decoder = { | |
| 180 | +const AVCodec ff_mwsc_decoder = { | |
| 181 | 181 | .name = "mwsc", |
| 182 | 182 | .long_name = NULL_IF_CONFIG_SMALL("MatchWare Screen Capture Codec"), |
| 183 | 183 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -339,7 +339,7 @@ the_end: · 338 unmodified lines | ||
| 339 | 339 | return buf_ptr - buf; |
| 340 | 340 | } |
| 341 | 341 | |
| 342 | −AVCodec ff_mxpeg_decoder = { | |
| 342 | +const AVCodec ff_mxpeg_decoder = { | |
| 343 | 343 | .name = "mxpeg", |
| 344 | 344 | .long_name = NULL_IF_CONFIG_SMALL("Mobotix MxPEG video"), |
| 345 | 345 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -186,7 +186,7 @@ static av_cold int decode_end(AVCodecContext * avctx) { · 185 unmodified lines | ||
| 186 | 186 | return 0; |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | −AVCodec ff_nellymoser_decoder = { | |
| 189 | +const AVCodec ff_nellymoser_decoder = { | |
| 190 | 190 | .name = "nellymoser", |
| 191 | 191 | .long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"), |
| 192 | 192 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -417,7 +417,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 416 unmodified lines | ||
| 417 | 417 | return 0; |
| 418 | 418 | } |
| 419 | 419 | |
| 420 | −AVCodec ff_nellymoser_encoder = { | |
| 420 | +const AVCodec ff_nellymoser_encoder = { | |
| 421 | 421 | .name = "nellymoser", |
| 422 | 422 | .long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"), |
| 423 | 423 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -537,7 +537,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 536 unmodified lines | ||
| 537 | 537 | return 0; |
| 538 | 538 | } |
| 539 | 539 | |
| 540 | −AVCodec ff_notchlc_decoder = { | |
| 540 | +const AVCodec ff_notchlc_decoder = { | |
| 541 | 541 | .name = "notchlc", |
| 542 | 542 | .long_name = NULL_IF_CONFIG_SMALL("NotchLC"), |
| 543 | 543 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -362,7 +362,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 361 unmodified lines | ||
| 362 | 362 | return 0; |
| 363 | 363 | } |
| 364 | 364 | |
| 365 | −AVCodec ff_nuv_decoder = { | |
| 365 | +const AVCodec ff_nuv_decoder = { | |
| 366 | 366 | .name = "nuv", |
| 367 | 367 | .long_name = NULL_IF_CONFIG_SMALL("NuppelVideo/RTJPEG"), |
| 368 | 368 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -205,7 +205,7 @@ static const AVClass h264_nvenc_class = { · 204 unmodified lines | ||
| 205 | 205 | .version = LIBAVUTIL_VERSION_INT, |
| 206 | 206 | }; |
| 207 | 207 | |
| 208 | −AVCodec ff_h264_nvenc_encoder = { | |
| 208 | +const AVCodec ff_h264_nvenc_encoder = { | |
| 209 | 209 | .name = "h264_nvenc", |
| 210 | 210 | .long_name = NULL_IF_CONFIG_SMALL("NVIDIA NVENC H.264 encoder"), |
| 211 | 211 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -186,7 +186,7 @@ static const AVClass hevc_nvenc_class = { · 185 unmodified lines | ||
| 186 | 186 | .version = LIBAVUTIL_VERSION_INT, |
| 187 | 187 | }; |
| 188 | 188 | |
| 189 | −AVCodec ff_hevc_nvenc_encoder = { | |
| 189 | +const AVCodec ff_hevc_nvenc_encoder = { | |
| 190 | 190 | .name = "hevc_nvenc", |
| 191 | 191 | .long_name = NULL_IF_CONFIG_SMALL("NVIDIA NVENC hevc encoder"), |
| 192 | 192 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -951,7 +951,7 @@ static const AVClass omx_mpeg4enc_class = { · 950 unmodified lines | ||
| 951 | 951 | .option = options, |
| 952 | 952 | .version = LIBAVUTIL_VERSION_INT, |
| 953 | 953 | }; |
| 954 | −AVCodec ff_mpeg4_omx_encoder = { | |
| 954 | +const AVCodec ff_mpeg4_omx_encoder = { | |
| 955 | 955 | .name = "mpeg4_omx", |
| 956 | 956 | .long_name = NULL_IF_CONFIG_SMALL("OpenMAX IL MPEG-4 video encoder"), |
| 957 | 957 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -972,7 +972,7 @@ static const AVClass omx_h264enc_class = { · 14 unmodified lines | ||
| 972 | 972 | .option = options, |
| 973 | 973 | .version = LIBAVUTIL_VERSION_INT, |
| 974 | 974 | }; |
| 975 | −AVCodec ff_h264_omx_encoder = { | |
| 975 | +const AVCodec ff_h264_omx_encoder = { | |
| 976 | 976 | .name = "h264_omx", |
| 977 | 977 | .long_name = NULL_IF_CONFIG_SMALL("OpenMAX IL H.264 video encoder"), |
| 978 | 978 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1002,7 +1002,7 @@ static av_cold int on2avc_decode_close(AVCodecContext *avctx) · 1001 unmodified lines | ||
| 1002 | 1002 | } |
| 1003 | 1003 | |
| 1004 | 1004 | |
| 1005 | −AVCodec ff_on2avc_decoder = { | |
| 1005 | +const AVCodec ff_on2avc_decoder = { | |
| 1006 | 1006 | .name = "on2avc", |
| 1007 | 1007 | .long_name = NULL_IF_CONFIG_SMALL("On2 Audio for Video Codec"), |
| 1008 | 1008 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -704,7 +704,7 @@ static const AVClass opus_class = { · 703 unmodified lines | ||
| 704 | 704 | .version = LIBAVUTIL_VERSION_INT, |
| 705 | 705 | }; |
| 706 | 706 | |
| 707 | −AVCodec ff_opus_decoder = { | |
| 707 | +const AVCodec ff_opus_decoder = { | |
| 708 | 708 | .name = "opus", |
| 709 | 709 | .long_name = NULL_IF_CONFIG_SMALL("Opus"), |
| 710 | 710 | .priv_class = &opus_class, |
| @@ -719,7 +719,7 @@ static const AVCodecDefault opusenc_defaults[] = { · 718 unmodified lines | ||
| 719 | 719 | { NULL }, |
| 720 | 720 | }; |
| 721 | 721 | |
| 722 | −AVCodec ff_opus_encoder = { | |
| 722 | +const AVCodec ff_opus_encoder = { | |
| 723 | 723 | .name = "opus", |
| 724 | 724 | .long_name = NULL_IF_CONFIG_SMALL("Opus"), |
| 725 | 725 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -71,7 +71,7 @@ static int paf_audio_decode(AVCodecContext *avctx, void *data, · 70 unmodified lines | ||
| 71 | 71 | return pkt->size; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | −AVCodec ff_paf_audio_decoder = { | |
| 74 | +const AVCodec ff_paf_audio_decoder = { | |
| 75 | 75 | .name = "paf_audio", |
| 76 | 76 | .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio"), |
| 77 | 77 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -407,7 +407,7 @@ static int paf_video_decode(AVCodecContext *avctx, void *data, · 406 unmodified lines | ||
| 407 | 407 | return pkt->size; |
| 408 | 408 | } |
| 409 | 409 | |
| 410 | −AVCodec ff_paf_video_decoder = { | |
| 410 | +const AVCodec ff_paf_video_decoder = { | |
| 411 | 411 | .name = "paf_video", |
| 412 | 412 | .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Video"), |
| 413 | 413 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -127,7 +127,7 @@ static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 126 unmodified lines | ||
| 127 | 127 | return 0; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | −AVCodec ff_pam_encoder = { | |
| 130 | +const AVCodec ff_pam_encoder = { | |
| 131 | 131 | .name = "pam", |
| 132 | 132 | .long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"), |
| 133 | 133 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -301,7 +301,7 @@ static int pcm_bluray_decode_frame(AVCodecContext *avctx, void *data, · 300 unmodified lines | ||
| 301 | 301 | return retval + 4; |
| 302 | 302 | } |
| 303 | 303 | |
| 304 | −AVCodec ff_pcm_bluray_decoder = { | |
| 304 | +const AVCodec ff_pcm_bluray_decoder = { | |
| 305 | 305 | .name = "pcm_bluray", |
| 306 | 306 | .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"), |
| 307 | 307 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -291,7 +291,7 @@ static int pcm_dvd_decode_frame(AVCodecContext *avctx, void *data, · 290 unmodified lines | ||
| 291 | 291 | return avpkt->size; |
| 292 | 292 | } |
| 293 | 293 | |
| 294 | −AVCodec ff_pcm_dvd_decoder = { | |
| 294 | +const AVCodec ff_pcm_dvd_decoder = { | |
| 295 | 295 | .name = "pcm_dvd", |
| 296 | 296 | .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for DVD media"), |
| 297 | 297 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -170,7 +170,7 @@ static int pcm_dvd_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 169 unmodified lines | ||
| 170 | 170 | return 0; |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | −AVCodec ff_pcm_dvd_encoder = { | |
| 173 | +const AVCodec ff_pcm_dvd_encoder = { | |
| 174 | 174 | .name = "pcm_dvd", |
| 175 | 175 | .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for DVD media"), |
| 176 | 176 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -550,7 +550,7 @@ static int pcm_decode_frame(AVCodecContext *avctx, void *data, · 549 unmodified lines | ||
| 550 | 550 | |
| 551 | 551 | #define PCM_ENCODER_0(id_, sample_fmt_, name_, long_name_) |
| 552 | 552 | #define PCM_ENCODER_1(id_, sample_fmt_, name_, long_name_) \ |
| 553 | −AVCodec ff_ ## name_ ## _encoder = { \ | |
| 553 | +const AVCodec ff_ ## name_ ## _encoder = { \ | |
| 554 | 554 | .name = #name_, \ |
| 555 | 555 | .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ |
| 556 | 556 | .type = AVMEDIA_TYPE_AUDIO, \ |
| @@ -572,7 +572,7 @@ AVCodec ff_ ## name_ ## _encoder = { \ · 15 unmodified lines | ||
| 572 | 572 | |
| 573 | 573 | #define PCM_DECODER_0(id, sample_fmt, name, long_name) |
| 574 | 574 | #define PCM_DECODER_1(id_, sample_fmt_, name_, long_name_) \ |
| 575 | −AVCodec ff_ ## name_ ## _decoder = { \ | |
| 575 | +const AVCodec ff_ ## name_ ## _decoder = { \ | |
| 576 | 576 | .name = #name_, \ |
| 577 | 577 | .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ |
| 578 | 578 | .type = AVMEDIA_TYPE_AUDIO, \ |
| @@ -249,7 +249,7 @@ end: · 248 unmodified lines | ||
| 249 | 249 | return ret; |
| 250 | 250 | } |
| 251 | 251 | |
| 252 | −AVCodec ff_pcx_decoder = { | |
| 252 | +const AVCodec ff_pcx_decoder = { | |
| 253 | 253 | .name = "pcx", |
| 254 | 254 | .long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"), |
| 255 | 255 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -192,7 +192,7 @@ static int pcx_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 191 unmodified lines | ||
| 192 | 192 | return 0; |
| 193 | 193 | } |
| 194 | 194 | |
| 195 | −AVCodec ff_pcx_encoder = { | |
| 195 | +const AVCodec ff_pcx_encoder = { | |
| 196 | 196 | .name = "pcx", |
| 197 | 197 | .long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"), |
| 198 | 198 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -703,7 +703,7 @@ static const AVClass pgsdec_class = { · 702 unmodified lines | ||
| 703 | 703 | .version = LIBAVUTIL_VERSION_INT, |
| 704 | 704 | }; |
| 705 | 705 | |
| 706 | −AVCodec ff_pgssub_decoder = { | |
| 706 | +const AVCodec ff_pgssub_decoder = { | |
| 707 | 707 | .name = "pgssub", |
| 708 | 708 | .long_name = NULL_IF_CONFIG_SMALL("HDMV Presentation Graphic Stream subtitles"), |
| 709 | 709 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -158,7 +158,7 @@ static int pgx_decode_frame(AVCodecContext *avctx, void *data, · 157 unmodified lines | ||
| 158 | 158 | return 0; |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | −AVCodec ff_pgx_decoder = { | |
| 161 | +const AVCodec ff_pgx_decoder = { | |
| 162 | 162 | .name = "pgx", |
| 163 | 163 | .long_name = NULL_IF_CONFIG_SMALL("PGX (JPEG2000 Test Format)"), |
| 164 | 164 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -458,7 +458,7 @@ static const AVClass photocd_class = { · 457 unmodified lines | ||
| 458 | 458 | .version = LIBAVUTIL_VERSION_INT, |
| 459 | 459 | }; |
| 460 | 460 | |
| 461 | −AVCodec ff_photocd_decoder = { | |
| 461 | +const AVCodec ff_photocd_decoder = { | |
| 462 | 462 | .name = "photocd", |
| 463 | 463 | .type = AVMEDIA_TYPE_VIDEO, |
| 464 | 464 | .id = AV_CODEC_ID_PHOTOCD, |
| @@ -281,7 +281,7 @@ finish: · 280 unmodified lines | ||
| 281 | 281 | return avpkt->size; |
| 282 | 282 | } |
| 283 | 283 | |
| 284 | −AVCodec ff_pictor_decoder = { | |
| 284 | +const AVCodec ff_pictor_decoder = { | |
| 285 | 285 | .name = "pictor", |
| 286 | 286 | .long_name = NULL_IF_CONFIG_SMALL("Pictor/PC Paint"), |
| 287 | 287 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -693,7 +693,7 @@ static int pixlet_decode_frame(AVCodecContext *avctx, void *data, · 692 unmodified lines | ||
| 693 | 693 | return pktsize; |
| 694 | 694 | } |
| 695 | 695 | |
| 696 | −AVCodec ff_pixlet_decoder = { | |
| 696 | +const AVCodec ff_pixlet_decoder = { | |
| 697 | 697 | .name = "pixlet", |
| 698 | 698 | .long_name = NULL_IF_CONFIG_SMALL("Apple Pixlet"), |
| 699 | 699 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1728,7 +1728,7 @@ static av_cold int png_dec_end(AVCodecContext *avctx) · 1727 unmodified lines | ||
| 1728 | 1728 | } |
| 1729 | 1729 | |
| 1730 | 1730 | #if CONFIG_APNG_DECODER |
| 1731 | −AVCodec ff_apng_decoder = { | |
| 1731 | +const AVCodec ff_apng_decoder = { | |
| 1732 | 1732 | .name = "apng", |
| 1733 | 1733 | .long_name = NULL_IF_CONFIG_SMALL("APNG (Animated Portable Network Graphics) image"), |
| 1734 | 1734 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1745,7 +1745,7 @@ AVCodec ff_apng_decoder = { · 10 unmodified lines | ||
| 1745 | 1745 | #endif |
| 1746 | 1746 | |
| 1747 | 1747 | #if CONFIG_PNG_DECODER |
| 1748 | −AVCodec ff_png_decoder = { | |
| 1748 | +const AVCodec ff_png_decoder = { | |
| 1749 | 1749 | .name = "png", |
| 1750 | 1750 | .long_name = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"), |
| 1751 | 1751 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1121,7 +1121,7 @@ static const AVClass apngenc_class = { · 1120 unmodified lines | ||
| 1121 | 1121 | .version = LIBAVUTIL_VERSION_INT, |
| 1122 | 1122 | }; |
| 1123 | 1123 | |
| 1124 | −AVCodec ff_png_encoder = { | |
| 1124 | +const AVCodec ff_png_encoder = { | |
| 1125 | 1125 | .name = "png", |
| 1126 | 1126 | .long_name = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"), |
| 1127 | 1127 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1142,7 +1142,7 @@ AVCodec ff_png_encoder = { · 14 unmodified lines | ||
| 1142 | 1142 | .priv_class = &pngenc_class, |
| 1143 | 1143 | }; |
| 1144 | 1144 | |
| 1145 | −AVCodec ff_apng_encoder = { | |
| 1145 | +const AVCodec ff_apng_encoder = { | |
| 1146 | 1146 | .name = "apng", |
| 1147 | 1147 | .long_name = NULL_IF_CONFIG_SMALL("APNG (Animated Portable Network Graphics) image"), |
| 1148 | 1148 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -329,7 +329,7 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data, · 328 unmodified lines | ||
| 329 | 329 | |
| 330 | 330 | |
| 331 | 331 | #if CONFIG_PGM_DECODER |
| 332 | −AVCodec ff_pgm_decoder = { | |
| 332 | +const AVCodec ff_pgm_decoder = { | |
| 333 | 333 | .name = "pgm", |
| 334 | 334 | .long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"), |
| 335 | 335 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -341,7 +341,7 @@ AVCodec ff_pgm_decoder = { · 5 unmodified lines | ||
| 341 | 341 | #endif |
| 342 | 342 | |
| 343 | 343 | #if CONFIG_PGMYUV_DECODER |
| 344 | −AVCodec ff_pgmyuv_decoder = { | |
| 344 | +const AVCodec ff_pgmyuv_decoder = { | |
| 345 | 345 | .name = "pgmyuv", |
| 346 | 346 | .long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"), |
| 347 | 347 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -353,7 +353,7 @@ AVCodec ff_pgmyuv_decoder = { · 5 unmodified lines | ||
| 353 | 353 | #endif |
| 354 | 354 | |
| 355 | 355 | #if CONFIG_PPM_DECODER |
| 356 | −AVCodec ff_ppm_decoder = { | |
| 356 | +const AVCodec ff_ppm_decoder = { | |
| 357 | 357 | .name = "ppm", |
| 358 | 358 | .long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"), |
| 359 | 359 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -365,7 +365,7 @@ AVCodec ff_ppm_decoder = { · 5 unmodified lines | ||
| 365 | 365 | #endif |
| 366 | 366 | |
| 367 | 367 | #if CONFIG_PBM_DECODER |
| 368 | −AVCodec ff_pbm_decoder = { | |
| 368 | +const AVCodec ff_pbm_decoder = { | |
| 369 | 369 | .name = "pbm", |
| 370 | 370 | .long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"), |
| 371 | 371 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -377,7 +377,7 @@ AVCodec ff_pbm_decoder = { · 5 unmodified lines | ||
| 377 | 377 | #endif |
| 378 | 378 | |
| 379 | 379 | #if CONFIG_PAM_DECODER |
| 380 | −AVCodec ff_pam_decoder = { | |
| 380 | +const AVCodec ff_pam_decoder = { | |
| 381 | 381 | .name = "pam", |
| 382 | 382 | .long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"), |
| 383 | 383 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -389,7 +389,7 @@ AVCodec ff_pam_decoder = { · 5 unmodified lines | ||
| 389 | 389 | #endif |
| 390 | 390 | |
| 391 | 391 | #if CONFIG_PFM_DECODER |
| 392 | −AVCodec ff_pfm_decoder = { | |
| 392 | +const AVCodec ff_pfm_decoder = { | |
| 393 | 393 | .name = "pfm", |
| 394 | 394 | .long_name = NULL_IF_CONFIG_SMALL("PFM (Portable FloatMap) image"), |
| 395 | 395 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -149,7 +149,7 @@ static int pnm_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 148 unmodified lines | ||
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | #if CONFIG_PGM_ENCODER |
| 152 | −AVCodec ff_pgm_encoder = { | |
| 152 | +const AVCodec ff_pgm_encoder = { | |
| 153 | 153 | .name = "pgm", |
| 154 | 154 | .long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"), |
| 155 | 155 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -163,7 +163,7 @@ AVCodec ff_pgm_encoder = { · 7 unmodified lines | ||
| 163 | 163 | #endif |
| 164 | 164 | |
| 165 | 165 | #if CONFIG_PGMYUV_ENCODER |
| 166 | −AVCodec ff_pgmyuv_encoder = { | |
| 166 | +const AVCodec ff_pgmyuv_encoder = { | |
| 167 | 167 | .name = "pgmyuv", |
| 168 | 168 | .long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"), |
| 169 | 169 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -177,7 +177,7 @@ AVCodec ff_pgmyuv_encoder = { · 7 unmodified lines | ||
| 177 | 177 | #endif |
| 178 | 178 | |
| 179 | 179 | #if CONFIG_PPM_ENCODER |
| 180 | −AVCodec ff_ppm_encoder = { | |
| 180 | +const AVCodec ff_ppm_encoder = { | |
| 181 | 181 | .name = "ppm", |
| 182 | 182 | .long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"), |
| 183 | 183 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -191,7 +191,7 @@ AVCodec ff_ppm_encoder = { · 7 unmodified lines | ||
| 191 | 191 | #endif |
| 192 | 192 | |
| 193 | 193 | #if CONFIG_PBM_ENCODER |
| 194 | −AVCodec ff_pbm_encoder = { | |
| 194 | +const AVCodec ff_pbm_encoder = { | |
| 195 | 195 | .name = "pbm", |
| 196 | 196 | .long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"), |
| 197 | 197 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -204,7 +204,7 @@ AVCodec ff_pbm_encoder = { · 6 unmodified lines | ||
| 204 | 204 | #endif |
| 205 | 205 | |
| 206 | 206 | #if CONFIG_PFM_ENCODER |
| 207 | −AVCodec ff_pfm_encoder = { | |
| 207 | +const AVCodec ff_pfm_encoder = { | |
| 208 | 208 | .name = "pfm", |
| 209 | 209 | .long_name = NULL_IF_CONFIG_SMALL("PFM (Portable FloatMap) image"), |
| 210 | 210 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -820,7 +820,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 819 unmodified lines | ||
| 820 | 820 | return 0; |
| 821 | 821 | } |
| 822 | 822 | |
| 823 | −AVCodec ff_prores_decoder = { | |
| 823 | +const AVCodec ff_prores_decoder = { | |
| 824 | 824 | .name = "prores", |
| 825 | 825 | .long_name = NULL_IF_CONFIG_SMALL("Apple ProRes (iCodec Pro)"), |
| 826 | 826 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -944,7 +944,7 @@ static const AVClass prores_enc_class = { · 943 unmodified lines | ||
| 944 | 944 | .version = LIBAVUTIL_VERSION_INT, |
| 945 | 945 | }; |
| 946 | 946 | |
| 947 | −AVCodec ff_prores_aw_encoder = { | |
| 947 | +const AVCodec ff_prores_aw_encoder = { | |
| 948 | 948 | .name = "prores_aw", |
| 949 | 949 | .long_name = NULL_IF_CONFIG_SMALL("Apple ProRes"), |
| 950 | 950 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -960,7 +960,7 @@ AVCodec ff_prores_aw_encoder = { · 9 unmodified lines | ||
| 960 | 960 | .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, |
| 961 | 961 | }; |
| 962 | 962 | |
| 963 | −AVCodec ff_prores_encoder = { | |
| 963 | +const AVCodec ff_prores_encoder = { | |
| 964 | 964 | .name = "prores", |
| 965 | 965 | .long_name = NULL_IF_CONFIG_SMALL("Apple ProRes"), |
| 966 | 966 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1399,7 +1399,7 @@ static const AVClass proresenc_class = { · 1398 unmodified lines | ||
| 1399 | 1399 | .version = LIBAVUTIL_VERSION_INT, |
| 1400 | 1400 | }; |
| 1401 | 1401 | |
| 1402 | −AVCodec ff_prores_ks_encoder = { | |
| 1402 | +const AVCodec ff_prores_ks_encoder = { | |
| 1403 | 1403 | .name = "prores_ks", |
| 1404 | 1404 | .long_name = NULL_IF_CONFIG_SMALL("Apple ProRes (iCodec Pro)"), |
| 1405 | 1405 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -365,7 +365,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 364 unmodified lines | ||
| 365 | 365 | return 0; |
| 366 | 366 | } |
| 367 | 367 | |
| 368 | −AVCodec ff_prosumer_decoder = { | |
| 368 | +const AVCodec ff_prosumer_decoder = { | |
| 369 | 369 | .name = "prosumer", |
| 370 | 370 | .long_name = NULL_IF_CONFIG_SMALL("Brooktree ProSumer Video"), |
| 371 | 371 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -545,7 +545,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, · 544 unmodified lines | ||
| 545 | 545 | return avpkt->size; |
| 546 | 546 | } |
| 547 | 547 | |
| 548 | −AVCodec ff_psd_decoder = { | |
| 548 | +const AVCodec ff_psd_decoder = { | |
| 549 | 549 | .name = "psd", |
| 550 | 550 | .long_name = NULL_IF_CONFIG_SMALL("Photoshop PSD file"), |
| 551 | 551 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -85,7 +85,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 84 unmodified lines | ||
| 85 | 85 | return offset + w*h*bytes_per_pixel; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | −AVCodec ff_ptx_decoder = { | |
| 88 | +const AVCodec ff_ptx_decoder = { | |
| 89 | 89 | .name = "ptx", |
| 90 | 90 | .long_name = NULL_IF_CONFIG_SMALL("V.Flash PTX image"), |
| 91 | 91 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -790,7 +790,7 @@ erasure: · 789 unmodified lines | ||
| 790 | 790 | return buf_size; |
| 791 | 791 | } |
| 792 | 792 | |
| 793 | −AVCodec ff_qcelp_decoder = { | |
| 793 | +const AVCodec ff_qcelp_decoder = { | |
| 794 | 794 | .name = "qcelp", |
| 795 | 795 | .long_name = NULL_IF_CONFIG_SMALL("QCELP / PureVoice"), |
| 796 | 796 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1869,7 +1869,7 @@ static int qdm2_decode_frame(AVCodecContext *avctx, void *data, · 1868 unmodified lines | ||
| 1869 | 1869 | return s->checksum_size; |
| 1870 | 1870 | } |
| 1871 | 1871 | |
| 1872 | −AVCodec ff_qdm2_decoder = { | |
| 1872 | +const AVCodec ff_qdm2_decoder = { | |
| 1873 | 1873 | .name = "qdm2", |
| 1874 | 1874 | .long_name = NULL_IF_CONFIG_SMALL("QDesign Music Codec 2"), |
| 1875 | 1875 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -725,7 +725,7 @@ static int qdmc_decode_frame(AVCodecContext *avctx, void *data, · 724 unmodified lines | ||
| 725 | 725 | return ret; |
| 726 | 726 | } |
| 727 | 727 | |
| 728 | −AVCodec ff_qdmc_decoder = { | |
| 728 | +const AVCodec ff_qdmc_decoder = { | |
| 729 | 729 | .name = "qdmc", |
| 730 | 730 | .long_name = NULL_IF_CONFIG_SMALL("QDesign Music Codec 1"), |
| 731 | 731 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -514,7 +514,7 @@ static int decode_frame(AVCodecContext *avctx, · 513 unmodified lines | ||
| 514 | 514 | } |
| 515 | 515 | } |
| 516 | 516 | |
| 517 | −AVCodec ff_qdraw_decoder = { | |
| 517 | +const AVCodec ff_qdraw_decoder = { | |
| 518 | 518 | .name = "qdraw", |
| 519 | 519 | .long_name = NULL_IF_CONFIG_SMALL("Apple QuickDraw"), |
| 520 | 520 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -352,7 +352,7 @@ static av_cold int decode_init(AVCodecContext *avctx){ · 351 unmodified lines | ||
| 352 | 352 | return 0; |
| 353 | 353 | } |
| 354 | 354 | |
| 355 | −AVCodec ff_qpeg_decoder = { | |
| 355 | +const AVCodec ff_qpeg_decoder = { | |
| 356 | 356 | .name = "qpeg", |
| 357 | 357 | .long_name = NULL_IF_CONFIG_SMALL("Q-team QPEG"), |
| 358 | 358 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -829,7 +829,7 @@ static const AVClass x##_qsv_class = { \ · 828 unmodified lines | ||
| 829 | 829 | .option = opt, \ |
| 830 | 830 | .version = LIBAVUTIL_VERSION_INT, \ |
| 831 | 831 | }; \ |
| 832 | −AVCodec ff_##x##_qsv_decoder = { \ | |
| 832 | +const AVCodec ff_##x##_qsv_decoder = { \ | |
| 833 | 833 | .name = #x "_qsv", \ |
| 834 | 834 | .long_name = NULL_IF_CONFIG_SMALL(#X " video (Intel Quick Sync Video acceleration)"), \ |
| 835 | 835 | .priv_data_size = sizeof(QSVDecContext), \ |
| @@ -174,7 +174,7 @@ static const AVCodecDefault qsv_enc_defaults[] = { · 173 unmodified lines | ||
| 174 | 174 | { NULL }, |
| 175 | 175 | }; |
| 176 | 176 | |
| 177 | −AVCodec ff_h264_qsv_encoder = { | |
| 177 | +const AVCodec ff_h264_qsv_encoder = { | |
| 178 | 178 | .name = "h264_qsv", |
| 179 | 179 | .long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (Intel Quick Sync Video acceleration)"), |
| 180 | 180 | .priv_data_size = sizeof(QSVH264EncContext), |
| @@ -270,7 +270,7 @@ static const AVCodecDefault qsv_enc_defaults[] = { · 269 unmodified lines | ||
| 270 | 270 | { NULL }, |
| 271 | 271 | }; |
| 272 | 272 | |
| 273 | −AVCodec ff_hevc_qsv_encoder = { | |
| 273 | +const AVCodec ff_hevc_qsv_encoder = { | |
| 274 | 274 | .name = "hevc_qsv", |
| 275 | 275 | .long_name = NULL_IF_CONFIG_SMALL("HEVC (Intel Quick Sync Video acceleration)"), |
| 276 | 276 | .priv_data_size = sizeof(QSVHEVCEncContext), |
| @@ -79,7 +79,7 @@ static const AVCodecDefault qsv_enc_defaults[] = { · 78 unmodified lines | ||
| 79 | 79 | { NULL }, |
| 80 | 80 | }; |
| 81 | 81 | |
| 82 | −AVCodec ff_mjpeg_qsv_encoder = { | |
| 82 | +const AVCodec ff_mjpeg_qsv_encoder = { | |
| 83 | 83 | .name = "mjpeg_qsv", |
| 84 | 84 | .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Intel Quick Sync Video acceleration)"), |
| 85 | 85 | .priv_data_size = sizeof(QSVMJPEGEncContext), |
| @@ -92,7 +92,7 @@ static const AVCodecDefault qsv_enc_defaults[] = { · 91 unmodified lines | ||
| 92 | 92 | { NULL }, |
| 93 | 93 | }; |
| 94 | 94 | |
| 95 | −AVCodec ff_mpeg2_qsv_encoder = { | |
| 95 | +const AVCodec ff_mpeg2_qsv_encoder = { | |
| 96 | 96 | .name = "mpeg2_qsv", |
| 97 | 97 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 video (Intel Quick Sync Video acceleration)"), |
| 98 | 98 | .priv_data_size = sizeof(QSVMpeg2EncContext), |
| @@ -92,7 +92,7 @@ static const AVCodecDefault qsv_enc_defaults[] = { · 91 unmodified lines | ||
| 92 | 92 | { NULL }, |
| 93 | 93 | }; |
| 94 | 94 | |
| 95 | −AVCodec ff_vp9_qsv_encoder = { | |
| 95 | +const AVCodec ff_vp9_qsv_encoder = { | |
| 96 | 96 | .name = "vp9_qsv", |
| 97 | 97 | .long_name = NULL_IF_CONFIG_SMALL("VP9 video (Intel Quick Sync Video acceleration)"), |
| 98 | 98 | .priv_data_size = sizeof(QSVVP9EncContext), |
| @@ -581,7 +581,7 @@ static av_cold int qtrle_decode_end(AVCodecContext *avctx) · 580 unmodified lines | ||
| 581 | 581 | return 0; |
| 582 | 582 | } |
| 583 | 583 | |
| 584 | −AVCodec ff_qtrle_decoder = { | |
| 584 | +const AVCodec ff_qtrle_decoder = { | |
| 585 | 585 | .name = "qtrle", |
| 586 | 586 | .long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"), |
| 587 | 587 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -398,7 +398,7 @@ static int qtrle_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 397 unmodified lines | ||
| 398 | 398 | return 0; |
| 399 | 399 | } |
| 400 | 400 | |
| 401 | −AVCodec ff_qtrle_encoder = { | |
| 401 | +const AVCodec ff_qtrle_encoder = { | |
| 402 | 402 | .name = "qtrle", |
| 403 | 403 | .long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"), |
| 404 | 404 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -102,7 +102,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 101 unmodified lines | ||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | #if CONFIG_R210_DECODER |
| 105 | −AVCodec ff_r210_decoder = { | |
| 105 | +const AVCodec ff_r210_decoder = { | |
| 106 | 106 | .name = "r210", |
| 107 | 107 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed RGB 10-bit"), |
| 108 | 108 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -114,7 +114,7 @@ AVCodec ff_r210_decoder = { · 5 unmodified lines | ||
| 114 | 114 | }; |
| 115 | 115 | #endif |
| 116 | 116 | #if CONFIG_R10K_DECODER |
| 117 | −AVCodec ff_r10k_decoder = { | |
| 117 | +const AVCodec ff_r10k_decoder = { | |
| 118 | 118 | .name = "r10k", |
| 119 | 119 | .long_name = NULL_IF_CONFIG_SMALL("AJA Kona 10-bit RGB Codec"), |
| 120 | 120 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -126,7 +126,7 @@ AVCodec ff_r10k_decoder = { · 5 unmodified lines | ||
| 126 | 126 | }; |
| 127 | 127 | #endif |
| 128 | 128 | #if CONFIG_AVRP_DECODER |
| 129 | −AVCodec ff_avrp_decoder = { | |
| 129 | +const AVCodec ff_avrp_decoder = { | |
| 130 | 130 | .name = "avrp", |
| 131 | 131 | .long_name = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"), |
| 132 | 132 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -86,7 +86,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 85 unmodified lines | ||
| 86 | 86 | |
| 87 | 87 | |
| 88 | 88 | #if CONFIG_R210_ENCODER |
| 89 | −AVCodec ff_r210_encoder = { | |
| 89 | +const AVCodec ff_r210_encoder = { | |
| 90 | 90 | .name = "r210", |
| 91 | 91 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed RGB 10-bit"), |
| 92 | 92 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -97,7 +97,7 @@ AVCodec ff_r210_encoder = { · 4 unmodified lines | ||
| 97 | 97 | }; |
| 98 | 98 | #endif |
| 99 | 99 | #if CONFIG_R10K_ENCODER |
| 100 | −AVCodec ff_r10k_encoder = { | |
| 100 | +const AVCodec ff_r10k_encoder = { | |
| 101 | 101 | .name = "r10k", |
| 102 | 102 | .long_name = NULL_IF_CONFIG_SMALL("AJA Kona 10-bit RGB Codec"), |
| 103 | 103 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -108,7 +108,7 @@ AVCodec ff_r10k_encoder = { · 4 unmodified lines | ||
| 108 | 108 | }; |
| 109 | 109 | #endif |
| 110 | 110 | #if CONFIG_AVRP_ENCODER |
| 111 | −AVCodec ff_avrp_encoder = { | |
| 111 | +const AVCodec ff_avrp_encoder = { | |
| 112 | 112 | .name = "avrp", |
| 113 | 113 | .long_name = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"), |
| 114 | 114 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -126,7 +126,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *data, · 125 unmodified lines | ||
| 126 | 126 | return FRAME_SIZE; |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | −AVCodec ff_ra_144_decoder = { | |
| 129 | +const AVCodec ff_ra_144_decoder = { | |
| 130 | 130 | .name = "real_144", |
| 131 | 131 | .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"), |
| 132 | 132 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -539,7 +539,7 @@ static int ra144_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 538 unmodified lines | ||
| 539 | 539 | } |
| 540 | 540 | |
| 541 | 541 | |
| 542 | −AVCodec ff_ra_144_encoder = { | |
| 542 | +const AVCodec ff_ra_144_encoder = { | |
| 543 | 543 | .name = "real_144", |
| 544 | 544 | .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"), |
| 545 | 545 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -237,7 +237,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data, · 236 unmodified lines | ||
| 237 | 237 | return avctx->block_align; |
| 238 | 238 | } |
| 239 | 239 | |
| 240 | −AVCodec ff_ra_288_decoder = { | |
| 240 | +const AVCodec ff_ra_288_decoder = { | |
| 241 | 241 | .name = "real_288", |
| 242 | 242 | .long_name = NULL_IF_CONFIG_SMALL("RealAudio 2.0 (28.8K)"), |
| 243 | 243 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -525,7 +525,7 @@ static void decode_flush(AVCodecContext *avctx) · 524 unmodified lines | ||
| 525 | 525 | } |
| 526 | 526 | |
| 527 | 527 | |
| 528 | −AVCodec ff_ralf_decoder = { | |
| 528 | +const AVCodec ff_ralf_decoder = { | |
| 529 | 529 | .name = "ralf", |
| 530 | 530 | .long_name = NULL_IF_CONFIG_SMALL("RealAudio Lossless"), |
| 531 | 531 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -805,7 +805,7 @@ static const AVClass rasc_decoder_class = { · 804 unmodified lines | ||
| 805 | 805 | .version = LIBAVUTIL_VERSION_INT, |
| 806 | 806 | }; |
| 807 | 807 | |
| 808 | −AVCodec ff_rasc_decoder = { | |
| 808 | +const AVCodec ff_rasc_decoder = { | |
| 809 | 809 | .name = "rasc", |
| 810 | 810 | .long_name = NULL_IF_CONFIG_SMALL("RemotelyAnywhere Screen Capture"), |
| 811 | 811 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -481,7 +481,7 @@ static av_cold int raw_close_decoder(AVCodecContext *avctx) · 480 unmodified lines | ||
| 481 | 481 | return 0; |
| 482 | 482 | } |
| 483 | 483 | |
| 484 | −AVCodec ff_rawvideo_decoder = { | |
| 484 | +const AVCodec ff_rawvideo_decoder = { | |
| 485 | 485 | .name = "rawvideo", |
| 486 | 486 | .long_name = NULL_IF_CONFIG_SMALL("raw video"), |
| 487 | 487 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -80,7 +80,7 @@ static int raw_encode(AVCodecContext *avctx, AVPacket *pkt, · 79 unmodified lines | ||
| 80 | 80 | return 0; |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | −AVCodec ff_rawvideo_encoder = { | |
| 83 | +const AVCodec ff_rawvideo_encoder = { | |
| 84 | 84 | .name = "rawvideo", |
| 85 | 85 | .long_name = NULL_IF_CONFIG_SMALL("raw video"), |
| 86 | 86 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -74,7 +74,7 @@ static int realtext_decode_frame(AVCodecContext *avctx, · 73 unmodified lines | ||
| 74 | 74 | return avpkt->size; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | −AVCodec ff_realtext_decoder = { | |
| 77 | +const AVCodec ff_realtext_decoder = { | |
| 78 | 78 | .name = "realtext", |
| 79 | 79 | .long_name = NULL_IF_CONFIG_SMALL("RealText subtitle"), |
| 80 | 80 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -561,7 +561,7 @@ static const AVCodecHWConfigInternal *const rkmpp_hw_configs[] = { · 560 unmodified lines | ||
| 561 | 561 | |
| 562 | 562 | #define RKMPP_DEC(NAME, ID, BSFS) \ |
| 563 | 563 | RKMPP_DEC_CLASS(NAME) \ |
| 564 | − AVCodec ff_##NAME##_rkmpp_decoder = { \ | |
| 564 | + const AVCodec ff_##NAME##_rkmpp_decoder = { \ | |
| 565 | 565 | .name = #NAME "_rkmpp", \ |
| 566 | 566 | .long_name = NULL_IF_CONFIG_SMALL(#NAME " (rkmpp)"), \ |
| 567 | 567 | .type = AVMEDIA_TYPE_VIDEO, \ |
| @@ -218,7 +218,7 @@ static av_cold int rl2_decode_end(AVCodecContext *avctx) · 217 unmodified lines | ||
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | |
| 221 | −AVCodec ff_rl2_decoder = { | |
| 221 | +const AVCodec ff_rl2_decoder = { | |
| 222 | 222 | .name = "rl2", |
| 223 | 223 | .long_name = NULL_IF_CONFIG_SMALL("RL2 video"), |
| 224 | 224 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -183,7 +183,7 @@ static int roq_dpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 182 unmodified lines | ||
| 183 | 183 | return 0; |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | −AVCodec ff_roq_dpcm_encoder = { | |
| 186 | +const AVCodec ff_roq_dpcm_encoder = { | |
| 187 | 187 | .name = "roq_dpcm", |
| 188 | 188 | .long_name = NULL_IF_CONFIG_SMALL("id RoQ DPCM"), |
| 189 | 189 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -233,7 +233,7 @@ static av_cold int roq_decode_end(AVCodecContext *avctx) · 232 unmodified lines | ||
| 233 | 233 | return 0; |
| 234 | 234 | } |
| 235 | 235 | |
| 236 | −AVCodec ff_roq_decoder = { | |
| 236 | +const AVCodec ff_roq_decoder = { | |
| 237 | 237 | .name = "roqvideo", |
| 238 | 238 | .long_name = NULL_IF_CONFIG_SMALL("id RoQ video"), |
| 239 | 239 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1119,7 +1119,7 @@ static const AVClass roq_class = { · 1118 unmodified lines | ||
| 1119 | 1119 | .version = LIBAVUTIL_VERSION_INT, |
| 1120 | 1120 | }; |
| 1121 | 1121 | |
| 1122 | −AVCodec ff_roq_encoder = { | |
| 1122 | +const AVCodec ff_roq_encoder = { | |
| 1123 | 1123 | .name = "roqvideo", |
| 1124 | 1124 | .long_name = NULL_IF_CONFIG_SMALL("id RoQ video"), |
| 1125 | 1125 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -286,7 +286,7 @@ static av_cold int rpza_decode_end(AVCodecContext *avctx) · 285 unmodified lines | ||
| 286 | 286 | return 0; |
| 287 | 287 | } |
| 288 | 288 | |
| 289 | −AVCodec ff_rpza_decoder = { | |
| 289 | +const AVCodec ff_rpza_decoder = { | |
| 290 | 290 | .name = "rpza", |
| 291 | 291 | .long_name = NULL_IF_CONFIG_SMALL("QuickTime video (RPZA)"), |
| 292 | 292 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -842,7 +842,7 @@ static const AVClass rpza_class = { · 841 unmodified lines | ||
| 842 | 842 | .version = LIBAVUTIL_VERSION_INT, |
| 843 | 843 | }; |
| 844 | 844 | |
| 845 | −AVCodec ff_rpza_encoder = { | |
| 845 | +const AVCodec ff_rpza_encoder = { | |
| 846 | 846 | .name = "rpza", |
| 847 | 847 | .long_name = NULL_IF_CONFIG_SMALL("QuickTime video (RPZA)"), |
| 848 | 848 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -362,7 +362,7 @@ end: · 361 unmodified lines | ||
| 362 | 362 | return ret; |
| 363 | 363 | } |
| 364 | 364 | |
| 365 | −AVCodec ff_rscc_decoder = { | |
| 365 | +const AVCodec ff_rscc_decoder = { | |
| 366 | 366 | .name = "rscc", |
| 367 | 367 | .long_name = NULL_IF_CONFIG_SMALL("innoHeim/Rsupport Screen Capture Codec"), |
| 368 | 368 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -681,7 +681,7 @@ static int rv10_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 680 unmodified lines | ||
| 681 | 681 | return avpkt->size; |
| 682 | 682 | } |
| 683 | 683 | |
| 684 | −AVCodec ff_rv10_decoder = { | |
| 684 | +const AVCodec ff_rv10_decoder = { | |
| 685 | 685 | .name = "rv10", |
| 686 | 686 | .long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"), |
| 687 | 687 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -698,7 +698,7 @@ AVCodec ff_rv10_decoder = { · 10 unmodified lines | ||
| 698 | 698 | }, |
| 699 | 699 | }; |
| 700 | 700 | |
| 701 | −AVCodec ff_rv20_decoder = { | |
| 701 | +const AVCodec ff_rv20_decoder = { | |
| 702 | 702 | .name = "rv20", |
| 703 | 703 | .long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"), |
| 704 | 704 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -70,7 +70,7 @@ static const AVClass rv10_class = { · 69 unmodified lines | ||
| 70 | 70 | .version = LIBAVUTIL_VERSION_INT, |
| 71 | 71 | }; |
| 72 | 72 | |
| 73 | −AVCodec ff_rv10_encoder = { | |
| 73 | +const AVCodec ff_rv10_encoder = { | |
| 74 | 74 | .name = "rv10", |
| 75 | 75 | .long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"), |
| 76 | 76 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -67,7 +67,7 @@ static const AVClass rv20_class = { · 66 unmodified lines | ||
| 67 | 67 | .version = LIBAVUTIL_VERSION_INT, |
| 68 | 68 | }; |
| 69 | 69 | |
| 70 | −AVCodec ff_rv20_encoder = { | |
| 70 | +const AVCodec ff_rv20_encoder = { | |
| 71 | 71 | .name = "rv20", |
| 72 | 72 | .long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"), |
| 73 | 73 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -289,7 +289,7 @@ static av_cold int rv30_decode_init(AVCodecContext *avctx) · 288 unmodified lines | ||
| 289 | 289 | return 0; |
| 290 | 290 | } |
| 291 | 291 | |
| 292 | −AVCodec ff_rv30_decoder = { | |
| 292 | +const AVCodec ff_rv30_decoder = { | |
| 293 | 293 | .name = "rv30", |
| 294 | 294 | .long_name = NULL_IF_CONFIG_SMALL("RealVideo 3.0"), |
| 295 | 295 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -571,7 +571,7 @@ static av_cold int rv40_decode_init(AVCodecContext *avctx) · 570 unmodified lines | ||
| 571 | 571 | return 0; |
| 572 | 572 | } |
| 573 | 573 | |
| 574 | −AVCodec ff_rv40_decoder = { | |
| 574 | +const AVCodec ff_rv40_decoder = { | |
| 575 | 575 | .name = "rv40", |
| 576 | 576 | .long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"), |
| 577 | 577 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -218,7 +218,7 @@ static const AVClass s302m_class = { · 217 unmodified lines | ||
| 218 | 218 | .version = LIBAVUTIL_VERSION_INT, |
| 219 | 219 | }; |
| 220 | 220 | |
| 221 | −AVCodec ff_s302m_decoder = { | |
| 221 | +const AVCodec ff_s302m_decoder = { | |
| 222 | 222 | .name = "s302m", |
| 223 | 223 | .long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"), |
| 224 | 224 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -167,7 +167,7 @@ static int s302m_encode2_frame(AVCodecContext *avctx, AVPacket *avpkt, · 166 unmodified lines | ||
| 167 | 167 | return 0; |
| 168 | 168 | } |
| 169 | 169 | |
| 170 | −AVCodec ff_s302m_encoder = { | |
| 170 | +const AVCodec ff_s302m_encoder = { | |
| 171 | 171 | .name = "s302m", |
| 172 | 172 | .long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"), |
| 173 | 173 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -180,7 +180,7 @@ static void sami_flush(AVCodecContext *avctx) · 179 unmodified lines | ||
| 180 | 180 | sami->readorder = 0; |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | −AVCodec ff_sami_decoder = { | |
| 183 | +const AVCodec ff_sami_decoder = { | |
| 184 | 184 | .name = "sami", |
| 185 | 185 | .long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle"), |
| 186 | 186 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -1515,7 +1515,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, · 1514 unmodified lines | ||
| 1515 | 1515 | return pkt->size; |
| 1516 | 1516 | } |
| 1517 | 1517 | |
| 1518 | −AVCodec ff_sanm_decoder = { | |
| 1518 | +const AVCodec ff_sanm_decoder = { | |
| 1519 | 1519 | .name = "sanm", |
| 1520 | 1520 | .long_name = NULL_IF_CONFIG_SMALL("LucasArts SANM/Smush video"), |
| 1521 | 1521 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -363,7 +363,7 @@ static int sbc_decode_frame(AVCodecContext *avctx, · 362 unmodified lines | ||
| 363 | 363 | return frame_length; |
| 364 | 364 | } |
| 365 | 365 | |
| 366 | −AVCodec ff_sbc_decoder = { | |
| 366 | +const AVCodec ff_sbc_decoder = { | |
| 367 | 367 | .name = "sbc", |
| 368 | 368 | .long_name = NULL_IF_CONFIG_SMALL("SBC (low-complexity subband codec)"), |
| 369 | 369 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -341,7 +341,7 @@ static const AVClass sbc_class = { · 340 unmodified lines | ||
| 341 | 341 | .version = LIBAVUTIL_VERSION_INT, |
| 342 | 342 | }; |
| 343 | 343 | |
| 344 | −AVCodec ff_sbc_encoder = { | |
| 344 | +const AVCodec ff_sbc_encoder = { | |
| 345 | 345 | .name = "sbc", |
| 346 | 346 | .long_name = NULL_IF_CONFIG_SMALL("SBC (low-complexity subband codec)"), |
| 347 | 347 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -667,7 +667,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 666 unmodified lines | ||
| 667 | 667 | return 0; |
| 668 | 668 | } |
| 669 | 669 | |
| 670 | −AVCodec ff_scpr_decoder = { | |
| 670 | +const AVCodec ff_scpr_decoder = { | |
| 671 | 671 | .name = "scpr", |
| 672 | 672 | .long_name = NULL_IF_CONFIG_SMALL("ScreenPressor"), |
| 673 | 673 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -183,7 +183,7 @@ static int screenpresso_decode_frame(AVCodecContext *avctx, void *data, · 182 unmodified lines | ||
| 183 | 183 | return avpkt->size; |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | −AVCodec ff_screenpresso_decoder = { | |
| 186 | +const AVCodec ff_screenpresso_decoder = { | |
| 187 | 187 | .name = "screenpresso", |
| 188 | 188 | .long_name = NULL_IF_CONFIG_SMALL("Screenpresso"), |
| 189 | 189 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -520,7 +520,7 @@ static av_cold int sga_decode_end(AVCodecContext *avctx) · 519 unmodified lines | ||
| 520 | 520 | return 0; |
| 521 | 521 | } |
| 522 | 522 | |
| 523 | −AVCodec ff_sga_decoder = { | |
| 523 | +const AVCodec ff_sga_decoder = { | |
| 524 | 524 | .name = "sga", |
| 525 | 525 | .long_name = NULL_IF_CONFIG_SMALL("Digital Pictures SGA Video"), |
| 526 | 526 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -288,7 +288,7 @@ static av_cold int sgi_decode_init(AVCodecContext *avctx) · 287 unmodified lines | ||
| 288 | 288 | return 0; |
| 289 | 289 | } |
| 290 | 290 | |
| 291 | −AVCodec ff_sgi_decoder = { | |
| 291 | +const AVCodec ff_sgi_decoder = { | |
| 292 | 292 | .name = "sgi", |
| 293 | 293 | .long_name = NULL_IF_CONFIG_SMALL("SGI image"), |
| 294 | 294 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -270,7 +270,7 @@ static const AVClass sgi_class = { · 269 unmodified lines | ||
| 270 | 270 | .version = LIBAVUTIL_VERSION_INT, |
| 271 | 271 | }; |
| 272 | 272 | |
| 273 | −AVCodec ff_sgi_encoder = { | |
| 273 | +const AVCodec ff_sgi_encoder = { | |
| 274 | 274 | .name = "sgi", |
| 275 | 275 | .long_name = NULL_IF_CONFIG_SMALL("SGI image"), |
| 276 | 276 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -131,7 +131,7 @@ static int sgirle_decode_frame(AVCodecContext *avctx, void *data, · 130 unmodified lines | ||
| 131 | 131 | return avpkt->size; |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | −AVCodec ff_sgirle_decoder = { | |
| 134 | +const AVCodec ff_sgirle_decoder = { | |
| 135 | 135 | .name = "sgirle", |
| 136 | 136 | .long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics RLE 8-bit video"), |
| 137 | 137 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2005,7 +2005,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 2004 unmodified lines | ||
| 2005 | 2005 | return 0; |
| 2006 | 2006 | } |
| 2007 | 2007 | |
| 2008 | −AVCodec ff_sheervideo_decoder = { | |
| 2008 | +const AVCodec ff_sheervideo_decoder = { | |
| 2009 | 2009 | .name = "sheervideo", |
| 2010 | 2010 | .long_name = NULL_IF_CONFIG_SMALL("BitJazz SheerVideo"), |
| 2011 | 2011 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -799,7 +799,7 @@ static av_cold int shorten_decode_close(AVCodecContext *avctx) · 798 unmodified lines | ||
| 799 | 799 | return 0; |
| 800 | 800 | } |
| 801 | 801 | |
| 802 | −AVCodec ff_shorten_decoder = { | |
| 802 | +const AVCodec ff_shorten_decoder = { | |
| 803 | 803 | .name = "shorten", |
| 804 | 804 | .long_name = NULL_IF_CONFIG_SMALL("Shorten"), |
| 805 | 805 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -562,7 +562,7 @@ static int sipr_decode_frame(AVCodecContext *avctx, void *data, · 561 unmodified lines | ||
| 562 | 562 | return mode_par->bits_per_frame >> 3; |
| 563 | 563 | } |
| 564 | 564 | |
| 565 | −AVCodec ff_sipr_decoder = { | |
| 565 | +const AVCodec ff_sipr_decoder = { | |
| 566 | 566 | .name = "sipr", |
| 567 | 567 | .long_name = NULL_IF_CONFIG_SMALL("RealAudio SIPR / ACELP.NET"), |
| 568 | 568 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -759,7 +759,7 @@ static av_cold int siren_close(AVCodecContext *avctx) · 758 unmodified lines | ||
| 759 | 759 | return 0; |
| 760 | 760 | } |
| 761 | 761 | |
| 762 | −AVCodec ff_siren_decoder = { | |
| 762 | +const AVCodec ff_siren_decoder = { | |
| 763 | 763 | .name = "siren", |
| 764 | 764 | .long_name = NULL_IF_CONFIG_SMALL("Siren"), |
| 765 | 765 | .priv_data_size = sizeof(SirenContext), |
| @@ -720,7 +720,7 @@ error: · 719 unmodified lines | ||
| 720 | 720 | return ret; |
| 721 | 721 | } |
| 722 | 722 | |
| 723 | −AVCodec ff_smacker_decoder = { | |
| 723 | +const AVCodec ff_smacker_decoder = { | |
| 724 | 724 | .name = "smackvid", |
| 725 | 725 | .long_name = NULL_IF_CONFIG_SMALL("Smacker video"), |
| 726 | 726 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -733,7 +733,7 @@ AVCodec ff_smacker_decoder = { · 6 unmodified lines | ||
| 733 | 733 | .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_INIT_THREADSAFE, |
| 734 | 734 | }; |
| 735 | 735 | |
| 736 | −AVCodec ff_smackaud_decoder = { | |
| 736 | +const AVCodec ff_smackaud_decoder = { | |
| 737 | 737 | .name = "smackaud", |
| 738 | 738 | .long_name = NULL_IF_CONFIG_SMALL("Smacker audio"), |
| 739 | 739 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -468,7 +468,7 @@ static av_cold int smc_decode_end(AVCodecContext *avctx) · 467 unmodified lines | ||
| 468 | 468 | return 0; |
| 469 | 469 | } |
| 470 | 470 | |
| 471 | −AVCodec ff_smc_decoder = { | |
| 471 | +const AVCodec ff_smc_decoder = { | |
| 472 | 472 | .name = "smc", |
| 473 | 473 | .long_name = NULL_IF_CONFIG_SMALL("QuickTime Graphics (SMC)"), |
| 474 | 474 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -648,7 +648,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 647 unmodified lines | ||
| 648 | 648 | return 0; |
| 649 | 649 | } |
| 650 | 650 | |
| 651 | −AVCodec ff_snow_decoder = { | |
| 651 | +const AVCodec ff_snow_decoder = { | |
| 652 | 652 | .name = "snow", |
| 653 | 653 | .long_name = NULL_IF_CONFIG_SMALL("Snow"), |
| 654 | 654 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1916,7 +1916,7 @@ static const AVClass snowenc_class = { · 1915 unmodified lines | ||
| 1916 | 1916 | .version = LIBAVUTIL_VERSION_INT, |
| 1917 | 1917 | }; |
| 1918 | 1918 | |
| 1919 | −AVCodec ff_snow_encoder = { | |
| 1919 | +const AVCodec ff_snow_encoder = { | |
| 1920 | 1920 | .name = "snow", |
| 1921 | 1921 | .long_name = NULL_IF_CONFIG_SMALL("Snow"), |
| 1922 | 1922 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1070,7 +1070,7 @@ static int sonic_decode_frame(AVCodecContext *avctx, · 1069 unmodified lines | ||
| 1070 | 1070 | return buf_size; |
| 1071 | 1071 | } |
| 1072 | 1072 | |
| 1073 | −AVCodec ff_sonic_decoder = { | |
| 1073 | +const AVCodec ff_sonic_decoder = { | |
| 1074 | 1074 | .name = "sonic", |
| 1075 | 1075 | .long_name = NULL_IF_CONFIG_SMALL("Sonic"), |
| 1076 | 1076 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1085,7 +1085,7 @@ AVCodec ff_sonic_decoder = { · 8 unmodified lines | ||
| 1085 | 1085 | #endif /* CONFIG_SONIC_DECODER */ |
| 1086 | 1086 | |
| 1087 | 1087 | #if CONFIG_SONIC_ENCODER |
| 1088 | −AVCodec ff_sonic_encoder = { | |
| 1088 | +const AVCodec ff_sonic_encoder = { | |
| 1089 | 1089 | .name = "sonic", |
| 1090 | 1090 | .long_name = NULL_IF_CONFIG_SMALL("Sonic"), |
| 1091 | 1091 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1101,7 +1101,7 @@ AVCodec ff_sonic_encoder = { · 9 unmodified lines | ||
| 1101 | 1101 | #endif |
| 1102 | 1102 | |
| 1103 | 1103 | #if CONFIG_SONIC_LS_ENCODER |
| 1104 | −AVCodec ff_sonic_ls_encoder = { | |
| 1104 | +const AVCodec ff_sonic_ls_encoder = { | |
| 1105 | 1105 | .name = "sonicls", |
| 1106 | 1106 | .long_name = NULL_IF_CONFIG_SMALL("Sonic lossless"), |
| 1107 | 1107 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -90,7 +90,7 @@ int ff_sp5x_process_packet(AVCodecContext *avctx, AVPacket *avpkt) · 89 unmodified lines | ||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | #if CONFIG_SP5X_DECODER |
| 93 | −AVCodec ff_sp5x_decoder = { | |
| 93 | +const AVCodec ff_sp5x_decoder = { | |
| 94 | 94 | .name = "sp5x", |
| 95 | 95 | .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"), |
| 96 | 96 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -106,7 +106,7 @@ AVCodec ff_sp5x_decoder = { · 9 unmodified lines | ||
| 106 | 106 | }; |
| 107 | 107 | #endif |
| 108 | 108 | #if CONFIG_AMV_DECODER |
| 109 | −AVCodec ff_amv_decoder = { | |
| 109 | +const AVCodec ff_amv_decoder = { | |
| 110 | 110 | .name = "amv", |
| 111 | 111 | .long_name = NULL_IF_CONFIG_SMALL("AMV Video"), |
| 112 | 112 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -724,7 +724,7 @@ static av_cold int speedhq_decode_init(AVCodecContext *avctx) · 723 unmodified lines | ||
| 724 | 724 | return 0; |
| 725 | 725 | } |
| 726 | 726 | |
| 727 | −AVCodec ff_speedhq_decoder = { | |
| 727 | +const AVCodec ff_speedhq_decoder = { | |
| 728 | 728 | .name = "speedhq", |
| 729 | 729 | .long_name = NULL_IF_CONFIG_SMALL("NewTek SpeedHQ"), |
| 730 | 730 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -289,7 +289,7 @@ static const AVClass speedhq_class = { · 288 unmodified lines | ||
| 289 | 289 | .version = LIBAVUTIL_VERSION_INT, |
| 290 | 290 | }; |
| 291 | 291 | |
| 292 | −AVCodec ff_speedhq_encoder = { | |
| 292 | +const AVCodec ff_speedhq_encoder = { | |
| 293 | 293 | .name = "speedhq", |
| 294 | 294 | .long_name = NULL_IF_CONFIG_SMALL("NewTek SpeedHQ"), |
| 295 | 295 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -88,7 +88,7 @@ static int srt_decode_frame(AVCodecContext *avctx, · 87 unmodified lines | ||
| 88 | 88 | |
| 89 | 89 | #if CONFIG_SRT_DECODER |
| 90 | 90 | /* deprecated decoder */ |
| 91 | −AVCodec ff_srt_decoder = { | |
| 91 | +const AVCodec ff_srt_decoder = { | |
| 92 | 92 | .name = "srt", |
| 93 | 93 | .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), |
| 94 | 94 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -101,7 +101,7 @@ AVCodec ff_srt_decoder = { · 6 unmodified lines | ||
| 101 | 101 | #endif |
| 102 | 102 | |
| 103 | 103 | #if CONFIG_SUBRIP_DECODER |
| 104 | −AVCodec ff_subrip_decoder = { | |
| 104 | +const AVCodec ff_subrip_decoder = { | |
| 105 | 105 | .name = "subrip", |
| 106 | 106 | .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), |
| 107 | 107 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -290,7 +290,7 @@ static int srt_encode_close(AVCodecContext *avctx) · 289 unmodified lines | ||
| 290 | 290 | |
| 291 | 291 | #if CONFIG_SRT_ENCODER |
| 292 | 292 | /* deprecated encoder */ |
| 293 | −AVCodec ff_srt_encoder = { | |
| 293 | +const AVCodec ff_srt_encoder = { | |
| 294 | 294 | .name = "srt", |
| 295 | 295 | .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), |
| 296 | 296 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -303,7 +303,7 @@ AVCodec ff_srt_encoder = { · 6 unmodified lines | ||
| 303 | 303 | #endif |
| 304 | 304 | |
| 305 | 305 | #if CONFIG_SUBRIP_ENCODER |
| 306 | −AVCodec ff_subrip_encoder = { | |
| 306 | +const AVCodec ff_subrip_encoder = { | |
| 307 | 307 | .name = "subrip", |
| 308 | 308 | .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), |
| 309 | 309 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -316,7 +316,7 @@ AVCodec ff_subrip_encoder = { · 6 unmodified lines | ||
| 316 | 316 | #endif |
| 317 | 317 | |
| 318 | 318 | #if CONFIG_TEXT_ENCODER |
| 319 | −AVCodec ff_text_encoder = { | |
| 319 | +const AVCodec ff_text_encoder = { | |
| 320 | 320 | .name = "text", |
| 321 | 321 | .long_name = NULL_IF_CONFIG_SMALL("Raw text subtitle"), |
| 322 | 322 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -65,7 +65,7 @@ static int subviewer_decode_frame(AVCodecContext *avctx, · 64 unmodified lines | ||
| 65 | 65 | return avpkt->size; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | −AVCodec ff_subviewer_decoder = { | |
| 68 | +const AVCodec ff_subviewer_decoder = { | |
| 69 | 69 | .name = "subviewer", |
| 70 | 70 | .long_name = NULL_IF_CONFIG_SMALL("SubViewer subtitle"), |
| 71 | 71 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -205,7 +205,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data, · 204 unmodified lines | ||
| 205 | 205 | return buf - bufstart; |
| 206 | 206 | } |
| 207 | 207 | |
| 208 | −AVCodec ff_sunrast_decoder = { | |
| 208 | +const AVCodec ff_sunrast_decoder = { | |
| 209 | 209 | .name = "sunrast", |
| 210 | 210 | .long_name = NULL_IF_CONFIG_SMALL("Sun Rasterfile image"), |
| 211 | 211 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -208,7 +208,7 @@ static const AVClass sunrast_class = { · 207 unmodified lines | ||
| 208 | 208 | .version = LIBAVUTIL_VERSION_INT, |
| 209 | 209 | }; |
| 210 | 210 | |
| 211 | −AVCodec ff_sunrast_encoder = { | |
| 211 | +const AVCodec ff_sunrast_encoder = { | |
| 212 | 212 | .name = "sunrast", |
| 213 | 213 | .long_name = NULL_IF_CONFIG_SMALL("Sun Rasterfile image"), |
| 214 | 214 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -843,7 +843,7 @@ static void svq1_flush(AVCodecContext *avctx) · 842 unmodified lines | ||
| 843 | 843 | av_frame_unref(s->prev); |
| 844 | 844 | } |
| 845 | 845 | |
| 846 | −AVCodec ff_svq1_decoder = { | |
| 846 | +const AVCodec ff_svq1_decoder = { | |
| 847 | 847 | .name = "svq1", |
| 848 | 848 | .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"), |
| 849 | 849 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -671,7 +671,7 @@ static const AVClass svq1enc_class = { · 670 unmodified lines | ||
| 671 | 671 | .version = LIBAVUTIL_VERSION_INT, |
| 672 | 672 | }; |
| 673 | 673 | |
| 674 | −AVCodec ff_svq1_encoder = { | |
| 674 | +const AVCodec ff_svq1_encoder = { | |
| 675 | 675 | .name = "svq1", |
| 676 | 676 | .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"), |
| 677 | 677 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1599,7 +1599,7 @@ static av_cold int svq3_decode_end(AVCodecContext *avctx) · 1598 unmodified lines | ||
| 1599 | 1599 | return 0; |
| 1600 | 1600 | } |
| 1601 | 1601 | |
| 1602 | −AVCodec ff_svq3_decoder = { | |
| 1602 | +const AVCodec ff_svq3_decoder = { | |
| 1603 | 1603 | .name = "svq3", |
| 1604 | 1604 | .long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3"), |
| 1605 | 1605 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -938,7 +938,7 @@ static av_cold int tak_decode_close(AVCodecContext *avctx) · 937 unmodified lines | ||
| 938 | 938 | return 0; |
| 939 | 939 | } |
| 940 | 940 | |
| 941 | −AVCodec ff_tak_decoder = { | |
| 941 | +const AVCodec ff_tak_decoder = { | |
| 942 | 942 | .name = "tak", |
| 943 | 943 | .long_name = NULL_IF_CONFIG_SMALL("TAK (Tom's lossless Audio Kompressor)"), |
| 944 | 944 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -297,7 +297,7 @@ static int decode_frame(AVCodecContext *avctx, · 296 unmodified lines | ||
| 297 | 297 | return avpkt->size; |
| 298 | 298 | } |
| 299 | 299 | |
| 300 | −AVCodec ff_targa_decoder = { | |
| 300 | +const AVCodec ff_targa_decoder = { | |
| 301 | 301 | .name = "targa", |
| 302 | 302 | .long_name = NULL_IF_CONFIG_SMALL("Truevision Targa image"), |
| 303 | 303 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -73,7 +73,7 @@ static int y216_decode_frame(AVCodecContext *avctx, void *data, · 72 unmodified lines | ||
| 73 | 73 | return avpkt->size; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | −AVCodec ff_targa_y216_decoder = { | |
| 76 | +const AVCodec ff_targa_y216_decoder = { | |
| 77 | 77 | .name = "targa_y216", |
| 78 | 78 | .long_name = NULL_IF_CONFIG_SMALL("Pinnacle TARGA CineWave YUV16"), |
| 79 | 79 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -202,7 +202,7 @@ static const AVClass targa_class = { · 201 unmodified lines | ||
| 202 | 202 | .version = LIBAVUTIL_VERSION_INT, |
| 203 | 203 | }; |
| 204 | 204 | |
| 205 | −AVCodec ff_targa_encoder = { | |
| 205 | +const AVCodec ff_targa_encoder = { | |
| 206 | 206 | .name = "targa", |
| 207 | 207 | .long_name = NULL_IF_CONFIG_SMALL("Truevision Targa image"), |
| 208 | 208 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -621,7 +621,7 @@ static int tdsc_decode_frame(AVCodecContext *avctx, void *data, · 620 unmodified lines | ||
| 621 | 621 | return avpkt->size; |
| 622 | 622 | } |
| 623 | 623 | |
| 624 | −AVCodec ff_tdsc_decoder = { | |
| 624 | +const AVCodec ff_tdsc_decoder = { | |
| 625 | 625 | .name = "tdsc", |
| 626 | 626 | .long_name = NULL_IF_CONFIG_SMALL("TDSC"), |
| 627 | 627 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -81,7 +81,7 @@ static void text_flush(AVCodecContext *avctx) · 80 unmodified lines | ||
| 81 | 81 | #define text_options options |
| 82 | 82 | DECLARE_CLASS(text); |
| 83 | 83 | |
| 84 | −AVCodec ff_text_decoder = { | |
| 84 | +const AVCodec ff_text_decoder = { | |
| 85 | 85 | .name = "text", |
| 86 | 86 | .long_name = NULL_IF_CONFIG_SMALL("Raw text subtitle"), |
| 87 | 87 | .priv_data_size = sizeof(TextContext), |
| @@ -107,7 +107,7 @@ static int linebreak_init(AVCodecContext *avctx) · 19 unmodified lines | ||
| 107 | 107 | #define vplayer_options options |
| 108 | 108 | DECLARE_CLASS(vplayer); |
| 109 | 109 | |
| 110 | −AVCodec ff_vplayer_decoder = { | |
| 110 | +const AVCodec ff_vplayer_decoder = { | |
| 111 | 111 | .name = "vplayer", |
| 112 | 112 | .long_name = NULL_IF_CONFIG_SMALL("VPlayer subtitle"), |
| 113 | 113 | .priv_data_size = sizeof(TextContext), |
| @@ -124,7 +124,7 @@ AVCodec ff_vplayer_decoder = { · 10 unmodified lines | ||
| 124 | 124 | #define stl_options options |
| 125 | 125 | DECLARE_CLASS(stl); |
| 126 | 126 | |
| 127 | −AVCodec ff_stl_decoder = { | |
| 127 | +const AVCodec ff_stl_decoder = { | |
| 128 | 128 | .name = "stl", |
| 129 | 129 | .long_name = NULL_IF_CONFIG_SMALL("Spruce subtitle format"), |
| 130 | 130 | .priv_data_size = sizeof(TextContext), |
| @@ -141,7 +141,7 @@ AVCodec ff_stl_decoder = { · 10 unmodified lines | ||
| 141 | 141 | #define pjs_options options |
| 142 | 142 | DECLARE_CLASS(pjs); |
| 143 | 143 | |
| 144 | −AVCodec ff_pjs_decoder = { | |
| 144 | +const AVCodec ff_pjs_decoder = { | |
| 145 | 145 | .name = "pjs", |
| 146 | 146 | .long_name = NULL_IF_CONFIG_SMALL("PJS subtitle"), |
| 147 | 147 | .priv_data_size = sizeof(TextContext), |
| @@ -158,7 +158,7 @@ AVCodec ff_pjs_decoder = { · 10 unmodified lines | ||
| 158 | 158 | #define subviewer1_options options |
| 159 | 159 | DECLARE_CLASS(subviewer1); |
| 160 | 160 | |
| 161 | −AVCodec ff_subviewer1_decoder = { | |
| 161 | +const AVCodec ff_subviewer1_decoder = { | |
| 162 | 162 | .name = "subviewer1", |
| 163 | 163 | .long_name = NULL_IF_CONFIG_SMALL("SubViewer1 subtitle"), |
| 164 | 164 | .priv_data_size = sizeof(TextContext), |
| @@ -261,7 +261,7 @@ static av_cold int seqvideo_decode_end(AVCodecContext *avctx) · 260 unmodified lines | ||
| 261 | 261 | return 0; |
| 262 | 262 | } |
| 263 | 263 | |
| 264 | −AVCodec ff_tiertexseqvideo_decoder = { | |
| 264 | +const AVCodec ff_tiertexseqvideo_decoder = { | |
| 265 | 265 | .name = "tiertexseqvideo", |
| 266 | 266 | .long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ video"), |
| 267 | 267 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2195,7 +2195,7 @@ static const AVClass tiff_decoder_class = { · 2194 unmodified lines | ||
| 2195 | 2195 | .version = LIBAVUTIL_VERSION_INT, |
| 2196 | 2196 | }; |
| 2197 | 2197 | |
| 2198 | −AVCodec ff_tiff_decoder = { | |
| 2198 | +const AVCodec ff_tiff_decoder = { | |
| 2199 | 2199 | .name = "tiff", |
| 2200 | 2200 | .long_name = NULL_IF_CONFIG_SMALL("TIFF image"), |
| 2201 | 2201 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -568,7 +568,7 @@ static const AVClass tiffenc_class = { · 567 unmodified lines | ||
| 568 | 568 | .version = LIBAVUTIL_VERSION_INT, |
| 569 | 569 | }; |
| 570 | 570 | |
| 571 | −AVCodec ff_tiff_encoder = { | |
| 571 | +const AVCodec ff_tiff_encoder = { | |
| 572 | 572 | .name = "tiff", |
| 573 | 573 | .long_name = NULL_IF_CONFIG_SMALL("TIFF image"), |
| 574 | 574 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -86,7 +86,7 @@ static av_cold int tmv_decode_init(AVCodecContext *avctx) · 85 unmodified lines | ||
| 86 | 86 | return 0; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | −AVCodec ff_tmv_decoder = { | |
| 89 | +const AVCodec ff_tmv_decoder = { | |
| 90 | 90 | .name = "tmv", |
| 91 | 91 | .long_name = NULL_IF_CONFIG_SMALL("8088flex TMV"), |
| 92 | 92 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -910,7 +910,7 @@ static av_cold int truemotion1_decode_end(AVCodecContext *avctx) · 909 unmodified lines | ||
| 910 | 910 | return 0; |
| 911 | 911 | } |
| 912 | 912 | |
| 913 | −AVCodec ff_truemotion1_decoder = { | |
| 913 | +const AVCodec ff_truemotion1_decoder = { | |
| 914 | 914 | .name = "truemotion1", |
| 915 | 915 | .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 1.0"), |
| 916 | 916 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1008,7 +1008,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 1007 unmodified lines | ||
| 1008 | 1008 | return 0; |
| 1009 | 1009 | } |
| 1010 | 1010 | |
| 1011 | −AVCodec ff_truemotion2_decoder = { | |
| 1011 | +const AVCodec ff_truemotion2_decoder = { | |
| 1012 | 1012 | .name = "truemotion2", |
| 1013 | 1013 | .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 2.0"), |
| 1014 | 1014 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -220,7 +220,7 @@ static av_cold int truemotion2rt_decode_init(AVCodecContext *avctx) · 219 unmodified lines | ||
| 220 | 220 | return 0; |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | −AVCodec ff_truemotion2rt_decoder = { | |
| 223 | +const AVCodec ff_truemotion2rt_decoder = { | |
| 224 | 224 | .name = "truemotion2rt", |
| 225 | 225 | .long_name = NULL_IF_CONFIG_SMALL("Duck TrueMotion 2.0 Real Time"), |
| 226 | 226 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -355,7 +355,7 @@ static int truespeech_decode_frame(AVCodecContext *avctx, void *data, · 354 unmodified lines | ||
| 355 | 355 | return buf_size; |
| 356 | 356 | } |
| 357 | 357 | |
| 358 | −AVCodec ff_truespeech_decoder = { | |
| 358 | +const AVCodec ff_truespeech_decoder = { | |
| 359 | 359 | .name = "truespeech", |
| 360 | 360 | .long_name = NULL_IF_CONFIG_SMALL("DSP Group TrueSpeech"), |
| 361 | 361 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -180,7 +180,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 179 unmodified lines | ||
| 180 | 180 | return 0; |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | −AVCodec ff_tscc_decoder = { | |
| 183 | +const AVCodec ff_tscc_decoder = { | |
| 184 | 184 | .name = "camtasia", |
| 185 | 185 | .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Capture Codec"), |
| 186 | 186 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -355,7 +355,7 @@ static av_cold int tscc2_decode_init(AVCodecContext *avctx) · 354 unmodified lines | ||
| 355 | 355 | return 0; |
| 356 | 356 | } |
| 357 | 357 | |
| 358 | −AVCodec ff_tscc2_decoder = { | |
| 358 | +const AVCodec ff_tscc2_decoder = { | |
| 359 | 359 | .name = "tscc2", |
| 360 | 360 | .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Codec 2"), |
| 361 | 361 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -414,7 +414,7 @@ static const AVClass tta_decoder_class = { · 413 unmodified lines | ||
| 414 | 414 | .version = LIBAVUTIL_VERSION_INT, |
| 415 | 415 | }; |
| 416 | 416 | |
| 417 | −AVCodec ff_tta_decoder = { | |
| 417 | +const AVCodec ff_tta_decoder = { | |
| 418 | 418 | .name = "tta", |
| 419 | 419 | .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"), |
| 420 | 420 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -200,7 +200,7 @@ static av_cold int tta_encode_close(AVCodecContext *avctx) · 199 unmodified lines | ||
| 200 | 200 | return 0; |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | −AVCodec ff_tta_encoder = { | |
| 203 | +const AVCodec ff_tta_encoder = { | |
| 204 | 204 | .name = "tta", |
| 205 | 205 | .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"), |
| 206 | 206 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -383,7 +383,7 @@ static av_cold int ttml_encode_init(AVCodecContext *avctx) · 382 unmodified lines | ||
| 383 | 383 | return 0; |
| 384 | 384 | } |
| 385 | 385 | |
| 386 | −AVCodec ff_ttml_encoder = { | |
| 386 | +const AVCodec ff_ttml_encoder = { | |
| 387 | 387 | .name = "ttml", |
| 388 | 388 | .long_name = NULL_IF_CONFIG_SMALL("TTML subtitle"), |
| 389 | 389 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -414,7 +414,7 @@ static av_cold int twinvq_decode_init(AVCodecContext *avctx) · 413 unmodified lines | ||
| 414 | 414 | return ff_twinvq_decode_init(avctx); |
| 415 | 415 | } |
| 416 | 416 | |
| 417 | −AVCodec ff_twinvq_decoder = { | |
| 417 | +const AVCodec ff_twinvq_decoder = { | |
| 418 | 418 | .name = "twinvq", |
| 419 | 419 | .long_name = NULL_IF_CONFIG_SMALL("VQF TwinVQ"), |
| 420 | 420 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -155,7 +155,7 @@ unsupported: · 154 unmodified lines | ||
| 155 | 155 | return AVERROR_PATCHWELCOME; |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | −AVCodec ff_txd_decoder = { | |
| 158 | +const AVCodec ff_txd_decoder = { | |
| 159 | 159 | .name = "txd", |
| 160 | 160 | .long_name = NULL_IF_CONFIG_SMALL("Renderware TXD (TeXture Dictionary) image"), |
| 161 | 161 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -418,7 +418,7 @@ err: · 417 unmodified lines | ||
| 418 | 418 | return AVERROR_INVALIDDATA; |
| 419 | 419 | } |
| 420 | 420 | |
| 421 | −AVCodec ff_ulti_decoder = { | |
| 421 | +const AVCodec ff_ulti_decoder = { | |
| 422 | 422 | .name = "ultimotion", |
| 423 | 423 | .long_name = NULL_IF_CONFIG_SMALL("IBM UltiMotion"), |
| 424 | 424 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1051,7 +1051,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 1050 unmodified lines | ||
| 1051 | 1051 | return 0; |
| 1052 | 1052 | } |
| 1053 | 1053 | |
| 1054 | −AVCodec ff_utvideo_decoder = { | |
| 1054 | +const AVCodec ff_utvideo_decoder = { | |
| 1055 | 1055 | .name = "utvideo", |
| 1056 | 1056 | .long_name = NULL_IF_CONFIG_SMALL("Ut Video"), |
| 1057 | 1057 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -649,7 +649,7 @@ static const AVClass utvideo_class = { · 648 unmodified lines | ||
| 649 | 649 | .version = LIBAVUTIL_VERSION_INT, |
| 650 | 650 | }; |
| 651 | 651 | |
| 652 | −AVCodec ff_utvideo_encoder = { | |
| 652 | +const AVCodec ff_utvideo_encoder = { | |
| 653 | 653 | .name = "utvideo", |
| 654 | 654 | .long_name = NULL_IF_CONFIG_SMALL("Ut Video"), |
| 655 | 655 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -214,7 +214,7 @@ static const AVClass v210dec_class = { · 213 unmodified lines | ||
| 214 | 214 | .version = LIBAVUTIL_VERSION_INT, |
| 215 | 215 | }; |
| 216 | 216 | |
| 217 | −AVCodec ff_v210_decoder = { | |
| 217 | +const AVCodec ff_v210_decoder = { | |
| 218 | 218 | .name = "v210", |
| 219 | 219 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"), |
| 220 | 220 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -151,7 +151,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 150 unmodified lines | ||
| 151 | 151 | return 0; |
| 152 | 152 | } |
| 153 | 153 | |
| 154 | −AVCodec ff_v210_encoder = { | |
| 154 | +const AVCodec ff_v210_encoder = { | |
| 155 | 155 | .name = "v210", |
| 156 | 156 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"), |
| 157 | 157 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -120,7 +120,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 119 unmodified lines | ||
| 120 | 120 | return avpkt->size; |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | −AVCodec ff_v210x_decoder = { | |
| 123 | +const AVCodec ff_v210x_decoder = { | |
| 124 | 124 | .name = "v210x", |
| 125 | 125 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"), |
| 126 | 126 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -72,7 +72,7 @@ static int v308_decode_frame(AVCodecContext *avctx, void *data, · 71 unmodified lines | ||
| 72 | 72 | return avpkt->size; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | −AVCodec ff_v308_decoder = { | |
| 75 | +const AVCodec ff_v308_decoder = { | |
| 76 | 76 | .name = "v308", |
| 77 | 77 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"), |
| 78 | 78 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -68,7 +68,7 @@ static int v308_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 67 unmodified lines | ||
| 68 | 68 | return 0; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | −AVCodec ff_v308_encoder = { | |
| 71 | +const AVCodec ff_v308_encoder = { | |
| 72 | 72 | .name = "v308", |
| 73 | 73 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"), |
| 74 | 74 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -80,7 +80,7 @@ static int v408_decode_frame(AVCodecContext *avctx, void *data, · 79 unmodified lines | ||
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | #if CONFIG_AYUV_DECODER |
| 83 | −AVCodec ff_ayuv_decoder = { | |
| 83 | +const AVCodec ff_ayuv_decoder = { | |
| 84 | 84 | .name = "ayuv", |
| 85 | 85 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"), |
| 86 | 86 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -92,7 +92,7 @@ AVCodec ff_ayuv_decoder = { · 5 unmodified lines | ||
| 92 | 92 | }; |
| 93 | 93 | #endif |
| 94 | 94 | #if CONFIG_V408_DECODER |
| 95 | −AVCodec ff_v408_decoder = { | |
| 95 | +const AVCodec ff_v408_decoder = { | |
| 96 | 96 | .name = "v408", |
| 97 | 97 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"), |
| 98 | 98 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -74,7 +74,7 @@ static int v408_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 73 unmodified lines | ||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | #if CONFIG_AYUV_ENCODER |
| 77 | −AVCodec ff_ayuv_encoder = { | |
| 77 | +const AVCodec ff_ayuv_encoder = { | |
| 78 | 78 | .name = "ayuv", |
| 79 | 79 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"), |
| 80 | 80 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -85,7 +85,7 @@ AVCodec ff_ayuv_encoder = { · 4 unmodified lines | ||
| 85 | 85 | }; |
| 86 | 86 | #endif |
| 87 | 87 | #if CONFIG_V408_ENCODER |
| 88 | −AVCodec ff_v408_encoder = { | |
| 88 | +const AVCodec ff_v408_encoder = { | |
| 89 | 89 | .name = "v408", |
| 90 | 90 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"), |
| 91 | 91 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -116,7 +116,7 @@ static int v410_decode_frame(AVCodecContext *avctx, void *data, · 115 unmodified lines | ||
| 116 | 116 | return avpkt->size; |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | −AVCodec ff_v410_decoder = { | |
| 119 | +const AVCodec ff_v410_decoder = { | |
| 120 | 120 | .name = "v410", |
| 121 | 121 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"), |
| 122 | 122 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -73,7 +73,7 @@ static int v410_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 72 unmodified lines | ||
| 73 | 73 | return 0; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | −AVCodec ff_v410_encoder = { | |
| 76 | +const AVCodec ff_v410_encoder = { | |
| 77 | 77 | .name = "v410", |
| 78 | 78 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:4:4 10-bit"), |
| 79 | 79 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -236,7 +236,7 @@ static const AVOption options[] = { · 235 unmodified lines | ||
| 236 | 236 | |
| 237 | 237 | #define M2MDEC(NAME, LONGNAME, CODEC, bsf_name) \ |
| 238 | 238 | M2MDEC_CLASS(NAME) \ |
| 239 | − AVCodec ff_ ## NAME ## _v4l2m2m_decoder = { \ | |
| 239 | + const AVCodec ff_ ## NAME ## _v4l2m2m_decoder = { \ | |
| 240 | 240 | .name = #NAME "_v4l2m2m" , \ |
| 241 | 241 | .long_name = NULL_IF_CONFIG_SMALL("V4L2 mem2mem " LONGNAME " decoder wrapper"), \ |
| 242 | 242 | .type = AVMEDIA_TYPE_VIDEO, \ |
| @@ -421,7 +421,7 @@ static const AVCodecDefault v4l2_m2m_defaults[] = { · 420 unmodified lines | ||
| 421 | 421 | |
| 422 | 422 | #define M2MENC(NAME, LONGNAME, OPTIONS_NAME, CODEC) \ |
| 423 | 423 | M2MENC_CLASS(NAME, OPTIONS_NAME) \ |
| 424 | − AVCodec ff_ ## NAME ## _v4l2m2m_encoder = { \ | |
| 424 | + const AVCodec ff_ ## NAME ## _v4l2m2m_encoder = { \ | |
| 425 | 425 | .name = #NAME "_v4l2m2m" , \ |
| 426 | 426 | .long_name = NULL_IF_CONFIG_SMALL("V4L2 mem2mem " LONGNAME " encoder wrapper"), \ |
| 427 | 427 | .type = AVMEDIA_TYPE_VIDEO, \ |
| @@ -1324,7 +1324,7 @@ static const AVClass vaapi_encode_h264_class = { · 1323 unmodified lines | ||
| 1324 | 1324 | .version = LIBAVUTIL_VERSION_INT, |
| 1325 | 1325 | }; |
| 1326 | 1326 | |
| 1327 | −AVCodec ff_h264_vaapi_encoder = { | |
| 1327 | +const AVCodec ff_h264_vaapi_encoder = { | |
| 1328 | 1328 | .name = "h264_vaapi", |
| 1329 | 1329 | .long_name = NULL_IF_CONFIG_SMALL("H.264/AVC (VAAPI)"), |
| 1330 | 1330 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1302,7 +1302,7 @@ static const AVClass vaapi_encode_h265_class = { · 1301 unmodified lines | ||
| 1302 | 1302 | .version = LIBAVUTIL_VERSION_INT, |
| 1303 | 1303 | }; |
| 1304 | 1304 | |
| 1305 | −AVCodec ff_hevc_vaapi_encoder = { | |
| 1305 | +const AVCodec ff_hevc_vaapi_encoder = { | |
| 1306 | 1306 | .name = "hevc_vaapi", |
| 1307 | 1307 | .long_name = NULL_IF_CONFIG_SMALL("H.265/HEVC (VAAPI)"), |
| 1308 | 1308 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -552,7 +552,7 @@ static const AVClass vaapi_encode_mjpeg_class = { · 551 unmodified lines | ||
| 552 | 552 | .version = LIBAVUTIL_VERSION_INT, |
| 553 | 553 | }; |
| 554 | 554 | |
| 555 | −AVCodec ff_mjpeg_vaapi_encoder = { | |
| 555 | +const AVCodec ff_mjpeg_vaapi_encoder = { | |
| 556 | 556 | .name = "mjpeg_vaapi", |
| 557 | 557 | .long_name = NULL_IF_CONFIG_SMALL("MJPEG (VAAPI)"), |
| 558 | 558 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -688,7 +688,7 @@ static const AVClass vaapi_encode_mpeg2_class = { · 687 unmodified lines | ||
| 688 | 688 | .version = LIBAVUTIL_VERSION_INT, |
| 689 | 689 | }; |
| 690 | 690 | |
| 691 | −AVCodec ff_mpeg2_vaapi_encoder = { | |
| 691 | +const AVCodec ff_mpeg2_vaapi_encoder = { | |
| 692 | 692 | .name = "mpeg2_vaapi", |
| 693 | 693 | .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 (VAAPI)"), |
| 694 | 694 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -245,7 +245,7 @@ static const AVClass vaapi_encode_vp8_class = { · 244 unmodified lines | ||
| 245 | 245 | .version = LIBAVUTIL_VERSION_INT, |
| 246 | 246 | }; |
| 247 | 247 | |
| 248 | −AVCodec ff_vp8_vaapi_encoder = { | |
| 248 | +const AVCodec ff_vp8_vaapi_encoder = { | |
| 249 | 249 | .name = "vp8_vaapi", |
| 250 | 250 | .long_name = NULL_IF_CONFIG_SMALL("VP8 (VAAPI)"), |
| 251 | 251 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -279,7 +279,7 @@ static const AVClass vaapi_encode_vp9_class = { · 278 unmodified lines | ||
| 279 | 279 | .version = LIBAVUTIL_VERSION_INT, |
| 280 | 280 | }; |
| 281 | 281 | |
| 282 | −AVCodec ff_vp9_vaapi_encoder = { | |
| 282 | +const AVCodec ff_vp9_vaapi_encoder = { | |
| 283 | 283 | .name = "vp9_vaapi", |
| 284 | 284 | .long_name = NULL_IF_CONFIG_SMALL("VP9 (VAAPI)"), |
| 285 | 285 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -278,7 +278,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 277 unmodified lines | ||
| 278 | 278 | return 0; |
| 279 | 279 | } |
| 280 | 280 | |
| 281 | −AVCodec ff_vb_decoder = { | |
| 281 | +const AVCodec ff_vb_decoder = { | |
| 282 | 282 | .name = "vb", |
| 283 | 283 | .long_name = NULL_IF_CONFIG_SMALL("Beam Software VB"), |
| 284 | 284 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -203,7 +203,7 @@ static av_cold int vble_decode_init(AVCodecContext *avctx) · 202 unmodified lines | ||
| 203 | 203 | return 0; |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | −AVCodec ff_vble_decoder = { | |
| 206 | +const AVCodec ff_vble_decoder = { | |
| 207 | 207 | .name = "vble", |
| 208 | 208 | .long_name = NULL_IF_CONFIG_SMALL("VBLE Lossless Codec"), |
| 209 | 209 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1196,7 +1196,7 @@ static const enum AVPixelFormat vc1_hwaccel_pixfmt_list_420[] = { · 1195 unmodified lines | ||
| 1196 | 1196 | AV_PIX_FMT_NONE |
| 1197 | 1197 | }; |
| 1198 | 1198 | |
| 1199 | −AVCodec ff_vc1_decoder = { | |
| 1199 | +const AVCodec ff_vc1_decoder = { | |
| 1200 | 1200 | .name = "vc1", |
| 1201 | 1201 | .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"), |
| 1202 | 1202 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1233,7 +1233,7 @@ AVCodec ff_vc1_decoder = { · 30 unmodified lines | ||
| 1233 | 1233 | }; |
| 1234 | 1234 | |
| 1235 | 1235 | #if CONFIG_WMV3_DECODER |
| 1236 | −AVCodec ff_wmv3_decoder = { | |
| 1236 | +const AVCodec ff_wmv3_decoder = { | |
| 1237 | 1237 | .name = "wmv3", |
| 1238 | 1238 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"), |
| 1239 | 1239 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1271,7 +1271,7 @@ AVCodec ff_wmv3_decoder = { · 31 unmodified lines | ||
| 1271 | 1271 | #endif |
| 1272 | 1272 | |
| 1273 | 1273 | #if CONFIG_WMV3IMAGE_DECODER |
| 1274 | −AVCodec ff_wmv3image_decoder = { | |
| 1274 | +const AVCodec ff_wmv3image_decoder = { | |
| 1275 | 1275 | .name = "wmv3image", |
| 1276 | 1276 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 Image"), |
| 1277 | 1277 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1290,7 +1290,7 @@ AVCodec ff_wmv3image_decoder = { · 12 unmodified lines | ||
| 1290 | 1290 | #endif |
| 1291 | 1291 | |
| 1292 | 1292 | #if CONFIG_VC1IMAGE_DECODER |
| 1293 | −AVCodec ff_vc1image_decoder = { | |
| 1293 | +const AVCodec ff_vc1image_decoder = { | |
| 1294 | 1294 | .name = "vc1image", |
| 1295 | 1295 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 Image v2"), |
| 1296 | 1296 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1226,7 +1226,7 @@ static const enum AVPixelFormat allowed_pix_fmts[] = { · 1225 unmodified lines | ||
| 1226 | 1226 | AV_PIX_FMT_NONE |
| 1227 | 1227 | }; |
| 1228 | 1228 | |
| 1229 | −AVCodec ff_vc2_encoder = { | |
| 1229 | +const AVCodec ff_vc2_encoder = { | |
| 1230 | 1230 | .name = "vc2", |
| 1231 | 1231 | .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-2"), |
| 1232 | 1232 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -121,7 +121,7 @@ static int vcr1_decode_frame(AVCodecContext *avctx, void *data, · 120 unmodified lines | ||
| 121 | 121 | return bytestream - avpkt->data; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | −AVCodec ff_vcr1_decoder = { | |
| 124 | +const AVCodec ff_vcr1_decoder = { | |
| 125 | 125 | .name = "vcr1", |
| 126 | 126 | .long_name = NULL_IF_CONFIG_SMALL("ATI VCR1"), |
| 127 | 127 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2659,7 +2659,7 @@ static const AVClass h264_videotoolbox_class = { · 2658 unmodified lines | ||
| 2659 | 2659 | .version = LIBAVUTIL_VERSION_INT, |
| 2660 | 2660 | }; |
| 2661 | 2661 | |
| 2662 | −AVCodec ff_h264_videotoolbox_encoder = { | |
| 2662 | +const AVCodec ff_h264_videotoolbox_encoder = { | |
| 2663 | 2663 | .name = "h264_videotoolbox", |
| 2664 | 2664 | .long_name = NULL_IF_CONFIG_SMALL("VideoToolbox H.264 Encoder"), |
| 2665 | 2665 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2693,7 +2693,7 @@ static const AVClass hevc_videotoolbox_class = { · 27 unmodified lines | ||
| 2693 | 2693 | .version = LIBAVUTIL_VERSION_INT, |
| 2694 | 2694 | }; |
| 2695 | 2695 | |
| 2696 | −AVCodec ff_hevc_videotoolbox_encoder = { | |
| 2696 | +const AVCodec ff_hevc_videotoolbox_encoder = { | |
| 2697 | 2697 | .name = "hevc_videotoolbox", |
| 2698 | 2698 | .long_name = NULL_IF_CONFIG_SMALL("VideoToolbox H.265 Encoder"), |
| 2699 | 2699 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -207,7 +207,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, · 206 unmodified lines | ||
| 207 | 207 | return pkt->size; |
| 208 | 208 | } |
| 209 | 209 | |
| 210 | −AVCodec ff_adpcm_vima_decoder = { | |
| 210 | +const AVCodec ff_adpcm_vima_decoder = { | |
| 211 | 211 | .name = "adpcm_vima", |
| 212 | 212 | .long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"), |
| 213 | 213 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -228,7 +228,7 @@ static int vmdaudio_decode_frame(AVCodecContext *avctx, void *data, · 227 unmodified lines | ||
| 228 | 228 | return avpkt->size; |
| 229 | 229 | } |
| 230 | 230 | |
| 231 | −AVCodec ff_vmdaudio_decoder = { | |
| 231 | +const AVCodec ff_vmdaudio_decoder = { | |
| 232 | 232 | .name = "vmdaudio", |
| 233 | 233 | .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD audio"), |
| 234 | 234 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -467,7 +467,7 @@ static int vmdvideo_decode_frame(AVCodecContext *avctx, · 466 unmodified lines | ||
| 467 | 467 | return buf_size; |
| 468 | 468 | } |
| 469 | 469 | |
| 470 | −AVCodec ff_vmdvideo_decoder = { | |
| 470 | +const AVCodec ff_vmdvideo_decoder = { | |
| 471 | 471 | .name = "vmdvideo", |
| 472 | 472 | .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD video"), |
| 473 | 473 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -572,7 +572,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 571 unmodified lines | ||
| 572 | 572 | return 0; |
| 573 | 573 | } |
| 574 | 574 | |
| 575 | −AVCodec ff_vmnc_decoder = { | |
| 575 | +const AVCodec ff_vmnc_decoder = { | |
| 576 | 576 | .name = "vmnc", |
| 577 | 577 | .long_name = NULL_IF_CONFIG_SMALL("VMware Screen Codec / VMware Video"), |
| 578 | 578 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1880,7 +1880,7 @@ static av_cold void vorbis_decode_flush(AVCodecContext *avctx) · 1879 unmodified lines | ||
| 1880 | 1880 | vc->first_frame = 0; |
| 1881 | 1881 | } |
| 1882 | 1882 | |
| 1883 | −AVCodec ff_vorbis_decoder = { | |
| 1883 | +const AVCodec ff_vorbis_decoder = { | |
| 1884 | 1884 | .name = "vorbis", |
| 1885 | 1885 | .long_name = NULL_IF_CONFIG_SMALL("Vorbis"), |
| 1886 | 1886 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1293,7 +1293,7 @@ error: · 1292 unmodified lines | ||
| 1293 | 1293 | return ret; |
| 1294 | 1294 | } |
| 1295 | 1295 | |
| 1296 | −AVCodec ff_vorbis_encoder = { | |
| 1296 | +const AVCodec ff_vorbis_encoder = { | |
| 1297 | 1297 | .name = "vorbis", |
| 1298 | 1298 | .long_name = NULL_IF_CONFIG_SMALL("Vorbis"), |
| 1299 | 1299 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -3159,7 +3159,7 @@ static av_cold int theora_decode_init(AVCodecContext *avctx) · 3158 unmodified lines | ||
| 3159 | 3159 | return vp3_decode_init(avctx); |
| 3160 | 3160 | } |
| 3161 | 3161 | |
| 3162 | −AVCodec ff_theora_decoder = { | |
| 3162 | +const AVCodec ff_theora_decoder = { | |
| 3163 | 3163 | .name = "theora", |
| 3164 | 3164 | .long_name = NULL_IF_CONFIG_SMALL("Theora"), |
| 3165 | 3165 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -3177,7 +3177,7 @@ AVCodec ff_theora_decoder = { · 11 unmodified lines | ||
| 3177 | 3177 | }; |
| 3178 | 3178 | #endif |
| 3179 | 3179 | |
| 3180 | −AVCodec ff_vp3_decoder = { | |
| 3180 | +const AVCodec ff_vp3_decoder = { | |
| 3181 | 3181 | .name = "vp3", |
| 3182 | 3182 | .long_name = NULL_IF_CONFIG_SMALL("On2 VP3"), |
| 3183 | 3183 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -3194,7 +3194,7 @@ AVCodec ff_vp3_decoder = { · 10 unmodified lines | ||
| 3194 | 3194 | }; |
| 3195 | 3195 | |
| 3196 | 3196 | #if CONFIG_VP4_DECODER |
| 3197 | −AVCodec ff_vp4_decoder = { | |
| 3197 | +const AVCodec ff_vp4_decoder = { | |
| 3198 | 3198 | .name = "vp4", |
| 3199 | 3199 | .long_name = NULL_IF_CONFIG_SMALL("On2 VP4"), |
| 3200 | 3200 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -296,7 +296,7 @@ static av_cold int vp5_decode_init(AVCodecContext *avctx) · 295 unmodified lines | ||
| 296 | 296 | return 0; |
| 297 | 297 | } |
| 298 | 298 | |
| 299 | −AVCodec ff_vp5_decoder = { | |
| 299 | +const AVCodec ff_vp5_decoder = { | |
| 300 | 300 | .name = "vp5", |
| 301 | 301 | .long_name = NULL_IF_CONFIG_SMALL("On2 VP5"), |
| 302 | 302 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -703,7 +703,7 @@ static av_cold void vp6_decode_free_context(VP56Context *s) · 702 unmodified lines | ||
| 703 | 703 | } |
| 704 | 704 | } |
| 705 | 705 | |
| 706 | −AVCodec ff_vp6_decoder = { | |
| 706 | +const AVCodec ff_vp6_decoder = { | |
| 707 | 707 | .name = "vp6", |
| 708 | 708 | .long_name = NULL_IF_CONFIG_SMALL("On2 VP6"), |
| 709 | 709 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -716,7 +716,7 @@ AVCodec ff_vp6_decoder = { · 6 unmodified lines | ||
| 716 | 716 | }; |
| 717 | 717 | |
| 718 | 718 | /* flash version, not flipped upside-down */ |
| 719 | −AVCodec ff_vp6f_decoder = { | |
| 719 | +const AVCodec ff_vp6f_decoder = { | |
| 720 | 720 | .name = "vp6f", |
| 721 | 721 | .long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version)"), |
| 722 | 722 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -729,7 +729,7 @@ AVCodec ff_vp6f_decoder = { · 6 unmodified lines | ||
| 729 | 729 | }; |
| 730 | 730 | |
| 731 | 731 | /* flash version, not flipped upside-down, with alpha channel */ |
| 732 | −AVCodec ff_vp6a_decoder = { | |
| 732 | +const AVCodec ff_vp6a_decoder = { | |
| 733 | 733 | .name = "vp6a", |
| 734 | 734 | .long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version, with alpha channel)"), |
| 735 | 735 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2938,7 +2938,7 @@ static int vp8_decode_update_thread_context(AVCodecContext *dst, · 2937 unmodified lines | ||
| 2938 | 2938 | #endif /* CONFIG_VP8_DECODER */ |
| 2939 | 2939 | |
| 2940 | 2940 | #if CONFIG_VP7_DECODER |
| 2941 | −AVCodec ff_vp7_decoder = { | |
| 2941 | +const AVCodec ff_vp7_decoder = { | |
| 2942 | 2942 | .name = "vp7", |
| 2943 | 2943 | .long_name = NULL_IF_CONFIG_SMALL("On2 VP7"), |
| 2944 | 2944 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -2953,7 +2953,7 @@ AVCodec ff_vp7_decoder = { · 8 unmodified lines | ||
| 2953 | 2953 | #endif /* CONFIG_VP7_DECODER */ |
| 2954 | 2954 | |
| 2955 | 2955 | #if CONFIG_VP8_DECODER |
| 2956 | −AVCodec ff_vp8_decoder = { | |
| 2956 | +const AVCodec ff_vp8_decoder = { | |
| 2957 | 2957 | .name = "vp8", |
| 2958 | 2958 | .long_name = NULL_IF_CONFIG_SMALL("On2 VP8"), |
| 2959 | 2959 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1873,7 +1873,7 @@ static int vp9_decode_update_thread_context(AVCodecContext *dst, const AVCodecCo · 1872 unmodified lines | ||
| 1873 | 1873 | } |
| 1874 | 1874 | #endif |
| 1875 | 1875 | |
| 1876 | −AVCodec ff_vp9_decoder = { | |
| 1876 | +const AVCodec ff_vp9_decoder = { | |
| 1877 | 1877 | .name = "vp9", |
| 1878 | 1878 | .long_name = NULL_IF_CONFIG_SMALL("Google VP9"), |
| 1879 | 1879 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -642,7 +642,7 @@ static const AVCodecDefault vqa_defaults[] = { · 641 unmodified lines | ||
| 642 | 642 | { NULL }, |
| 643 | 643 | }; |
| 644 | 644 | |
| 645 | −AVCodec ff_vqa_decoder = { | |
| 645 | +const AVCodec ff_vqa_decoder = { | |
| 646 | 646 | .name = "vqavideo", |
| 647 | 647 | .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios VQA (Vector Quantized Animation) video"), |
| 648 | 648 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1699,7 +1699,7 @@ error: · 1698 unmodified lines | ||
| 1699 | 1699 | return ret; |
| 1700 | 1700 | } |
| 1701 | 1701 | |
| 1702 | −AVCodec ff_wavpack_decoder = { | |
| 1702 | +const AVCodec ff_wavpack_decoder = { | |
| 1703 | 1703 | .name = "wavpack", |
| 1704 | 1704 | .long_name = NULL_IF_CONFIG_SMALL("WavPack"), |
| 1705 | 1705 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -2957,7 +2957,7 @@ static const AVClass wavpack_encoder_class = { · 2956 unmodified lines | ||
| 2957 | 2957 | .version = LIBAVUTIL_VERSION_INT, |
| 2958 | 2958 | }; |
| 2959 | 2959 | |
| 2960 | −AVCodec ff_wavpack_encoder = { | |
| 2960 | +const AVCodec ff_wavpack_encoder = { | |
| 2961 | 2961 | .name = "wavpack", |
| 2962 | 2962 | .long_name = NULL_IF_CONFIG_SMALL("WavPack"), |
| 2963 | 2963 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -249,7 +249,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 248 unmodified lines | ||
| 249 | 249 | return 0; |
| 250 | 250 | } |
| 251 | 251 | |
| 252 | −AVCodec ff_wcmv_decoder = { | |
| 252 | +const AVCodec ff_wcmv_decoder = { | |
| 253 | 253 | .name = "wcmv", |
| 254 | 254 | .long_name = NULL_IF_CONFIG_SMALL("WinCAM Motion Video"), |
| 255 | 255 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -1550,7 +1550,7 @@ static av_cold int webp_decode_close(AVCodecContext *avctx) · 1549 unmodified lines | ||
| 1550 | 1550 | return 0; |
| 1551 | 1551 | } |
| 1552 | 1552 | |
| 1553 | −AVCodec ff_webp_decoder = { | |
| 1553 | +const AVCodec ff_webp_decoder = { | |
| 1554 | 1554 | .name = "webp", |
| 1555 | 1555 | .long_name = NULL_IF_CONFIG_SMALL("WebP image"), |
| 1556 | 1556 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -98,7 +98,7 @@ static int webvtt_decode_frame(AVCodecContext *avctx, · 97 unmodified lines | ||
| 98 | 98 | return avpkt->size; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | −AVCodec ff_webvtt_decoder = { | |
| 101 | +const AVCodec ff_webvtt_decoder = { | |
| 102 | 102 | .name = "webvtt", |
| 103 | 103 | .long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"), |
| 104 | 104 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -210,7 +210,7 @@ static av_cold int webvtt_encode_init(AVCodecContext *avctx) · 209 unmodified lines | ||
| 210 | 210 | return s->ass_ctx ? 0 : AVERROR_INVALIDDATA; |
| 211 | 211 | } |
| 212 | 212 | |
| 213 | −AVCodec ff_webvtt_encoder = { | |
| 213 | +const AVCodec ff_webvtt_encoder = { | |
| 214 | 214 | .name = "webvtt", |
| 215 | 215 | .long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"), |
| 216 | 216 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -964,7 +964,7 @@ static av_cold void flush(AVCodecContext *avctx) · 963 unmodified lines | ||
| 964 | 964 | } |
| 965 | 965 | |
| 966 | 966 | #if CONFIG_WMAV1_DECODER |
| 967 | −AVCodec ff_wmav1_decoder = { | |
| 967 | +const AVCodec ff_wmav1_decoder = { | |
| 968 | 968 | .name = "wmav1", |
| 969 | 969 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"), |
| 970 | 970 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -980,7 +980,7 @@ AVCodec ff_wmav1_decoder = { · 9 unmodified lines | ||
| 980 | 980 | }; |
| 981 | 981 | #endif |
| 982 | 982 | #if CONFIG_WMAV2_DECODER |
| 983 | −AVCodec ff_wmav2_decoder = { | |
| 983 | +const AVCodec ff_wmav2_decoder = { | |
| 984 | 984 | .name = "wmav2", |
| 985 | 985 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"), |
| 986 | 986 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -425,7 +425,7 @@ static int encode_superframe(AVCodecContext *avctx, AVPacket *avpkt, · 424 unmodified lines | ||
| 425 | 425 | } |
| 426 | 426 | |
| 427 | 427 | #if CONFIG_WMAV1_ENCODER |
| 428 | −AVCodec ff_wmav1_encoder = { | |
| 428 | +const AVCodec ff_wmav1_encoder = { | |
| 429 | 429 | .name = "wmav1", |
| 430 | 430 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"), |
| 431 | 431 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -439,7 +439,7 @@ AVCodec ff_wmav1_encoder = { · 7 unmodified lines | ||
| 439 | 439 | }; |
| 440 | 440 | #endif |
| 441 | 441 | #if CONFIG_WMAV2_ENCODER |
| 442 | −AVCodec ff_wmav2_encoder = { | |
| 442 | +const AVCodec ff_wmav2_encoder = { | |
| 443 | 443 | .name = "wmav2", |
| 444 | 444 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"), |
| 445 | 445 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1323,7 +1323,7 @@ static av_cold int decode_close(AVCodecContext *avctx) · 1322 unmodified lines | ||
| 1323 | 1323 | return 0; |
| 1324 | 1324 | } |
| 1325 | 1325 | |
| 1326 | −AVCodec ff_wmalossless_decoder = { | |
| 1326 | +const AVCodec ff_wmalossless_decoder = { | |
| 1327 | 1327 | .name = "wmalossless", |
| 1328 | 1328 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Lossless"), |
| 1329 | 1329 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -2005,7 +2005,7 @@ static void xma_flush(AVCodecContext *avctx) · 2004 unmodified lines | ||
| 2005 | 2005 | /** |
| 2006 | 2006 | *@brief wmapro decoder |
| 2007 | 2007 | */ |
| 2008 | −AVCodec ff_wmapro_decoder = { | |
| 2008 | +const AVCodec ff_wmapro_decoder = { | |
| 2009 | 2009 | .name = "wmapro", |
| 2010 | 2010 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"), |
| 2011 | 2011 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -2021,7 +2021,7 @@ AVCodec ff_wmapro_decoder = { · 9 unmodified lines | ||
| 2021 | 2021 | AV_SAMPLE_FMT_NONE }, |
| 2022 | 2022 | }; |
| 2023 | 2023 | |
| 2024 | −AVCodec ff_xma1_decoder = { | |
| 2024 | +const AVCodec ff_xma1_decoder = { | |
| 2025 | 2025 | .name = "xma1", |
| 2026 | 2026 | .long_name = NULL_IF_CONFIG_SMALL("Xbox Media Audio 1"), |
| 2027 | 2027 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -2036,7 +2036,7 @@ AVCodec ff_xma1_decoder = { · 8 unmodified lines | ||
| 2036 | 2036 | AV_SAMPLE_FMT_NONE }, |
| 2037 | 2037 | }; |
| 2038 | 2038 | |
| 2039 | −AVCodec ff_xma2_decoder = { | |
| 2039 | +const AVCodec ff_xma2_decoder = { | |
| 2040 | 2040 | .name = "xma2", |
| 2041 | 2041 | .long_name = NULL_IF_CONFIG_SMALL("Xbox Media Audio 2"), |
| 2042 | 2042 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -1997,7 +1997,7 @@ static av_cold int wmavoice_decode_end(AVCodecContext *ctx) · 1996 unmodified lines | ||
| 1997 | 1997 | return 0; |
| 1998 | 1998 | } |
| 1999 | 1999 | |
| 2000 | −AVCodec ff_wmavoice_decoder = { | |
| 2000 | +const AVCodec ff_wmavoice_decoder = { | |
| 2001 | 2001 | .name = "wmavoice", |
| 2002 | 2002 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Voice"), |
| 2003 | 2003 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -513,7 +513,7 @@ static av_cold int wmv2_decode_end(AVCodecContext *avctx) · 512 unmodified lines | ||
| 513 | 513 | return ff_h263_decode_end(avctx); |
| 514 | 514 | } |
| 515 | 515 | |
| 516 | −AVCodec ff_wmv2_decoder = { | |
| 516 | +const AVCodec ff_wmv2_decoder = { | |
| 517 | 517 | .name = "wmv2", |
| 518 | 518 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"), |
| 519 | 519 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -221,7 +221,7 @@ static const AVClass wmv2_class = { · 220 unmodified lines | ||
| 221 | 221 | .version = LIBAVUTIL_VERSION_INT, |
| 222 | 222 | }; |
| 223 | 223 | |
| 224 | −AVCodec ff_wmv2_encoder = { | |
| 224 | +const AVCodec ff_wmv2_encoder = { | |
| 225 | 225 | .name = "wmv2", |
| 226 | 226 | .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"), |
| 227 | 227 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -133,7 +133,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 132 unmodified lines | ||
| 133 | 133 | return 0; |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | −AVCodec ff_wnv1_decoder = { | |
| 136 | +const AVCodec ff_wnv1_decoder = { | |
| 137 | 137 | .name = "wnv1", |
| 138 | 138 | .long_name = NULL_IF_CONFIG_SMALL("Winnov WNV1"), |
| 139 | 139 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -109,7 +109,7 @@ static int wrapped_avframe_decode(AVCodecContext *avctx, void *data, · 108 unmodified lines | ||
| 109 | 109 | return 0; |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | −AVCodec ff_wrapped_avframe_encoder = { | |
| 112 | +const AVCodec ff_wrapped_avframe_encoder = { | |
| 113 | 113 | .name = "wrapped_avframe", |
| 114 | 114 | .long_name = NULL_IF_CONFIG_SMALL("AVFrame to AVPacket passthrough"), |
| 115 | 115 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -118,7 +118,7 @@ AVCodec ff_wrapped_avframe_encoder = { · 2 unmodified lines | ||
| 118 | 118 | .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, |
| 119 | 119 | }; |
| 120 | 120 | |
| 121 | −AVCodec ff_wrapped_avframe_decoder = { | |
| 121 | +const AVCodec ff_wrapped_avframe_decoder = { | |
| 122 | 122 | .name = "wrapped_avframe", |
| 123 | 123 | .long_name = NULL_IF_CONFIG_SMALL("AVPacket to AVFrame passthrough"), |
| 124 | 124 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -170,7 +170,7 @@ static int ws_snd_decode_frame(AVCodecContext *avctx, void *data, · 169 unmodified lines | ||
| 170 | 170 | return buf_size; |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | −AVCodec ff_ws_snd1_decoder = { | |
| 173 | +const AVCodec ff_ws_snd1_decoder = { | |
| 174 | 174 | .name = "ws_snd1", |
| 175 | 175 | .long_name = NULL_IF_CONFIG_SMALL("Westwood Audio (SND1)"), |
| 176 | 176 | .type = AVMEDIA_TYPE_AUDIO, |
| @@ -635,7 +635,7 @@ static int xan_decode_frame(AVCodecContext *avctx, · 634 unmodified lines | ||
| 635 | 635 | return buf_size; |
| 636 | 636 | } |
| 637 | 637 | |
| 638 | −AVCodec ff_xan_wc3_decoder = { | |
| 638 | +const AVCodec ff_xan_wc3_decoder = { | |
| 639 | 639 | .name = "xan_wc3", |
| 640 | 640 | .long_name = NULL_IF_CONFIG_SMALL("Wing Commander III / Xan"), |
| 641 | 641 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -136,7 +136,7 @@ static int xbm_decode_frame(AVCodecContext *avctx, void *data, · 135 unmodified lines | ||
| 136 | 136 | return avpkt->size; |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | −AVCodec ff_xbm_decoder = { | |
| 139 | +const AVCodec ff_xbm_decoder = { | |
| 140 | 140 | .name = "xbm", |
| 141 | 141 | .long_name = NULL_IF_CONFIG_SMALL("XBM (X BitMap) image"), |
| 142 | 142 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -75,7 +75,7 @@ static int xbm_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 74 unmodified lines | ||
| 75 | 75 | return 0; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | −AVCodec ff_xbm_encoder = { | |
| 78 | +const AVCodec ff_xbm_encoder = { | |
| 79 | 79 | .name = "xbm", |
| 80 | 80 | .long_name = NULL_IF_CONFIG_SMALL("XBM (X BitMap) image"), |
| 81 | 81 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -176,7 +176,7 @@ static int xface_decode_frame(AVCodecContext *avctx, · 175 unmodified lines | ||
| 176 | 176 | return avpkt->size; |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | −AVCodec ff_xface_decoder = { | |
| 179 | +const AVCodec ff_xface_decoder = { | |
| 180 | 180 | .name = "xface", |
| 181 | 181 | .long_name = NULL_IF_CONFIG_SMALL("X-face image"), |
| 182 | 182 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -211,7 +211,7 @@ static int xface_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 210 unmodified lines | ||
| 211 | 211 | return 0; |
| 212 | 212 | } |
| 213 | 213 | |
| 214 | −AVCodec ff_xface_encoder = { | |
| 214 | +const AVCodec ff_xface_encoder = { | |
| 215 | 215 | .name = "xface", |
| 216 | 216 | .long_name = NULL_IF_CONFIG_SMALL("X-face image"), |
| 217 | 217 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -127,7 +127,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 126 unmodified lines | ||
| 127 | 127 | return 0; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | −AVCodec ff_xl_decoder = { | |
| 130 | +const AVCodec ff_xl_decoder = { | |
| 131 | 131 | .name = "xl", |
| 132 | 132 | .long_name = NULL_IF_CONFIG_SMALL("Miro VideoXL"), |
| 133 | 133 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -436,7 +436,7 @@ static av_cold int xpm_decode_close(AVCodecContext *avctx) · 435 unmodified lines | ||
| 436 | 436 | return 0; |
| 437 | 437 | } |
| 438 | 438 | |
| 439 | −AVCodec ff_xpm_decoder = { | |
| 439 | +const AVCodec ff_xpm_decoder = { | |
| 440 | 440 | .name = "xpm", |
| 441 | 441 | .type = AVMEDIA_TYPE_VIDEO, |
| 442 | 442 | .id = AV_CODEC_ID_XPM, |
| @@ -160,7 +160,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, · 159 unmodified lines | ||
| 160 | 160 | return buf_size; |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | −AVCodec ff_xsub_decoder = { | |
| 163 | +const AVCodec ff_xsub_decoder = { | |
| 164 | 164 | .name = "xsub", |
| 165 | 165 | .long_name = NULL_IF_CONFIG_SMALL("XSUB"), |
| 166 | 166 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -211,7 +211,7 @@ static av_cold int xsub_encoder_init(AVCodecContext *avctx) · 210 unmodified lines | ||
| 211 | 211 | return 0; |
| 212 | 212 | } |
| 213 | 213 | |
| 214 | −AVCodec ff_xsub_encoder = { | |
| 214 | +const AVCodec ff_xsub_encoder = { | |
| 215 | 215 | .name = "xsub", |
| 216 | 216 | .long_name = NULL_IF_CONFIG_SMALL("DivX subtitles (XSUB)"), |
| 217 | 217 | .type = AVMEDIA_TYPE_SUBTITLE, |
| @@ -247,7 +247,7 @@ static int xwd_decode_frame(AVCodecContext *avctx, void *data, · 246 unmodified lines | ||
| 247 | 247 | return buf_size; |
| 248 | 248 | } |
| 249 | 249 | |
| 250 | −AVCodec ff_xwd_decoder = { | |
| 250 | +const AVCodec ff_xwd_decoder = { | |
| 251 | 251 | .name = "xwd", |
| 252 | 252 | .long_name = NULL_IF_CONFIG_SMALL("XWD (X Window Dump) image"), |
| 253 | 253 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -215,7 +215,7 @@ static int xwd_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 214 unmodified lines | ||
| 215 | 215 | return 0; |
| 216 | 216 | } |
| 217 | 217 | |
| 218 | −AVCodec ff_xwd_encoder = { | |
| 218 | +const AVCodec ff_xwd_encoder = { | |
| 219 | 219 | .name = "xwd", |
| 220 | 220 | .long_name = NULL_IF_CONFIG_SMALL("XWD (X Window Dump) image"), |
| 221 | 221 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -433,7 +433,7 @@ static int xan_decode_frame(AVCodecContext *avctx, · 432 unmodified lines | ||
| 433 | 433 | return avpkt->size; |
| 434 | 434 | } |
| 435 | 435 | |
| 436 | −AVCodec ff_xan_wc4_decoder = { | |
| 436 | +const AVCodec ff_xan_wc4_decoder = { | |
| 437 | 437 | .name = "xan_wc4", |
| 438 | 438 | .long_name = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"), |
| 439 | 439 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -81,7 +81,7 @@ static int y41p_decode_frame(AVCodecContext *avctx, void *data, · 80 unmodified lines | ||
| 81 | 81 | return avpkt->size; |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | −AVCodec ff_y41p_decoder = { | |
| 84 | +const AVCodec ff_y41p_decoder = { | |
| 85 | 85 | .name = "y41p", |
| 86 | 86 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"), |
| 87 | 87 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -75,7 +75,7 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 74 unmodified lines | ||
| 75 | 75 | return 0; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | −AVCodec ff_y41p_encoder = { | |
| 78 | +const AVCodec ff_y41p_encoder = { | |
| 79 | 79 | .name = "y41p", |
| 80 | 80 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"), |
| 81 | 81 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -452,7 +452,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 451 unmodified lines | ||
| 452 | 452 | return 0; |
| 453 | 453 | } |
| 454 | 454 | |
| 455 | −AVCodec ff_ylc_decoder = { | |
| 455 | +const AVCodec ff_ylc_decoder = { | |
| 456 | 456 | .name = "ylc", |
| 457 | 457 | .long_name = NULL_IF_CONFIG_SMALL("YUY2 Lossless Codec"), |
| 458 | 458 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -265,7 +265,7 @@ static int yop_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, · 264 unmodified lines | ||
| 265 | 265 | return avpkt->size; |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | −AVCodec ff_yop_decoder = { | |
| 268 | +const AVCodec ff_yop_decoder = { | |
| 269 | 269 | .name = "yop", |
| 270 | 270 | .long_name = NULL_IF_CONFIG_SMALL("Psygnosis YOP Video"), |
| 271 | 271 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -73,7 +73,7 @@ static int yuv4_decode_frame(AVCodecContext *avctx, void *data, · 72 unmodified lines | ||
| 73 | 73 | return avpkt->size; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | −AVCodec ff_yuv4_decoder = { | |
| 76 | +const AVCodec ff_yuv4_decoder = { | |
| 77 | 77 | .name = "yuv4", |
| 78 | 78 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"), |
| 79 | 79 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -57,7 +57,7 @@ static int yuv4_encode_frame(AVCodecContext *avctx, AVPacket *pkt, · 56 unmodified lines | ||
| 57 | 57 | return 0; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | −AVCodec ff_yuv4_encoder = { | |
| 60 | +const AVCodec ff_yuv4_encoder = { | |
| 61 | 61 | .name = "yuv4", |
| 62 | 62 | .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"), |
| 63 | 63 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -144,7 +144,7 @@ static void zerocodec_decode_flush(AVCodecContext *avctx) · 143 unmodified lines | ||
| 144 | 144 | av_frame_unref(zc->previous_frame); |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | −AVCodec ff_zerocodec_decoder = { | |
| 147 | +const AVCodec ff_zerocodec_decoder = { | |
| 148 | 148 | .type = AVMEDIA_TYPE_VIDEO, |
| 149 | 149 | .name = "zerocodec", |
| 150 | 150 | .long_name = NULL_IF_CONFIG_SMALL("ZeroCodec Lossless Video"), |
| @@ -654,7 +654,7 @@ static av_cold int decode_end(AVCodecContext *avctx) · 653 unmodified lines | ||
| 654 | 654 | return 0; |
| 655 | 655 | } |
| 656 | 656 | |
| 657 | −AVCodec ff_zmbv_decoder = { | |
| 657 | +const AVCodec ff_zmbv_decoder = { | |
| 658 | 658 | .name = "zmbv", |
| 659 | 659 | .long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"), |
| 660 | 660 | .type = AVMEDIA_TYPE_VIDEO, |
| @@ -422,7 +422,7 @@ static av_cold int encode_init(AVCodecContext *avctx) · 421 unmodified lines | ||
| 422 | 422 | return 0; |
| 423 | 423 | } |
| 424 | 424 | |
| 425 | −AVCodec ff_zmbv_encoder = { | |
| 425 | +const AVCodec ff_zmbv_encoder = { | |
| 426 | 426 | .name = "zmbv", |
| 427 | 427 | .long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"), |
| 428 | 428 | .type = AVMEDIA_TYPE_VIDEO, |