diff options
268 files changed, 358 insertions, 358 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 30c4c5919f..97436ce187 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -865,7 +865,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ return 0; } -AVCodec fourxm_decoder = { +AVCodec ff_fourxm_decoder = { "4xm", AVMEDIA_TYPE_VIDEO, CODEC_ID_4XM, diff --git a/libavcodec/8bps.c b/libavcodec/8bps.c index 292c739c11..4757057876 100644 --- a/libavcodec/8bps.c +++ b/libavcodec/8bps.c @@ -219,7 +219,7 @@ static av_cold int decode_end(AVCodecContext *avctx) -AVCodec eightbps_decoder = { +AVCodec ff_eightbps_decoder = { "8bps", AVMEDIA_TYPE_VIDEO, CODEC_ID_8BPS, diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c index 66820be1ad..3f7d3efc76 100644 --- a/libavcodec/8svx.c +++ b/libavcodec/8svx.c @@ -92,7 +92,7 @@ static av_cold int eightsvx_decode_init(AVCodecContext *avctx) return 0; } -AVCodec eightsvx_fib_decoder = { +AVCodec ff_eightsvx_fib_decoder = { .name = "8svx_fib", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_8SVX_FIB, @@ -102,7 +102,7 @@ AVCodec eightsvx_fib_decoder = { .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), }; -AVCodec eightsvx_exp_decoder = { +AVCodec ff_eightsvx_exp_decoder = { .name = "8svx_exp", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_8SVX_EXP, diff --git a/libavcodec/a64multienc.c b/libavcodec/a64multienc.c index fa1209e5c5..aed28ad280 100644 --- a/libavcodec/a64multienc.c +++ b/libavcodec/a64multienc.c @@ -362,7 +362,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, unsigned char *buf, return 0; } -AVCodec a64multi_encoder = { +AVCodec ff_a64multi_encoder = { .name = "a64multi", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_A64_MULTI, @@ -375,7 +375,7 @@ AVCodec a64multi_encoder = { .capabilities = CODEC_CAP_DELAY, }; -AVCodec a64multi5_encoder = { +AVCodec ff_a64multi5_encoder = { .name = "a64multi5", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_A64_MULTI5, diff --git a/libavcodec/aac_adtstoasc_bsf.c b/libavcodec/aac_adtstoasc_bsf.c index 9b615e65d3..6558c0280f 100644 --- a/libavcodec/aac_adtstoasc_bsf.c +++ b/libavcodec/aac_adtstoasc_bsf.c @@ -107,7 +107,7 @@ static int aac_adtstoasc_filter(AVBitStreamFilterContext *bsfc, return 0; } -AVBitStreamFilter aac_adtstoasc_bsf = { +AVBitStreamFilter ff_aac_adtstoasc_bsf = { "aac_adtstoasc", sizeof(AACBSFContext), aac_adtstoasc_filter, diff --git a/libavcodec/aac_parser.c b/libavcodec/aac_parser.c index 3ad4610e95..9165178d15 100644 --- a/libavcodec/aac_parser.c +++ b/libavcodec/aac_parser.c @@ -60,7 +60,7 @@ static av_cold int aac_parse_init(AVCodecParserContext *s1) } -AVCodecParser aac_parser = { +AVCodecParser ff_aac_parser = { { CODEC_ID_AAC }, sizeof(AACAC3ParseContext), aac_parse_init, diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index e6d32f4a73..fd65b1c3ba 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -2351,7 +2351,7 @@ av_cold static int latm_decode_init(AVCodecContext *avctx) } -AVCodec aac_decoder = { +AVCodec ff_aac_decoder = { "aac", AVMEDIA_TYPE_AUDIO, CODEC_ID_AAC, @@ -2372,7 +2372,7 @@ AVCodec aac_decoder = { in MPEG transport streams which only contain one program. To do a more complex LATM demuxing a separate LATM demuxer should be used. */ -AVCodec aac_latm_decoder = { +AVCodec ff_aac_latm_decoder = { .name = "aac_latm", .type = CODEC_TYPE_AUDIO, .id = CODEC_ID_AAC_LATM, diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 120f873342..50dab1cffd 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -641,7 +641,7 @@ static av_cold int aac_encode_end(AVCodecContext *avctx) return 0; } -AVCodec aac_encoder = { +AVCodec ff_aac_encoder = { "aac", AVMEDIA_TYPE_AUDIO, CODEC_ID_AAC, diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c index 82bd2bfd3d..44bdcb0b63 100644 --- a/libavcodec/aasc.c +++ b/libavcodec/aasc.c @@ -109,7 +109,7 @@ static av_cold int aasc_decode_end(AVCodecContext *avctx) return 0; } -AVCodec aasc_decoder = { +AVCodec ff_aasc_decoder = { "aasc", AVMEDIA_TYPE_VIDEO, CODEC_ID_AASC, diff --git a/libavcodec/ac3_parser.c b/libavcodec/ac3_parser.c index 00aa372437..4737d6f868 100644 --- a/libavcodec/ac3_parser.c +++ b/libavcodec/ac3_parser.c @@ -169,7 +169,7 @@ static av_cold int ac3_parse_init(AVCodecParserContext *s1) } -AVCodecParser ac3_parser = { +AVCodecParser ff_ac3_parser = { { CODEC_ID_AC3, CODEC_ID_EAC3 }, sizeof(AACAC3ParseContext), ac3_parse_init, diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 33c5f742e5..a1e731dcf9 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1437,7 +1437,7 @@ static av_cold int ac3_decode_end(AVCodecContext *avctx) return 0; } -AVCodec ac3_decoder = { +AVCodec ff_ac3_decoder = { .name = "ac3", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_AC3, @@ -1449,7 +1449,7 @@ AVCodec ac3_decoder = { }; #if CONFIG_EAC3_DECODER -AVCodec eac3_decoder = { +AVCodec ff_eac3_decoder = { .name = "eac3", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_EAC3, diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c index dfd218ec72..90e148b949 100644 --- a/libavcodec/ac3enc_fixed.c +++ b/libavcodec/ac3enc_fixed.c @@ -425,7 +425,7 @@ int main(void) #endif /* TEST */ -AVCodec ac3_fixed_encoder = { +AVCodec ff_ac3_fixed_encoder = { "ac3_fixed", AVMEDIA_TYPE_AUDIO, CODEC_ID_AC3, diff --git a/libavcodec/ac3enc_float.c b/libavcodec/ac3enc_float.c index 33e8294fbf..8668b2e033 100644 --- a/libavcodec/ac3enc_float.c +++ b/libavcodec/ac3enc_float.c @@ -109,7 +109,7 @@ static void scale_coefficients(AC3EncodeContext *s) } -AVCodec ac3_encoder = { +AVCodec ff_ac3_encoder = { "ac3", AVMEDIA_TYPE_AUDIO, CODEC_ID_AC3, diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index ee2ce54ff1..fb5bdc7faa 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1708,7 +1708,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, #if CONFIG_ENCODERS #define ADPCM_ENCODER(id,name,long_name_) \ -AVCodec name ## _encoder = { \ +AVCodec ff_ ## name ## _encoder = { \ #name, \ AVMEDIA_TYPE_AUDIO, \ id, \ @@ -1726,7 +1726,7 @@ AVCodec name ## _encoder = { \ #if CONFIG_DECODERS #define ADPCM_DECODER(id,name,long_name_) \ -AVCodec name ## _decoder = { \ +AVCodec ff_ ## name ## _decoder = { \ #name, \ AVMEDIA_TYPE_AUDIO, \ id, \ diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c index 030f2d781a..991528a7d2 100644 --- a/libavcodec/adxdec.c +++ b/libavcodec/adxdec.c @@ -166,7 +166,7 @@ static int adx_decode_frame(AVCodecContext *avctx, return buf-buf0; } -AVCodec adpcm_adx_decoder = { +AVCodec ff_adpcm_adx_decoder = { "adpcm_adx", AVMEDIA_TYPE_AUDIO, CODEC_ID_ADPCM_ADX, diff --git a/libavcodec/adxenc.c b/libavcodec/adxenc.c index 2200f5c6c8..ca48f94b71 100644 --- a/libavcodec/adxenc.c +++ b/libavcodec/adxenc.c @@ -183,7 +183,7 @@ static int adx_encode_frame(AVCodecContext *avctx, return dst-frame; } -AVCodec adpcm_adx_encoder = { +AVCodec ff_adpcm_adx_encoder = { "adpcm_adx", AVMEDIA_TYPE_AUDIO, CODEC_ID_ADPCM_ADX, diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 3a255781a2..96c15fffc9 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -691,7 +691,7 @@ static av_cold int alac_decode_close(AVCodecContext *avctx) return 0; } -AVCodec alac_decoder = { +AVCodec ff_alac_decoder = { "alac", AVMEDIA_TYPE_AUDIO, CODEC_ID_ALAC, diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c index d9ff2b8e0a..9d2865d51e 100644 --- a/libavcodec/alacenc.c +++ b/libavcodec/alacenc.c @@ -523,7 +523,7 @@ static av_cold int alac_encode_close(AVCodecContext *avctx) return 0; } -AVCodec alac_encoder = { +AVCodec ff_alac_encoder = { "alac", AVMEDIA_TYPE_AUDIO, CODEC_ID_ALAC, diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 94da5c04c1..04c5c6aad4 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -27,23 +27,23 @@ #include "avcodec.h" #define REGISTER_HWACCEL(X,x) { \ - extern AVHWAccel x##_hwaccel; \ - if(CONFIG_##X##_HWACCEL) av_register_hwaccel(&x##_hwaccel); } + extern AVHWAccel ff_##x##_hwaccel; \ + if(CONFIG_##X##_HWACCEL) av_register_hwaccel(&ff_##x##_hwaccel); } #define REGISTER_ENCODER(X,x) { \ - extern AVCodec x##_encoder; \ - if(CONFIG_##X##_ENCODER) avcodec_register(&x##_encoder); } + extern AVCodec ff_##x##_encoder; \ + if(CONFIG_##X##_ENCODER) avcodec_register(&ff_##x##_encoder); } #define REGISTER_DECODER(X,x) { \ - extern AVCodec x##_decoder; \ - if(CONFIG_##X##_DECODER) avcodec_register(&x##_decoder); } + extern AVCodec ff_##x##_decoder; \ + if(CONFIG_##X##_DECODER) avcodec_register(&ff_##x##_decoder); } #define REGISTER_ENCDEC(X,x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x) #define REGISTER_PARSER(X,x) { \ - extern AVCodecParser x##_parser; \ - if(CONFIG_##X##_PARSER) av_register_codec_parser(&x##_parser); } + extern AVCodecParser ff_##x##_parser; \ + if(CONFIG_##X##_PARSER) av_register_codec_parser(&ff_##x##_parser); } #define REGISTER_BSF(X,x) { \ - extern AVBitStreamFilter x##_bsf; \ - if(CONFIG_##X##_BSF) av_register_bitstream_filter(&x##_bsf); } + extern AVBitStreamFilter ff_##x##_bsf; \ + if(CONFIG_##X##_BSF) av_register_bitstream_filter(&ff_##x##_bsf); } void avcodec_register_all(void) { diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 116e5e2f82..3e415c0855 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -1737,7 +1737,7 @@ static av_cold void flush(AVCodecContext *avctx) } -AVCodec als_decoder = { +AVCodec ff_als_decoder = { "als", AVMEDIA_TYPE_AUDIO, CODEC_ID_MP4ALS, diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c index a7d9fc52c0..ec896c7dfb 100644 --- a/libavcodec/amrnbdec.c +++ b/libavcodec/amrnbdec.c @@ -1036,7 +1036,7 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void *data, int *data_size, } -AVCodec amrnb_decoder = { +AVCodec ff_amrnb_decoder = { .name = "amrnb", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_AMR_NB, diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c index 941d065127..8bf02a2b10 100644 --- a/libavcodec/amrwbdec.c +++ b/libavcodec/amrwbdec.c @@ -1225,7 +1225,7 @@ static int amrwb_decode_frame(AVCodecContext *avctx, void *data, int *data_size, return expected_fr_size; } -AVCodec amrwb_decoder = { +AVCodec ff_amrwb_decoder = { .name = "amrwb", .type = CODEC_TYPE_AUDIO, .id = CODEC_ID_AMR_WB, diff --git a/libavcodec/anm.c b/libavcodec/anm.c index f38486188c..5b2b9df8ea 100644 --- a/libavcodec/anm.c +++ b/libavcodec/anm.c @@ -183,7 +183,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec anm_decoder = { +AVCodec ff_anm_decoder = { "anm", AVMEDIA_TYPE_VIDEO, CODEC_ID_ANM, diff --git a/libavcodec/ansi.c b/libavcodec/ansi.c index 8e7171c6c1..9d6dc9d3d2 100644 --- a/libavcodec/ansi.c +++ b/libavcodec/ansi.c @@ -422,7 +422,7 @@ static av_cold int decode_close(AVCodecContext *avctx) return 0; } -AVCodec ansi_decoder = { +AVCodec ff_ansi_decoder = { .name = "ansi", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_ANSI, diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 497595463b..b6d6f9d9cc 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -883,7 +883,7 @@ static void ape_flush(AVCodecContext *avctx) s->samples= 0; } -AVCodec ape_decoder = { +AVCodec ff_ape_decoder = { "ape", AVMEDIA_TYPE_AUDIO, CODEC_ID_APE, diff --git a/libavcodec/assdec.c b/libavcodec/assdec.c index 0a7fd4821d..c1ad0c4af4 100644 --- a/libavcodec/assdec.c +++ b/libavcodec/assdec.c @@ -52,7 +52,7 @@ static int ass_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, return avpkt->size; } -AVCodec ass_decoder = { +AVCodec ff_ass_decoder = { .name = "ass", .long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle"), .type = AVMEDIA_TYPE_SUBTITLE, diff --git a/libavcodec/assenc.c b/libavcodec/assenc.c index c6f017ce5d..103f2ff276 100644 --- a/libavcodec/assenc.c +++ b/libavcodec/assenc.c @@ -57,7 +57,7 @@ static int ass_encode_frame(AVCodecContext *avctx, return total_len; } -AVCodec ass_encoder = { +AVCodec ff_ass_encoder = { .name = "ass", .long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle"), .type = AVMEDIA_TYPE_SUBTITLE, diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index 6b1a0935ae..d2005fff60 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -613,7 +613,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ return 0; } -AVCodec asv1_decoder = { +AVCodec ff_asv1_decoder = { "asv1", AVMEDIA_TYPE_VIDEO, CODEC_ID_ASV1, @@ -626,7 +626,7 @@ AVCodec asv1_decoder = { .long_name= NULL_IF_CONFIG_SMALL("ASUS V1"), }; -AVCodec asv2_decoder = { +AVCodec ff_asv2_decoder = { "asv2", AVMEDIA_TYPE_VIDEO, CODEC_ID_ASV2, @@ -640,7 +640,7 @@ AVCodec asv2_decoder = { }; #if CONFIG_ASV1_ENCODER -AVCodec asv1_encoder = { +AVCodec ff_asv1_encoder = { "asv1", AVMEDIA_TYPE_VIDEO, CODEC_ID_ASV1, @@ -654,7 +654,7 @@ AVCodec asv1_encoder = { #endif #if CONFIG_ASV2_ENCODER -AVCodec asv2_encoder = { +AVCodec ff_asv2_encoder = { "asv2", AVMEDIA_TYPE_VIDEO, CODEC_ID_ASV2, diff --git a/libavcodec/atrac1.c b/libavcodec/atrac1.c index c4404f6817..4de1dcea04 100644 --- a/libavcodec/atrac1.c +++ b/libavcodec/atrac1.c @@ -365,7 +365,7 @@ static av_cold int atrac1_decode_end(AVCodecContext * avctx) { } -AVCodec atrac1_decoder = { +AVCodec ff_atrac1_decoder = { .name = "atrac1", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_ATRAC1, diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index 214cec7faa..3d1f990164 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -1019,7 +1019,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx) } -AVCodec atrac3_decoder = +AVCodec ff_atrac3_decoder = { .name = "atrac3", .type = AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/aura.c b/libavcodec/aura.c index 8942cdd576..9041c7cb68 100644 --- a/libavcodec/aura.c +++ b/libavcodec/aura.c @@ -122,7 +122,7 @@ static av_cold int aura_decode_end(AVCodecContext *avctx) return 0; } -AVCodec aura2_decoder = { +AVCodec ff_aura2_decoder = { "aura2", AVMEDIA_TYPE_VIDEO, CODEC_ID_AURA2, diff --git a/libavcodec/avs.c b/libavcodec/avs.c index f65a25a8e3..e1a66a9930 100644 --- a/libavcodec/avs.c +++ b/libavcodec/avs.c @@ -150,7 +150,7 @@ static av_cold int avs_decode_init(AVCodecContext * avctx) return 0; } -AVCodec avs_decoder = { +AVCodec ff_avs_decoder = { "avs", AVMEDIA_TYPE_VIDEO, CODEC_ID_AVS, diff --git a/libavcodec/bethsoftvideo.c b/libavcodec/bethsoftvideo.c index 0ba39e63a5..5b06e5f12e 100644 --- a/libavcodec/bethsoftvideo.c +++ b/libavcodec/bethsoftvideo.c @@ -130,7 +130,7 @@ static av_cold int bethsoftvid_decode_end(AVCodecContext *avctx) return 0; } -AVCodec bethsoftvid_decoder = { +AVCodec ff_bethsoftvid_decoder = { .name = "bethsoftvid", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_BETHSOFTVID, diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c index ca72c1fd46..ff74233df9 100644 --- a/libavcodec/bfi.c +++ b/libavcodec/bfi.c @@ -180,7 +180,7 @@ static av_cold int bfi_decode_close(AVCodecContext * avctx) return 0; } -AVCodec bfi_decoder = { +AVCodec ff_bfi_decoder = { .name = "bfi", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_BFI, diff --git a/libavcodec/bink.c b/libavcodec/bink.c index 01294030bd..64a10b71e5 100644 --- a/libavcodec/bink.c +++ b/libavcodec/bink.c @@ -1000,7 +1000,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec bink_decoder = { +AVCodec ff_bink_decoder = { "binkvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_BINKVIDEO, diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c index 62ff17035e..7f579822db 100644 --- a/libavcodec/binkaudio.c +++ b/libavcodec/binkaudio.c @@ -286,7 +286,7 @@ static int decode_frame(AVCodecContext *avctx, return buf_size; } -AVCodec binkaudio_rdft_decoder = { +AVCodec ff_binkaudio_rdft_decoder = { "binkaudio_rdft", AVMEDIA_TYPE_AUDIO, CODEC_ID_BINKAUDIO_RDFT, @@ -298,7 +298,7 @@ AVCodec binkaudio_rdft_decoder = { .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)") }; -AVCodec binkaudio_dct_decoder = { +AVCodec ff_binkaudio_dct_decoder = { "binkaudio_dct", AVMEDIA_TYPE_AUDIO, CODEC_ID_BINKAUDIO_DCT, diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c index 0c9e97310d..c02aac6cb7 100644 --- a/libavcodec/bmp.c +++ b/libavcodec/bmp.c @@ -335,7 +335,7 @@ static av_cold int bmp_decode_end(AVCodecContext *avctx) return 0; } -AVCodec bmp_decoder = { +AVCodec ff_bmp_decoder = { "bmp", AVMEDIA_TYPE_VIDEO, CODEC_ID_BMP, diff --git a/libavcodec/bmpenc.c b/libavcodec/bmpenc.c index 12cb6de404..d424662b5c 100644 --- a/libavcodec/bmpenc.c +++ b/libavcodec/bmpenc.c @@ -149,7 +149,7 @@ static int bmp_encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_s return n_bytes; } -AVCodec bmp_encoder = { +AVCodec ff_bmp_encoder = { "bmp", AVMEDIA_TYPE_VIDEO, CODEC_ID_BMP, diff --git a/libavcodec/c93.c b/libavcodec/c93.c index d713ff8e26..ed6e91d831 100644 --- a/libavcodec/c93.c +++ b/libavcodec/c93.c @@ -242,7 +242,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, return buf_size; } -AVCodec c93_decoder = { +AVCodec ff_c93_decoder = { "c93", AVMEDIA_TYPE_VIDEO, CODEC_ID_C93, diff --git a/libavcodec/cavs_parser.c b/libavcodec/cavs_parser.c index 8e9c35b7a7..be32345af8 100644 --- a/libavcodec/cavs_parser.c +++ b/libavcodec/cavs_parser.c @@ -97,7 +97,7 @@ static int cavsvideo_parse(AVCodecParserContext *s, return next; } -AVCodecParser cavsvideo_parser = { +AVCodecParser ff_cavsvideo_parser = { { CODEC_ID_CAVS }, sizeof(ParseContext1), NULL, diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 9845fb47fc..7ff1a57eb5 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -709,7 +709,7 @@ static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size, } } -AVCodec cavs_decoder = { +AVCodec ff_cavs_decoder = { "cavs", AVMEDIA_TYPE_VIDEO, CODEC_ID_CAVS, diff --git a/libavcodec/cdgraphics.c b/libavcodec/cdgraphics.c index 8afbb27aad..68f556b3f3 100644 --- a/libavcodec/cdgraphics.c +++ b/libavcodec/cdgraphics.c @@ -367,7 +367,7 @@ static av_cold int cdg_decode_end(AVCodecContext *avctx) return 0; } -AVCodec cdgraphics_decoder = { +AVCodec ff_cdgraphics_decoder = { "cdgraphics", AVMEDIA_TYPE_VIDEO, CODEC_ID_CDGRAPHICS, diff --git a/libavcodec/chomp_bsf.c b/libavcodec/chomp_bsf.c index e9ac8e8e29..eaefaaa539 100644 --- a/libavcodec/chomp_bsf.c +++ b/libavcodec/chomp_bsf.c @@ -40,7 +40,7 @@ static int chomp_filter(AVBitStreamFilterContext *bsfc, /** * This filter removes a string of NULL bytes from the end of a packet. */ -AVBitStreamFilter chomp_bsf = { +AVBitStreamFilter ff_chomp_bsf = { "chomp", 0, chomp_filter, diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c index 8e7aa5aa99..52fde64813 100644 --- a/libavcodec/cinepak.c +++ b/libavcodec/cinepak.c @@ -455,7 +455,7 @@ static av_cold int cinepak_decode_end(AVCodecContext *avctx) return 0; } -AVCodec cinepak_decoder = { +AVCodec ff_cinepak_decoder = { "cinepak", AVMEDIA_TYPE_VIDEO, CODEC_ID_CINEPAK, diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c index 96c9bdf08a..36b6cbbb94 100644 --- a/libavcodec/cljr.c +++ b/libavcodec/cljr.c @@ -140,7 +140,7 @@ static av_cold int encode_init(AVCodecContext *avctx){ } #endif -AVCodec cljr_decoder = { +AVCodec ff_cljr_decoder = { "cljr", AVMEDIA_TYPE_VIDEO, CODEC_ID_CLJR, @@ -154,7 +154,7 @@ AVCodec cljr_decoder = { }; #if CONFIG_CLJR_ENCODER -AVCodec cljr_encoder = { +AVCodec ff_cljr_encoder = { "cljr", AVMEDIA_TYPE_VIDEO, CODEC_ID_CLJR, diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 2cbad5fc7a..6b70560546 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1283,7 +1283,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx) } -AVCodec cook_decoder = +AVCodec ff_cook_decoder = { .name = "cook", .type = AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/cscd.c b/libavcodec/cscd.c index 00867a17cf..82a44defc7 100644 --- a/libavcodec/cscd.c +++ b/libavcodec/cscd.c @@ -254,7 +254,7 @@ static av_cold int decode_end(AVCodecContext *avctx) { return 0; } -AVCodec cscd_decoder = { +AVCodec ff_cscd_decoder = { "camstudio", AVMEDIA_TYPE_VIDEO, CODEC_ID_CSCD, diff --git a/libavcodec/cyuv.c b/libavcodec/cyuv.c index db7e690be7..79a84412e7 100644 --- a/libavcodec/cyuv.c +++ b/libavcodec/cyuv.c @@ -178,7 +178,7 @@ static av_cold int cyuv_decode_end(AVCodecContext *avctx) } #if CONFIG_AURA_DECODER -AVCodec aura_decoder = { +AVCodec ff_aura_decoder = { "aura", AVMEDIA_TYPE_VIDEO, CODEC_ID_AURA, @@ -194,7 +194,7 @@ AVCodec aura_decoder = { #endif #if CONFIG_CYUV_DECODER -AVCodec cyuv_decoder = { +AVCodec ff_cyuv_decoder = { "cyuv", AVMEDIA_TYPE_VIDEO, CODEC_ID_CYUV, diff --git a/libavcodec/dca.c b/libavcodec/dca.c index 1e05561f25..c1c70cde1b 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -1875,7 +1875,7 @@ static const AVProfile profiles[] = { { FF_PROFILE_UNKNOWN }, }; -AVCodec dca_decoder = { +AVCodec ff_dca_decoder = { .name = "dca", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_DTS, diff --git a/libavcodec/dca_parser.c b/libavcodec/dca_parser.c index 01c559709a..a956e7506b 100644 --- a/libavcodec/dca_parser.c +++ b/libavcodec/dca_parser.c @@ -125,7 +125,7 @@ static int dca_parse(AVCodecParserContext * s, return next; } -AVCodecParser dca_parser = { +AVCodecParser ff_dca_parser = { {CODEC_ID_DTS}, sizeof(DCAParseContext), dca_parse_init, diff --git a/libavcodec/dirac_parser.c b/libavcodec/dirac_parser.c index e5b9599c7f..0a1135542f 100644 --- a/libavcodec/dirac_parser.c +++ b/libavcodec/dirac_parser.c @@ -247,7 +247,7 @@ static void dirac_parse_close(AVCodecParserContext *s) av_free(pc->buffer); } -AVCodecParser dirac_parser = { +AVCodecParser ff_dirac_parser = { { CODEC_ID_DIRAC }, sizeof(DiracParseContext), NULL, diff --git a/libavcodec/dnxhd_parser.c b/libavcodec/dnxhd_parser.c index 6149a2daab..e5a5aa09f5 100644 --- a/libavcodec/dnxhd_parser.c +++ b/libavcodec/dnxhd_parser.c @@ -86,7 +86,7 @@ static int dnxhd_parse(AVCodecParserContext *s, return next; } -AVCodecParser dnxhd_parser = { +AVCodecParser ff_dnxhd_parser = { { CODEC_ID_DNXHD }, sizeof(ParseContext), NULL, diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 67dd7fc60d..d977e88046 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -346,7 +346,7 @@ static av_cold int dnxhd_decode_close(AVCodecContext *avctx) return 0; } -AVCodec dnxhd_decoder = { +AVCodec ff_dnxhd_decoder = { "dnxhd", AVMEDIA_TYPE_VIDEO, CODEC_ID_DNXHD, diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 8cf54c5dc7..9f191e8703 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -848,7 +848,7 @@ static int dnxhd_encode_end(AVCodecContext *avctx) return 0; } -AVCodec dnxhd_encoder = { +AVCodec ff_dnxhd_encoder = { "dnxhd", AVMEDIA_TYPE_VIDEO, CODEC_ID_DNXHD, diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c index 334f25dfdc..6053a14550 100644 --- a/libavcodec/dpcm.c +++ b/libavcodec/dpcm.c @@ -299,7 +299,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx, } #define DPCM_DECODER(id, name, long_name_) \ -AVCodec name ## _decoder = { \ +AVCodec ff_ ## name ## _decoder = { \ #name, \ AVMEDIA_TYPE_AUDIO, \ id, \ diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index e49c969c6f..55ae4e7248 100644 --- a/libavcodec/dpx.c +++ b/libavcodec/dpx.c @@ -220,7 +220,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec dpx_decoder = { +AVCodec ff_dpx_decoder = { "dpx", AVMEDIA_TYPE_VIDEO, CODEC_ID_DPX, diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c index 4eddaac5a6..b4e0579a7b 100644 --- a/libavcodec/dsicinav.c +++ b/libavcodec/dsicinav.c @@ -343,7 +343,7 @@ static int cinaudio_decode_frame(AVCodecContext *avctx, } -AVCodec dsicinvideo_decoder = { +AVCodec ff_dsicinvideo_decoder = { "dsicinvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_DSICINVIDEO, @@ -356,7 +356,7 @@ AVCodec dsicinvideo_decoder = { .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"), }; -AVCodec dsicinaudio_decoder = { +AVCodec ff_dsicinaudio_decoder = { "dsicinaudio", AVMEDIA_TYPE_AUDIO, CODEC_ID_DSICINAUDIO, diff --git a/libavcodec/dump_extradata_bsf.c b/libavcodec/dump_extradata_bsf.c index db263490a3..9499d6d8d8 100644 --- a/libavcodec/dump_extradata_bsf.c +++ b/libavcodec/dump_extradata_bsf.c @@ -43,7 +43,7 @@ static int dump_extradata(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, return 0; } -AVBitStreamFilter dump_extradata_bsf={ +AVBitStreamFilter ff_dump_extradata_bsf={ "dump_extra", 0, dump_extradata, diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 564ccb3103..6a4914768d 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -1290,7 +1290,7 @@ static int dvvideo_close(AVCodecContext *c) #if CONFIG_DVVIDEO_ENCODER -AVCodec dvvideo_encoder = { +AVCodec ff_dvvideo_encoder = { "dvvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_DVVIDEO, @@ -1303,7 +1303,7 @@ AVCodec dvvideo_encoder = { #endif // CONFIG_DVVIDEO_ENCODER #if CONFIG_DVVIDEO_DECODER -AVCodec dvvideo_decoder = { +AVCodec ff_dvvideo_decoder = { "dvvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_DVVIDEO, diff --git a/libavcodec/dvbsub.c b/libavcodec/dvbsub.c index ea55cae317..c2a129864f 100644 --- a/libavcodec/dvbsub.c +++ b/libavcodec/dvbsub.c @@ -402,7 +402,7 @@ static int dvbsub_encode(AVCodecContext *avctx, return ret; } -AVCodec dvbsub_encoder = { +AVCodec ff_dvbsub_encoder = { "dvbsub", AVMEDIA_TYPE_SUBTITLE, CODEC_ID_DVB_SUBTITLE, diff --git a/libavcodec/dvbsub_parser.c b/libavcodec/dvbsub_parser.c index c9ccfd0d9c..e98e185381 100644 --- a/libavcodec/dvbsub_parser.c +++ b/libavcodec/dvbsub_parser.c @@ -179,7 +179,7 @@ static av_cold void dvbsub_parse_close(AVCodecParserContext *s) av_freep(&pc->packet_buf); } -AVCodecParser dvbsub_parser = { +AVCodecParser ff_dvbsub_parser = { { CODEC_ID_DVB_SUBTITLE }, sizeof(DVBSubParseContext), dvbsub_parse_init, diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 3e06260398..aff12c85f2 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -1479,7 +1479,7 @@ static int dvbsub_decode(AVCodecContext *avctx, } -AVCodec dvbsub_decoder = { +AVCodec ff_dvbsub_decoder = { "dvbsub", AVMEDIA_TYPE_SUBTITLE, CODEC_ID_DVB_SUBTITLE, diff --git a/libavcodec/dvdsub_parser.c b/libavcodec/dvdsub_parser.c index 8f1b8d08e3..3bbf0dcb8b 100644 --- a/libavcodec/dvdsub_parser.c +++ b/libavcodec/dvdsub_parser.c @@ -76,7 +76,7 @@ static av_cold void dvdsub_parse_close(AVCodecParserContext *s) av_freep(&pc->packet); } -AVCodecParser dvdsub_parser = { +AVCodecParser ff_dvdsub_parser = { { CODEC_ID_DVD_SUBTITLE }, sizeof(DVDSubParseContext), dvdsub_parse_init, diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index ea7467fdf5..8d08591ee4 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -486,7 +486,7 @@ static int dvdsub_decode(AVCodecContext *avctx, return buf_size; } -AVCodec dvdsub_decoder = { +AVCodec ff_dvdsub_decoder = { "dvdsub", AVMEDIA_TYPE_SUBTITLE, CODEC_ID_DVD_SUBTITLE, diff --git a/libavcodec/dvdsubenc.c b/libavcodec/dvdsubenc.c index 4ee0f37c9d..d09ac269ed 100644 --- a/libavcodec/dvdsubenc.c +++ b/libavcodec/dvdsubenc.c @@ -215,7 +215,7 @@ static int dvdsub_encode(AVCodecContext *avctx, return ret; } -AVCodec dvdsub_encoder = { +AVCodec ff_dvdsub_encoder = { "dvdsub", AVMEDIA_TYPE_SUBTITLE, CODEC_ID_DVD_SUBTITLE, diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c index 62e4e0ae82..00156292c9 100644 --- a/libavcodec/dxa.c +++ b/libavcodec/dxa.c @@ -317,7 +317,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec dxa_decoder = { +AVCodec ff_dxa_decoder = { "dxa", AVMEDIA_TYPE_VIDEO, CODEC_ID_DXA, diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv.c index 4a2d7c06a0..6770cd195e 100644 --- a/libavcodec/eacmv.c +++ b/libavcodec/eacmv.c @@ -205,7 +205,7 @@ static av_cold int cmv_decode_end(AVCodecContext *avctx){ return 0; } -AVCodec eacmv_decoder = { +AVCodec ff_eacmv_decoder = { "eacmv", AVMEDIA_TYPE_VIDEO, CODEC_ID_CMV, diff --git a/libavcodec/eamad.c b/libavcodec/eamad.c index db92d6b69d..1dd3b79755 100644 --- a/libavcodec/eamad.c +++ b/libavcodec/eamad.c @@ -306,7 +306,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec eamad_decoder = { +AVCodec ff_eamad_decoder = { "eamad", AVMEDIA_TYPE_VIDEO, CODEC_ID_MAD, diff --git a/libavcodec/eatgq.c b/libavcodec/eatgq.c index 7a985050c5..6f35a1513b 100644 --- a/libavcodec/eatgq.c +++ b/libavcodec/eatgq.c @@ -243,7 +243,7 @@ static av_cold int tgq_decode_end(AVCodecContext *avctx){ return 0; } -AVCodec eatgq_decoder = { +AVCodec ff_eatgq_decoder = { "eatgq", AVMEDIA_TYPE_VIDEO, CODEC_ID_TGQ, diff --git a/libavcodec/eatgv.c b/libavcodec/eatgv.c index 45c6644c56..075405a907 100644 --- a/libavcodec/eatgv.c +++ b/libavcodec/eatgv.c @@ -334,7 +334,7 @@ static av_cold int tgv_decode_end(AVCodecContext *avctx) return 0; } -AVCodec eatgv_decoder = { +AVCodec ff_eatgv_decoder = { "eatgv", AVMEDIA_TYPE_VIDEO, CODEC_ID_TGV, diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c index 7f1901d309..44792f0483 100644 --- a/libavcodec/eatqi.c +++ b/libavcodec/eatqi.c @@ -154,7 +154,7 @@ static av_cold int tqi_decode_end(AVCodecContext *avctx) return 0; } -AVCodec eatqi_decoder = { +AVCodec ff_eatqi_decoder = { "eatqi", AVMEDIA_TYPE_VIDEO, CODEC_ID_TQI, diff --git a/libavcodec/escape124.c b/libavcodec/escape124.c index af14e0d7e5..5a6769d342 100644 --- a/libavcodec/escape124.c +++ b/libavcodec/escape124.c @@ -363,7 +363,7 @@ static int escape124_decode_frame(AVCodecContext *avctx, } -AVCodec escape124_decoder = { +AVCodec ff_escape124_decoder = { "escape124", AVMEDIA_TYPE_VIDEO, CODEC_ID_ESCAPE124, diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 83292b3869..4219d62e1f 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -1786,7 +1786,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac return buf_size; } -AVCodec ffv1_decoder = { +AVCodec ff_ffv1_decoder = { "ffv1", AVMEDIA_TYPE_VIDEO, CODEC_ID_FFV1, @@ -1801,7 +1801,7 @@ AVCodec ffv1_decoder = { }; #if CONFIG_FFV1_ENCODER -AVCodec ffv1_encoder = { +AVCodec ff_ffv1_encoder = { "ffv1", AVMEDIA_TYPE_VIDEO, CODEC_ID_FFV1, diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c index 4ba3203180..50ad72b7c0 100644 --- a/libavcodec/flac_parser.c +++ b/libavcodec/flac_parser.c @@ -673,7 +673,7 @@ static void flac_parse_close(AVCodecParserContext *c) av_free(fpc->wrap_buf); } -AVCodecParser flac_parser = { +AVCodecParser ff_flac_parser = { { CODEC_ID_FLAC }, sizeof(FLACParseContext), flac_parse_init, diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 18ea0acd9a..ece095cf09 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -653,7 +653,7 @@ static av_cold int flac_decode_close(AVCodecContext *avctx) return 0; } -AVCodec flac_decoder = { +AVCodec ff_flac_decoder = { "flac", AVMEDIA_TYPE_AUDIO, CODEC_ID_FLAC, diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 2bfe56e8eb..7c814700b1 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -1326,7 +1326,7 @@ static av_cold int flac_encode_close(AVCodecContext *avctx) } -AVCodec flac_encoder = { +AVCodec ff_flac_encoder = { "flac", AVMEDIA_TYPE_AUDIO, CODEC_ID_FLAC, diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 394ac0f82a..08748c65d1 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -250,7 +250,7 @@ static av_cold int flashsv_decode_end(AVCodecContext *avctx) } -AVCodec flashsv_decoder = { +AVCodec ff_flashsv_decoder = { "flashsv", AVMEDIA_TYPE_VIDEO, CODEC_ID_FLASHSV, diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c index ff917e9370..9093969cfe 100644 --- a/libavcodec/flashsvenc.c +++ b/libavcodec/flashsvenc.c @@ -280,7 +280,7 @@ static av_cold int flashsv_encode_end(AVCodecContext *avctx) return 0; } -AVCodec flashsv_encoder = { +AVCodec ff_flashsv_encoder = { "flashsv", AVMEDIA_TYPE_VIDEO, CODEC_ID_FLASHSV, diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index b63d7d4498..913617d120 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -742,7 +742,7 @@ static av_cold int flic_decode_end(AVCodecContext *avctx) return 0; } -AVCodec flic_decoder = { +AVCodec ff_flic_decoder = { "flic", AVMEDIA_TYPE_VIDEO, CODEC_ID_FLIC, diff --git a/libavcodec/flvdec.c b/libavcodec/flvdec.c index f53291de42..b1a7578173 100644 --- a/libavcodec/flvdec.c +++ b/libavcodec/flvdec.c @@ -118,7 +118,7 @@ int ff_flv_decode_picture_header(MpegEncContext *s) return 0; } -AVCodec flv_decoder = { +AVCodec ff_flv_decoder = { "flv", AVMEDIA_TYPE_VIDEO, CODEC_ID_FLV1, diff --git a/libavcodec/flvenc.c b/libavcodec/flvenc.c index bf320f2ffe..5e81dcb15d 100644 --- a/libavcodec/flvenc.c +++ b/libavcodec/flvenc.c @@ -84,7 +84,7 @@ void ff_flv2_encode_ac_esc(PutBitContext *pb, int slevel, int level, int run, in } } -AVCodec flv_encoder = { +AVCodec ff_flv_encoder = { "flv", AVMEDIA_TYPE_VIDEO, CODEC_ID_FLV1, diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index 9786fd0da2..0938ccd630 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -355,7 +355,7 @@ static av_cold int decode_end(AVCodecContext *avctx) } -AVCodec fraps_decoder = { +AVCodec ff_fraps_decoder = { "fraps", AVMEDIA_TYPE_VIDEO, CODEC_ID_FRAPS, diff --git a/libavcodec/frwu.c b/libavcodec/frwu.c index b685248b5f..306166bdc5 100644 --- a/libavcodec/frwu.c +++ b/libavcodec/frwu.c @@ -109,7 +109,7 @@ static av_cold int decode_close(AVCodecContext *avctx) return 0; } -AVCodec frwu_decoder = { +AVCodec ff_frwu_decoder = { "FRWU", AVMEDIA_TYPE_VIDEO, CODEC_ID_FRWU, diff --git a/libavcodec/g722.c b/libavcodec/g722.c index 96a2bd6535..0efc390afc 100644 --- a/libavcodec/g722.c +++ b/libavcodec/g722.c @@ -328,7 +328,7 @@ static int g722_decode_frame(AVCodecContext *avctx, void *data, return avpkt->size; } -AVCodec adpcm_g722_decoder = { +AVCodec ff_adpcm_g722_decoder = { .name = "g722", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_ADPCM_G722, @@ -568,7 +568,7 @@ static int g722_encode_frame(AVCodecContext *avctx, return i; } -AVCodec adpcm_g722_encoder = { +AVCodec ff_adpcm_g722_encoder = { .name = "g722", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_ADPCM_G722, diff --git a/libavcodec/g726.c b/libavcodec/g726.c index 52ebda6e49..30bd96fcc9 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -391,7 +391,7 @@ static int g726_decode_frame(AVCodecContext *avctx, } #if CONFIG_ADPCM_G726_ENCODER -AVCodec adpcm_g726_encoder = { +AVCodec ff_adpcm_g726_encoder = { "g726", AVMEDIA_TYPE_AUDIO, CODEC_ID_ADPCM_G726, @@ -406,7 +406,7 @@ AVCodec adpcm_g726_encoder = { }; #endif -AVCodec adpcm_g726_decoder = { +AVCodec ff_adpcm_g726_decoder = { "g726", AVMEDIA_TYPE_AUDIO, CODEC_ID_ADPCM_G726, diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c index 3a6fb0fb7a..8a35bdc83c 100644 --- a/libavcodec/g729dec.c +++ b/libavcodec/g729dec.c @@ -312,7 +312,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, return buf_size; } -AVCodec g729_decoder = +AVCodec ff_g729_decoder = { "g729", AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/gif.c b/libavcodec/gif.c index a52f140b42..218b80babb 100644 --- a/libavcodec/gif.c +++ b/libavcodec/gif.c @@ -166,7 +166,7 @@ static int gif_encode_close(AVCodecContext *avctx) return 0; } -AVCodec gif_encoder = { +AVCodec ff_gif_encoder = { "gif", AVMEDIA_TYPE_VIDEO, CODEC_ID_GIF, diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c index 9820a063fc..5a5e5623f2 100644 --- a/libavcodec/gifdec.c +++ b/libavcodec/gifdec.c @@ -325,7 +325,7 @@ static av_cold int gif_decode_close(AVCodecContext *avctx) return 0; } -AVCodec gif_decoder = { +AVCodec ff_gif_decoder = { "gif", AVMEDIA_TYPE_VIDEO, CODEC_ID_GIF, diff --git a/libavcodec/gsmdec.c b/libavcodec/gsmdec.c index b316810c4d..4ce36b48bc 100644 --- a/libavcodec/gsmdec.c +++ b/libavcodec/gsmdec.c @@ -84,7 +84,7 @@ static int gsm_decode_frame(AVCodecContext *avctx, void *data, return avctx->block_align; } -AVCodec gsm_decoder = { +AVCodec ff_gsm_decoder = { "gsm", AVMEDIA_TYPE_AUDIO, CODEC_ID_GSM, @@ -96,7 +96,7 @@ AVCodec gsm_decoder = { .long_name = NULL_IF_CONFIG_SMALL("GSM"), }; -AVCodec gsm_ms_decoder = { +AVCodec ff_gsm_ms_decoder = { "gsm_ms", AVMEDIA_TYPE_AUDIO, CODEC_ID_GSM_MS, diff --git a/libavcodec/h261_parser.c b/libavcodec/h261_parser.c index c32300d6ed..defc1cb46f 100644 --- a/libavcodec/h261_parser.c +++ b/libavcodec/h261_parser.c @@ -81,7 +81,7 @@ static int h261_parse(AVCodecParserContext *s, return next; } -AVCodecParser h261_parser = { +AVCodecParser ff_h261_parser = { { CODEC_ID_H261 }, sizeof(ParseContext), NULL, diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c index 3809a0179c..3cc10306f4 100644 --- a/libavcodec/h261dec.c +++ b/libavcodec/h261dec.c @@ -641,7 +641,7 @@ static av_cold int h261_decode_end(AVCodecContext *avctx) return 0; } -AVCodec h261_decoder = { +AVCodec ff_h261_decoder = { "h261", AVMEDIA_TYPE_VIDEO, CODEC_ID_H261, diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c index c85ee8bb05..cd282fba75 100644 --- a/libavcodec/h261enc.c +++ b/libavcodec/h261enc.c @@ -321,7 +321,7 @@ static void h261_encode_block(H261Context * h, DCTELEM * block, int n){ } } -AVCodec h261_encoder = { +AVCodec ff_h261_encoder = { "h261", AVMEDIA_TYPE_VIDEO, CODEC_ID_H261, diff --git a/libavcodec/h263_parser.c b/libavcodec/h263_parser.c index 16c5ea5055..e08198324b 100644 --- a/libavcodec/h263_parser.c +++ b/libavcodec/h263_parser.c @@ -83,7 +83,7 @@ static int h263_parse(AVCodecParserContext *s, return next; } -AVCodecParser h263_parser = { +AVCodecParser ff_h263_parser = { { CODEC_ID_H263 }, sizeof(ParseContext), NULL, diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 04417c256d..1c73d93405 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -735,7 +735,7 @@ av_log(avctx, AV_LOG_DEBUG, "%"PRId64"\n", rdtsc()-time); return get_consumed_bytes(s, buf_size); } -AVCodec h263_decoder = { +AVCodec ff_h263_decoder = { "h263", AVMEDIA_TYPE_VIDEO, CODEC_ID_H263, diff --git a/libavcodec/h264.c b/libavcodec/h264.c index be46315b5e..8ef9b76f44 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3360,7 +3360,7 @@ av_cold int ff_h264_decode_end(AVCodecContext *avctx) } -AVCodec h264_decoder = { +AVCodec ff_h264_decoder = { "h264", AVMEDIA_TYPE_VIDEO, CODEC_ID_H264, @@ -3375,7 +3375,7 @@ AVCodec h264_decoder = { }; #if CONFIG_H264_VDPAU_DECODER -AVCodec h264_vdpau_decoder = { +AVCodec ff_h264_vdpau_decoder = { "h264_vdpau", AVMEDIA_TYPE_VIDEO, CODEC_ID_H264, diff --git a/libavcodec/h264_mp4toannexb_bsf.c b/libavcodec/h264_mp4toannexb_bsf.c index e2ee10a030..d4a7f31937 100644 --- a/libavcodec/h264_mp4toannexb_bsf.c +++ b/libavcodec/h264_mp4toannexb_bsf.c @@ -169,7 +169,7 @@ fail: return AVERROR(EINVAL); } -AVBitStreamFilter h264_mp4toannexb_bsf = { +AVBitStreamFilter ff_h264_mp4toannexb_bsf = { "h264_mp4toannexb", sizeof(H264BSFContext), h264_mp4toannexb_filter, diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 89523b5ca2..51760dcf68 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -332,7 +332,7 @@ static int init(AVCodecParserContext *s) return 0; } -AVCodecParser h264_parser = { +AVCodecParser ff_h264_parser = { { CODEC_ID_H264 }, sizeof(H264Context), init, diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index 7541785cb2..2eb5864c47 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -1416,7 +1416,7 @@ static av_cold int encode_end(AVCodecContext *avctx) #endif /* CONFIG_HUFFYUV_ENCODER || CONFIG_FFVHUFF_ENCODER */ #if CONFIG_HUFFYUV_DECODER -AVCodec huffyuv_decoder = { +AVCodec ff_huffyuv_decoder = { "huffyuv", AVMEDIA_TYPE_VIDEO, CODEC_ID_HUFFYUV, @@ -1432,7 +1432,7 @@ AVCodec huffyuv_decoder = { #endif #if CONFIG_FFVHUFF_DECODER -AVCodec ffvhuff_decoder = { +AVCodec ff_ffvhuff_decoder = { "ffvhuff", AVMEDIA_TYPE_VIDEO, CODEC_ID_FFVHUFF, @@ -1448,7 +1448,7 @@ AVCodec ffvhuff_decoder = { #endif #if CONFIG_HUFFYUV_ENCODER -AVCodec huffyuv_encoder = { +AVCodec ff_huffyuv_encoder = { "huffyuv", AVMEDIA_TYPE_VIDEO, CODEC_ID_HUFFYUV, @@ -1462,7 +1462,7 @@ AVCodec huffyuv_encoder = { #endif #if CONFIG_FFVHUFF_ENCODER -AVCodec ffvhuff_encoder = { +AVCodec ff_ffvhuff_encoder = { "ffvhuff", AVMEDIA_TYPE_VIDEO, CODEC_ID_FFVHUFF, diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c index cc79ef0a4f..64421db19a 100644 --- a/libavcodec/idcinvideo.c +++ b/libavcodec/idcinvideo.c @@ -253,7 +253,7 @@ static av_cold int idcin_decode_end(AVCodecContext *avctx) return 0; } -AVCodec idcin_decoder = { +AVCodec ff_idcin_decoder = { "idcinvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_IDCIN, diff --git a/libavcodec/iff.c b/libavcodec/iff.c index aeff0b5ba5..18ad7004d9 100644 --- a/libavcodec/iff.c +++ b/libavcodec/iff.c @@ -367,7 +367,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec iff_ilbm_decoder = { +AVCodec ff_iff_ilbm_decoder = { "iff_ilbm", AVMEDIA_TYPE_VIDEO, CODEC_ID_IFF_ILBM, @@ -380,7 +380,7 @@ AVCodec iff_ilbm_decoder = { .long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"), }; -AVCodec iff_byterun1_decoder = { +AVCodec ff_iff_byterun1_decoder = { "iff_byterun1", AVMEDIA_TYPE_VIDEO, CODEC_ID_IFF_BYTERUN1, diff --git a/libavcodec/imc.c b/libavcodec/imc.c index 272e4ee76e..4d7fbd1db6 100644 --- a/libavcodec/imc.c +++ b/libavcodec/imc.c @@ -821,7 +821,7 @@ static av_cold int imc_decode_close(AVCodecContext * avctx) } -AVCodec imc_decoder = { +AVCodec ff_imc_decoder = { .name = "imc", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_IMC, diff --git a/libavcodec/imx_dump_header_bsf.c b/libavcodec/imx_dump_header_bsf.c index 2310185b8e..8119809faa 100644 --- a/libavcodec/imx_dump_header_bsf.c +++ b/libavcodec/imx_dump_header_bsf.c @@ -52,7 +52,7 @@ static int imx_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx return 1; } -AVBitStreamFilter imx_dump_header_bsf = { +AVBitStreamFilter ff_imx_dump_header_bsf = { "imxdump", 0, imx_dump_header, diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c index a3d6c80081..68c6246f89 100644 --- a/libavcodec/indeo2.c +++ b/libavcodec/indeo2.c @@ -224,7 +224,7 @@ static av_cold int ir2_decode_end(AVCodecContext *avctx){ return 0; } -AVCodec indeo2_decoder = { +AVCodec ff_indeo2_decoder = { "indeo2", AVMEDIA_TYPE_VIDEO, CODEC_ID_INDEO2, diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index 66ea987c38..5c4cd0564a 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -1137,7 +1137,7 @@ static av_cold int indeo3_decode_end(AVCodecContext *avctx) return 0; } -AVCodec indeo3_decoder = { +AVCodec ff_indeo3_decoder = { "indeo3", AVMEDIA_TYPE_VIDEO, CODEC_ID_INDEO3, diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c index d8aab20579..d96b31032f 100644 --- a/libavcodec/indeo5.c +++ b/libavcodec/indeo5.c @@ -818,7 +818,7 @@ static av_cold int decode_close(AVCodecContext *avctx) } -AVCodec indeo5_decoder = { +AVCodec ff_indeo5_decoder = { .name = "indeo5", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_INDEO5, diff --git a/libavcodec/intelh263dec.c b/libavcodec/intelh263dec.c index 5e451294da..00b15ce327 100644 --- a/libavcodec/intelh263dec.c +++ b/libavcodec/intelh263dec.c @@ -115,7 +115,7 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s) return 0; } -AVCodec h263i_decoder = { +AVCodec ff_h263i_decoder = { "h263i", AVMEDIA_TYPE_VIDEO, CODEC_ID_H263I, diff --git a/libavcodec/interplayvideo.c b/libavcodec/interplayvideo.c index 34f055743d..18702b21d0 100644 --- a/libavcodec/interplayvideo.c +++ b/libavcodec/interplayvideo.c @@ -1097,7 +1097,7 @@ static av_cold int ipvideo_decode_end(AVCodecContext *avctx) return 0; } -AVCodec interplay_video_decoder = { +AVCodec ff_interplay_video_decoder = { "interplayvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_INTERPLAY_VIDEO, diff --git a/libavcodec/jpeglsdec.c b/libavcodec/jpeglsdec.c index 6b7dd94647..7278e020da 100644 --- a/libavcodec/jpeglsdec.c +++ b/libavcodec/jpeglsdec.c @@ -363,7 +363,7 @@ int ff_jpegls_decode_picture(MJpegDecodeContext *s, int near, int point_transfor } -AVCodec jpegls_decoder = { +AVCodec ff_jpegls_decoder = { "jpegls", AVMEDIA_TYPE_VIDEO, CODEC_ID_JPEGLS, diff --git a/libavcodec/jpeglsenc.c b/libavcodec/jpeglsenc.c index 08ef71f716..ce6dc10f39 100644 --- a/libavcodec/jpeglsenc.c +++ b/libavcodec/jpeglsenc.c @@ -382,7 +382,7 @@ static av_cold int encode_init_ls(AVCodecContext *ctx) { return 0; } -AVCodec jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them +AVCodec ff_jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them "jpegls", AVMEDIA_TYPE_VIDEO, CODEC_ID_JPEGLS, diff --git a/libavcodec/kgv1dec.c b/libavcodec/kgv1dec.c index a41d312a60..efc477f37d 100644 --- a/libavcodec/kgv1dec.c +++ b/libavcodec/kgv1dec.c @@ -164,7 +164,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec kgv1_decoder = { +AVCodec ff_kgv1_decoder = { "kgv1", AVMEDIA_TYPE_VIDEO, CODEC_ID_KGV1, diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c index 3e8dccd363..bd628d85c0 100644 --- a/libavcodec/kmvc.c +++ b/libavcodec/kmvc.c @@ -401,7 +401,7 @@ static av_cold int decode_end(AVCodecContext * avctx) return 0; } -AVCodec kmvc_decoder = { +AVCodec ff_kmvc_decoder = { "kmvc", AVMEDIA_TYPE_VIDEO, CODEC_ID_KMVC, diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c index 1bf61bd23d..89580dc159 100644 --- a/libavcodec/lagarith.c +++ b/libavcodec/lagarith.c @@ -508,7 +508,7 @@ static av_cold int lag_decode_end(AVCodecContext *avctx) return 0; } -AVCodec lagarith_decoder = { +AVCodec ff_lagarith_decoder = { "lagarith", CODEC_TYPE_VIDEO, CODEC_ID_LAGARITH, diff --git a/libavcodec/latm_parser.c b/libavcodec/latm_parser.c index e3134be567..8e42c6ace9 100644 --- a/libavcodec/latm_parser.c +++ b/libavcodec/latm_parser.c @@ -105,7 +105,7 @@ static int latm_parse(AVCodecParserContext *s1, AVCodecContext *avctx, return next; } -AVCodecParser aac_latm_parser = { +AVCodecParser ff_aac_latm_parser = { { CODEC_ID_AAC_LATM }, sizeof(LATMParseContext), NULL, diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 23af511455..f2e5bb0c80 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -609,7 +609,7 @@ static av_cold int decode_end(AVCodecContext *avctx) } #if CONFIG_MSZH_DECODER -AVCodec mszh_decoder = { +AVCodec ff_mszh_decoder = { "mszh", AVMEDIA_TYPE_VIDEO, CODEC_ID_MSZH, @@ -624,7 +624,7 @@ AVCodec mszh_decoder = { #endif #if CONFIG_ZLIB_DECODER -AVCodec zlib_decoder = { +AVCodec ff_zlib_decoder = { "zlib", AVMEDIA_TYPE_VIDEO, CODEC_ID_ZLIB, diff --git a/libavcodec/lclenc.c b/libavcodec/lclenc.c index f50b5883b3..a90c1cf588 100644 --- a/libavcodec/lclenc.c +++ b/libavcodec/lclenc.c @@ -170,7 +170,7 @@ static av_cold int encode_end(AVCodecContext *avctx) return 0; } -AVCodec zlib_encoder = { +AVCodec ff_zlib_encoder = { "zlib", AVMEDIA_TYPE_VIDEO, CODEC_ID_ZLIB, diff --git a/libavcodec/libdiracdec.c b/libavcodec/libdiracdec.c index 0e8454e310..520ec3f03a 100644 --- a/libavcodec/libdiracdec.c +++ b/libavcodec/libdiracdec.c @@ -194,7 +194,7 @@ static void libdirac_flush(AVCodecContext *avccontext) -AVCodec libdirac_decoder = { +AVCodec ff_libdirac_decoder = { "libdirac", AVMEDIA_TYPE_VIDEO, CODEC_ID_DIRAC, diff --git a/libavcodec/libdiracenc.c b/libavcodec/libdiracenc.c index d390aa8a7b..a9cc6803b9 100644 --- a/libavcodec/libdiracenc.c +++ b/libavcodec/libdiracenc.c @@ -391,7 +391,7 @@ static av_cold int libdirac_encode_close(AVCodecContext *avccontext) } -AVCodec libdirac_encoder = { +AVCodec ff_libdirac_encoder = { "libdirac", AVMEDIA_TYPE_VIDEO, CODEC_ID_DIRAC, diff --git a/libavcodec/libfaac.c b/libavcodec/libfaac.c index e0425377aa..79ab729c13 100644 --- a/libavcodec/libfaac.c +++ b/libavcodec/libfaac.c @@ -153,7 +153,7 @@ static const AVProfile profiles[] = { { FF_PROFILE_UNKNOWN }, }; -AVCodec libfaac_encoder = { +AVCodec ff_libfaac_encoder = { "libfaac", AVMEDIA_TYPE_AUDIO, CODEC_ID_AAC, diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c index 77cc8914cc..1f76f82d55 100644 --- a/libavcodec/libgsm.c +++ b/libavcodec/libgsm.c @@ -112,7 +112,7 @@ static int libgsm_encode_frame(AVCodecContext *avctx, } -AVCodec libgsm_encoder = { +AVCodec ff_libgsm_encoder = { "libgsm", AVMEDIA_TYPE_AUDIO, CODEC_ID_GSM, @@ -124,7 +124,7 @@ AVCodec libgsm_encoder = { .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"), }; -AVCodec libgsm_ms_encoder = { +AVCodec ff_libgsm_ms_encoder = { "libgsm_ms", AVMEDIA_TYPE_AUDIO, CODEC_ID_GSM_MS, @@ -156,7 +156,7 @@ static int libgsm_decode_frame(AVCodecContext *avctx, return avctx->block_align; } -AVCodec libgsm_decoder = { +AVCodec ff_libgsm_decoder = { "libgsm", AVMEDIA_TYPE_AUDIO, CODEC_ID_GSM, @@ -168,7 +168,7 @@ AVCodec libgsm_decoder = { .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"), }; -AVCodec libgsm_ms_decoder = { +AVCodec ff_libgsm_ms_decoder = { "libgsm_ms", AVMEDIA_TYPE_AUDIO, CODEC_ID_GSM_MS, diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c index 35c80547bd..db0bc8259c 100644 --- a/libavcodec/libmp3lame.c +++ b/libavcodec/libmp3lame.c @@ -213,7 +213,7 @@ static av_cold int MP3lame_encode_close(AVCodecContext *avctx) } -AVCodec libmp3lame_encoder = { +AVCodec ff_libmp3lame_encoder = { "libmp3lame", AVMEDIA_TYPE_AUDIO, CODEC_ID_MP3, diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index ab1f89aad7..b2e2f1632e 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -139,7 +139,7 @@ static int amr_nb_decode_frame(AVCodecContext *avctx, void *data, return packet_size; } -AVCodec libopencore_amrnb_decoder = { +AVCodec ff_libopencore_amrnb_decoder = { "libopencore_amrnb", AVMEDIA_TYPE_AUDIO, CODEC_ID_AMR_NB, @@ -213,7 +213,7 @@ static int amr_nb_encode_frame(AVCodecContext *avctx, return written; } -AVCodec libopencore_amrnb_encoder = { +AVCodec ff_libopencore_amrnb_encoder = { "libopencore_amrnb", AVMEDIA_TYPE_AUDIO, CODEC_ID_AMR_NB, @@ -310,7 +310,7 @@ static int amr_wb_decode_close(AVCodecContext *avctx) return 0; } -AVCodec libopencore_amrwb_decoder = { +AVCodec ff_libopencore_amrwb_decoder = { "libopencore_amrwb", AVMEDIA_TYPE_AUDIO, CODEC_ID_AMR_WB, diff --git a/libavcodec/libopenjpeg.c b/libavcodec/libopenjpeg.c index a23b17f12d..0a9ded896d 100644 --- a/libavcodec/libopenjpeg.c +++ b/libavcodec/libopenjpeg.c @@ -184,7 +184,7 @@ static av_cold int libopenjpeg_decode_close(AVCodecContext *avctx) } -AVCodec libopenjpeg_decoder = { +AVCodec ff_libopenjpeg_decoder = { "libopenjpeg", AVMEDIA_TYPE_VIDEO, CODEC_ID_JPEG2000, diff --git a/libavcodec/libschroedingerdec.c b/libavcodec/libschroedingerdec.c index fc875bbf42..e733d9e34d 100644 --- a/libavcodec/libschroedingerdec.c +++ b/libavcodec/libschroedingerdec.c @@ -346,7 +346,7 @@ static void libschroedinger_flush(AVCodecContext *avccontext) p_schro_params->eos_signalled = 0; } -AVCodec libschroedinger_decoder = { +AVCodec ff_libschroedinger_decoder = { "libschroedinger", AVMEDIA_TYPE_VIDEO, CODEC_ID_DIRAC, diff --git a/libavcodec/libschroedingerenc.c b/libavcodec/libschroedingerenc.c index c4a0433043..4f42d28b3b 100644 --- a/libavcodec/libschroedingerenc.c +++ b/libavcodec/libschroedingerenc.c @@ -422,7 +422,7 @@ static int libschroedinger_encode_close(AVCodecContext *avccontext) } -AVCodec libschroedinger_encoder = { +AVCodec ff_libschroedinger_encoder = { "libschroedinger", AVMEDIA_TYPE_VIDEO, CODEC_ID_DIRAC, diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c index 204e52c10e..1caf738536 100644 --- a/libavcodec/libspeexdec.c +++ b/libavcodec/libspeexdec.c @@ -138,7 +138,7 @@ static av_cold int libspeex_decode_close(AVCodecContext *avctx) return 0; } -AVCodec libspeex_decoder = { +AVCodec ff_libspeex_decoder = { "libspeex", AVMEDIA_TYPE_AUDIO, CODEC_ID_SPEEX, diff --git a/libavcodec/libtheoraenc.c b/libavcodec/libtheoraenc.c index e4ca721166..87793adc72 100644 --- a/libavcodec/libtheoraenc.c +++ b/libavcodec/libtheoraenc.c @@ -357,7 +357,7 @@ static av_cold int encode_close(AVCodecContext* avc_context) } /** AVCodec struct exposed to libavcodec */ -AVCodec libtheora_encoder = { +AVCodec ff_libtheora_encoder = { .name = "libtheora", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_THEORA, diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c index ef56c25ac9..9324b28f45 100644 --- a/libavcodec/libvorbis.c +++ b/libavcodec/libvorbis.c @@ -243,7 +243,7 @@ static av_cold int oggvorbis_encode_close(AVCodecContext *avccontext) { } -AVCodec libvorbis_encoder = { +AVCodec ff_libvorbis_encoder = { "libvorbis", AVMEDIA_TYPE_AUDIO, CODEC_ID_VORBIS, diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c index 12efb9f00f..f912322c50 100644 --- a/libavcodec/libvpxdec.c +++ b/libavcodec/libvpxdec.c @@ -111,7 +111,7 @@ static av_cold int vp8_free(AVCodecContext *avctx) return 0; } -AVCodec libvpx_decoder = { +AVCodec ff_libvpx_decoder = { "libvpx", AVMEDIA_TYPE_VIDEO, CODEC_ID_VP8, diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index d0838baa6c..878c979deb 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -494,7 +494,7 @@ static int vp8_encode(AVCodecContext *avctx, uint8_t *buf, int buf_size, return coded_size; } -AVCodec libvpx_encoder = { +AVCodec ff_libvpx_encoder = { "libvpx", AVMEDIA_TYPE_VIDEO, CODEC_ID_VP8, diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 85ef38c6b0..84ecb2aecb 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -329,7 +329,7 @@ static av_cold int X264_init(AVCodecContext *avctx) return 0; } -AVCodec libx264_encoder = { +AVCodec ff_libx264_encoder = { .name = "libx264", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_H264, diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c index aa5dc23bc2..08b93f5895 100644 --- a/libavcodec/libxavs.c +++ b/libavcodec/libxavs.c @@ -336,7 +336,7 @@ static av_cold int XAVS_init(AVCodecContext *avctx) return 0; } -AVCodec libxavs_encoder = { +AVCodec ff_libxavs_encoder = { .name = "libxavs", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_CAVS, diff --git a/libavcodec/libxvidff.c b/libavcodec/libxvidff.c index f5273548c5..d95ddee8d7 100644 --- a/libavcodec/libxvidff.c +++ b/libavcodec/libxvidff.c @@ -814,7 +814,7 @@ int xvid_ff_2pass(void *ref, int cmd, void *p1, void *p2) { /** * Xvid codec definition for libavcodec. */ -AVCodec libxvid_encoder = { +AVCodec ff_libxvid_encoder = { "libxvid", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG4, diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c index 2ef07c3a32..56336cb3bf 100644 --- a/libavcodec/ljpegenc.c +++ b/libavcodec/ljpegenc.c @@ -186,7 +186,7 @@ static int encode_picture_lossless(AVCodecContext *avctx, unsigned char *buf, in } -AVCodec ljpeg_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them +AVCodec ff_ljpeg_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them "ljpeg", AVMEDIA_TYPE_VIDEO, CODEC_ID_LJPEG, diff --git a/libavcodec/loco.c b/libavcodec/loco.c index d19a80cf34..48fa829914 100644 --- a/libavcodec/loco.c +++ b/libavcodec/loco.c @@ -285,7 +285,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ return 0; } -AVCodec loco_decoder = { +AVCodec ff_loco_decoder = { "loco", AVMEDIA_TYPE_VIDEO, CODEC_ID_LOCO, diff --git a/libavcodec/mace.c b/libavcodec/mace.c index c4c43f6184..1b8c9d0836 100644 --- a/libavcodec/mace.c +++ b/libavcodec/mace.c @@ -279,7 +279,7 @@ static int mace_decode_frame(AVCodecContext *avctx, return buf_size; } -AVCodec mace3_decoder = { +AVCodec ff_mace3_decoder = { "mace3", AVMEDIA_TYPE_AUDIO, CODEC_ID_MACE3, @@ -291,7 +291,7 @@ AVCodec mace3_decoder = { .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"), }; -AVCodec mace6_decoder = { +AVCodec ff_mace6_decoder = { "mace6", AVMEDIA_TYPE_AUDIO, CODEC_ID_MACE6, diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c index 83e1f7ce9c..12d1751172 100644 --- a/libavcodec/mdec.c +++ b/libavcodec/mdec.c @@ -250,7 +250,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ return 0; } -AVCodec mdec_decoder = { +AVCodec ff_mdec_decoder = { "mdec", AVMEDIA_TYPE_VIDEO, CODEC_ID_MDEC, diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c index e5f7123e94..bcf125a262 100644 --- a/libavcodec/mimic.c +++ b/libavcodec/mimic.c @@ -378,7 +378,7 @@ static av_cold int mimic_decode_end(AVCodecContext *avctx) return 0; } -AVCodec mimic_decoder = { +AVCodec ff_mimic_decoder = { "mimic", AVMEDIA_TYPE_VIDEO, CODEC_ID_MIMIC, diff --git a/libavcodec/mjpeg2jpeg_bsf.c b/libavcodec/mjpeg2jpeg_bsf.c index 36bb749c5a..855f24add3 100644 --- a/libavcodec/mjpeg2jpeg_bsf.c +++ b/libavcodec/mjpeg2jpeg_bsf.c @@ -106,7 +106,7 @@ static int mjpeg2jpeg_filter(AVBitStreamFilterContext *bsfc, return 1; } -AVBitStreamFilter mjpeg2jpeg_bsf = { +AVBitStreamFilter ff_mjpeg2jpeg_bsf = { .name = "mjpeg2jpeg", .priv_data_size = 0, .filter = mjpeg2jpeg_filter, diff --git a/libavcodec/mjpeg_parser.c b/libavcodec/mjpeg_parser.c index b1848fac51..0cc355db5c 100644 --- a/libavcodec/mjpeg_parser.c +++ b/libavcodec/mjpeg_parser.c @@ -96,7 +96,7 @@ static int jpeg_parse(AVCodecParserContext *s, } -AVCodecParser mjpeg_parser = { +AVCodecParser ff_mjpeg_parser = { { CODEC_ID_MJPEG }, sizeof(ParseContext), NULL, diff --git a/libavcodec/mjpega_dump_header_bsf.c b/libavcodec/mjpega_dump_header_bsf.c index bb7858e498..2e86fd4ef3 100644 --- a/libavcodec/mjpega_dump_header_bsf.c +++ b/libavcodec/mjpega_dump_header_bsf.c @@ -87,7 +87,7 @@ static int mjpega_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *av return 0; } -AVBitStreamFilter mjpega_dump_header_bsf = { +AVBitStreamFilter ff_mjpega_dump_header_bsf = { "mjpegadump", 0, mjpega_dump_header, diff --git a/libavcodec/mjpegbdec.c b/libavcodec/mjpegbdec.c index 907fa6f504..dc5a838d7a 100644 --- a/libavcodec/mjpegbdec.c +++ b/libavcodec/mjpegbdec.c @@ -145,7 +145,7 @@ read_header: return buf_ptr - buf; } -AVCodec mjpegb_decoder = { +AVCodec ff_mjpegb_decoder = { "mjpegb", AVMEDIA_TYPE_VIDEO, CODEC_ID_MJPEGB, diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 3386cc07d3..6c0dfeb7dd 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1536,7 +1536,7 @@ av_cold int ff_mjpeg_decode_end(AVCodecContext *avctx) return 0; } -AVCodec mjpeg_decoder = { +AVCodec ff_mjpeg_decoder = { "mjpeg", AVMEDIA_TYPE_VIDEO, CODEC_ID_MJPEG, @@ -1551,7 +1551,7 @@ AVCodec mjpeg_decoder = { .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), }; -AVCodec thp_decoder = { +AVCodec ff_thp_decoder = { "thp", AVMEDIA_TYPE_VIDEO, CODEC_ID_THP, diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index 05f0bed35d..15b588c793 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -445,7 +445,7 @@ void ff_mjpeg_encode_mb(MpegEncContext *s, DCTELEM block[6][64]) s->i_tex_bits += get_bits_diff(s); } -AVCodec mjpeg_encoder = { +AVCodec ff_mjpeg_encoder = { "mjpeg", AVMEDIA_TYPE_VIDEO, CODEC_ID_MJPEG, diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c index 36a296f98e..a6196f9abd 100644 --- a/libavcodec/mlp_parser.c +++ b/libavcodec/mlp_parser.c @@ -288,7 +288,7 @@ lost_sync: return 1; } -AVCodecParser mlp_parser = { +AVCodecParser ff_mlp_parser = { { CODEC_ID_MLP, CODEC_ID_TRUEHD }, sizeof(MLPParseContext), mlp_init, diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c index 2a04be5156..a655b3d4a9 100644 --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c @@ -1137,7 +1137,7 @@ error: return -1; } -AVCodec mlp_decoder = { +AVCodec ff_mlp_decoder = { "mlp", AVMEDIA_TYPE_AUDIO, CODEC_ID_MLP, @@ -1150,7 +1150,7 @@ AVCodec mlp_decoder = { }; #if CONFIG_TRUEHD_DECODER -AVCodec truehd_decoder = { +AVCodec ff_truehd_decoder = { "truehd", AVMEDIA_TYPE_AUDIO, CODEC_ID_TRUEHD, diff --git a/libavcodec/mmvideo.c b/libavcodec/mmvideo.c index 568a010154..60e00fbe29 100644 --- a/libavcodec/mmvideo.c +++ b/libavcodec/mmvideo.c @@ -212,7 +212,7 @@ static av_cold int mm_decode_end(AVCodecContext *avctx) return 0; } -AVCodec mmvideo_decoder = { +AVCodec ff_mmvideo_decoder = { "mmvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_MMVIDEO, diff --git a/libavcodec/motionpixels.c b/libavcodec/motionpixels.c index 9bc5e2035d..ed0af4d90e 100644 --- a/libavcodec/motionpixels.c +++ b/libavcodec/motionpixels.c @@ -302,7 +302,7 @@ static av_cold int mp_decode_end(AVCodecContext *avctx) return 0; } -AVCodec motionpixels_decoder = { +AVCodec ff_motionpixels_decoder = { "motionpixels", AVMEDIA_TYPE_VIDEO, CODEC_ID_MOTIONPIXELS, diff --git a/libavcodec/movsub_bsf.c b/libavcodec/movsub_bsf.c index 2423f2db94..088c774001 100644 --- a/libavcodec/movsub_bsf.c +++ b/libavcodec/movsub_bsf.c @@ -33,7 +33,7 @@ static int text2movsub(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, co return 1; } -AVBitStreamFilter text2movsub_bsf={ +AVBitStreamFilter ff_text2movsub_bsf={ "text2movsub", 0, text2movsub, @@ -49,7 +49,7 @@ static int mov2textsub(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, co return 1; } -AVBitStreamFilter mov2textsub_bsf={ +AVBitStreamFilter ff_mov2textsub_bsf={ "mov2textsub", 0, mov2textsub, diff --git a/libavcodec/mp3_header_compress_bsf.c b/libavcodec/mp3_header_compress_bsf.c index f5c513834a..006a3679e9 100644 --- a/libavcodec/mp3_header_compress_bsf.c +++ b/libavcodec/mp3_header_compress_bsf.c @@ -79,7 +79,7 @@ output_unchanged: return 1; } -AVBitStreamFilter mp3_header_compress_bsf={ +AVBitStreamFilter ff_mp3_header_compress_bsf={ "mp3comp", 0, mp3_header_compress, diff --git a/libavcodec/mp3_header_decompress_bsf.c b/libavcodec/mp3_header_decompress_bsf.c index d897ed9852..f096d5e4fd 100644 --- a/libavcodec/mp3_header_decompress_bsf.c +++ b/libavcodec/mp3_header_decompress_bsf.c @@ -89,7 +89,7 @@ static int mp3_header_decompress(AVBitStreamFilterContext *bsfc, AVCodecContext return 1; } -AVBitStreamFilter mp3_header_decompress_bsf={ +AVBitStreamFilter ff_mp3_header_decompress_bsf={ "mp3decomp", 0, mp3_header_decompress, diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c index 5ac25797bb..a77648f770 100644 --- a/libavcodec/mpc7.c +++ b/libavcodec/mpc7.c @@ -288,7 +288,7 @@ static void mpc7_decode_flush(AVCodecContext *avctx) c->frames_to_skip = 32; } -AVCodec mpc7_decoder = { +AVCodec ff_mpc7_decoder = { "mpc7", AVMEDIA_TYPE_AUDIO, CODEC_ID_MUSEPACK7, diff --git a/libavcodec/mpc8.c b/libavcodec/mpc8.c index d8d62edd9c..327a0c02f4 100644 --- a/libavcodec/mpc8.c +++ b/libavcodec/mpc8.c @@ -404,7 +404,7 @@ static int mpc8_decode_frame(AVCodecContext * avctx, return c->cur_frame ? c->last_bits_used >> 3 : buf_size; } -AVCodec mpc8_decoder = { +AVCodec ff_mpc8_decoder = { "mpc8", AVMEDIA_TYPE_AUDIO, CODEC_ID_MUSEPACK8, diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 4aaa40290a..0645cde512 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2471,7 +2471,7 @@ static int mpeg_decode_end(AVCodecContext *avctx) return 0; } -AVCodec mpeg1video_decoder = { +AVCodec ff_mpeg1video_decoder = { "mpeg1video", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG1VIDEO, @@ -2486,7 +2486,7 @@ AVCodec mpeg1video_decoder = { .long_name= NULL_IF_CONFIG_SMALL("MPEG-1 video"), }; -AVCodec mpeg2video_decoder = { +AVCodec ff_mpeg2video_decoder = { "mpeg2video", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG2VIDEO, @@ -2502,7 +2502,7 @@ AVCodec mpeg2video_decoder = { }; //legacy decoder -AVCodec mpegvideo_decoder = { +AVCodec ff_mpegvideo_decoder = { "mpegvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG2VIDEO, @@ -2534,7 +2534,7 @@ static av_cold int mpeg_mc_decode_init(AVCodecContext *avctx){ return 0; } -AVCodec mpeg_xvmc_decoder = { +AVCodec ff_mpeg_xvmc_decoder = { "mpegvideo_xvmc", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG2VIDEO_XVMC, @@ -2551,7 +2551,7 @@ AVCodec mpeg_xvmc_decoder = { #endif #if CONFIG_MPEG_VDPAU_DECODER -AVCodec mpeg_vdpau_decoder = { +AVCodec ff_mpeg_vdpau_decoder = { "mpegvideo_vdpau", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG2VIDEO, @@ -2567,7 +2567,7 @@ AVCodec mpeg_vdpau_decoder = { #endif #if CONFIG_MPEG1_VDPAU_DECODER -AVCodec mpeg1_vdpau_decoder = { +AVCodec ff_mpeg1_vdpau_decoder = { "mpeg1video_vdpau", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG1VIDEO, diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index 6868e2a206..877ec04251 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -930,7 +930,7 @@ static void mpeg1_encode_block(MpegEncContext *s, put_bits(&s->pb, table_vlc[112][1], table_vlc[112][0]); } -AVCodec mpeg1video_encoder = { +AVCodec ff_mpeg1video_encoder = { "mpeg1video", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG1VIDEO, @@ -944,7 +944,7 @@ AVCodec mpeg1video_encoder = { .long_name= NULL_IF_CONFIG_SMALL("MPEG-1 video"), }; -AVCodec mpeg2video_encoder = { +AVCodec ff_mpeg2video_encoder = { "mpeg2video", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG2VIDEO, diff --git a/libavcodec/mpeg4video_parser.c b/libavcodec/mpeg4video_parser.c index 5dbda8ba80..5d0f47ec13 100644 --- a/libavcodec/mpeg4video_parser.c +++ b/libavcodec/mpeg4video_parser.c @@ -129,7 +129,7 @@ static int mpeg4video_parse(AVCodecParserContext *s, } -AVCodecParser mpeg4video_parser = { +AVCodecParser ff_mpeg4video_parser = { { CODEC_ID_MPEG4 }, sizeof(ParseContext1), mpeg4video_parse_init, diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index d331f0ded0..5303da3874 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -2225,7 +2225,7 @@ static av_cold int decode_init(AVCodecContext *avctx) return 0; } -AVCodec mpeg4_decoder = { +AVCodec ff_mpeg4_decoder = { "mpeg4", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG4, @@ -2243,7 +2243,7 @@ AVCodec mpeg4_decoder = { #if CONFIG_MPEG4_VDPAU_DECODER -AVCodec mpeg4_vdpau_decoder = { +AVCodec ff_mpeg4_vdpau_decoder = { "mpeg4_vdpau", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG4, diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c index 856cfa777e..2af898b955 100644 --- a/libavcodec/mpeg4videoenc.c +++ b/libavcodec/mpeg4videoenc.c @@ -1338,7 +1338,7 @@ void ff_mpeg4_encode_video_packet_header(MpegEncContext *s) put_bits(&s->pb, 1, 0); /* no HEC */ } -AVCodec mpeg4_encoder = { +AVCodec ff_mpeg4_encoder = { "mpeg4", AVMEDIA_TYPE_VIDEO, CODEC_ID_MPEG4, diff --git a/libavcodec/mpegaudio_parser.c b/libavcodec/mpegaudio_parser.c index 6d7ab8a9c1..cfd92d42eb 100644 --- a/libavcodec/mpegaudio_parser.c +++ b/libavcodec/mpegaudio_parser.c @@ -140,7 +140,7 @@ static int mpegaudio_parse(AVCodecParserContext *s1, } -AVCodecParser mpegaudio_parser = { +AVCodecParser ff_mpegaudio_parser = { { CODEC_ID_MP1, CODEC_ID_MP2, CODEC_ID_MP3 }, sizeof(MpegAudioParseContext), NULL, diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 769be89913..c174c0f9ed 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -2308,7 +2308,7 @@ static int decode_frame_mp3on4(AVCodecContext * avctx, #if !CONFIG_FLOAT #if CONFIG_MP1_DECODER -AVCodec mp1_decoder = +AVCodec ff_mp1_decoder = { "mp1", AVMEDIA_TYPE_AUDIO, @@ -2324,7 +2324,7 @@ AVCodec mp1_decoder = }; #endif #if CONFIG_MP2_DECODER -AVCodec mp2_decoder = +AVCodec ff_mp2_decoder = { "mp2", AVMEDIA_TYPE_AUDIO, @@ -2340,7 +2340,7 @@ AVCodec mp2_decoder = }; #endif #if CONFIG_MP3_DECODER -AVCodec mp3_decoder = +AVCodec ff_mp3_decoder = { "mp3", AVMEDIA_TYPE_AUDIO, @@ -2356,7 +2356,7 @@ AVCodec mp3_decoder = }; #endif #if CONFIG_MP3ADU_DECODER -AVCodec mp3adu_decoder = +AVCodec ff_mp3adu_decoder = { "mp3adu", AVMEDIA_TYPE_AUDIO, @@ -2372,7 +2372,7 @@ AVCodec mp3adu_decoder = }; #endif #if CONFIG_MP3ON4_DECODER -AVCodec mp3on4_decoder = +AVCodec ff_mp3on4_decoder = { "mp3on4", AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/mpegaudiodec_float.c b/libavcodec/mpegaudiodec_float.c index 9150b33ba2..758ef83e05 100644 --- a/libavcodec/mpegaudiodec_float.c +++ b/libavcodec/mpegaudiodec_float.c @@ -88,7 +88,7 @@ static av_cold int decode_end(AVCodecContext * avctx) } #if CONFIG_MP1FLOAT_DECODER -AVCodec mp1float_decoder = +AVCodec ff_mp1float_decoder = { "mp1float", AVMEDIA_TYPE_AUDIO, @@ -104,7 +104,7 @@ AVCodec mp1float_decoder = }; #endif #if CONFIG_MP2FLOAT_DECODER -AVCodec mp2float_decoder = +AVCodec ff_mp2float_decoder = { "mp2float", AVMEDIA_TYPE_AUDIO, @@ -120,7 +120,7 @@ AVCodec mp2float_decoder = }; #endif #if CONFIG_MP3FLOAT_DECODER -AVCodec mp3float_decoder = +AVCodec ff_mp3float_decoder = { "mp3float", AVMEDIA_TYPE_AUDIO, @@ -136,7 +136,7 @@ AVCodec mp3float_decoder = }; #endif #if CONFIG_MP3ADUFLOAT_DECODER -AVCodec mp3adufloat_decoder = +AVCodec ff_mp3adufloat_decoder = { "mp3adufloat", AVMEDIA_TYPE_AUDIO, @@ -152,7 +152,7 @@ AVCodec mp3adufloat_decoder = }; #endif #if CONFIG_MP3ON4FLOAT_DECODER -AVCodec mp3on4float_decoder = +AVCodec ff_mp3on4float_decoder = { "mp3on4float", AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c index 736cbe1219..9458af5b37 100644 --- a/libavcodec/mpegaudioenc.c +++ b/libavcodec/mpegaudioenc.c @@ -783,7 +783,7 @@ static av_cold int MPA_encode_close(AVCodecContext *avctx) return 0; } -AVCodec mp2_encoder = { +AVCodec ff_mp2_encoder = { "mp2", AVMEDIA_TYPE_AUDIO, CODEC_ID_MP2, diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index ef830affd7..fa285ca371 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -3779,7 +3779,7 @@ int dct_quantize_c(MpegEncContext *s, return last_non_zero; } -AVCodec h263_encoder = { +AVCodec ff_h263_encoder = { "h263", AVMEDIA_TYPE_VIDEO, CODEC_ID_H263, @@ -3791,7 +3791,7 @@ AVCodec h263_encoder = { .long_name= NULL_IF_CONFIG_SMALL("H.263 / H.263-1996"), }; -AVCodec h263p_encoder = { +AVCodec ff_h263p_encoder = { "h263p", AVMEDIA_TYPE_VIDEO, CODEC_ID_H263P, @@ -3803,7 +3803,7 @@ AVCodec h263p_encoder = { .long_name= NULL_IF_CONFIG_SMALL("H.263+ / H.263-1998 / H.263 version 2"), }; -AVCodec msmpeg4v1_encoder = { +AVCodec ff_msmpeg4v1_encoder = { "msmpeg4v1", AVMEDIA_TYPE_VIDEO, CODEC_ID_MSMPEG4V1, @@ -3815,7 +3815,7 @@ AVCodec msmpeg4v1_encoder = { .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"), }; -AVCodec msmpeg4v2_encoder = { +AVCodec ff_msmpeg4v2_encoder = { "msmpeg4v2", AVMEDIA_TYPE_VIDEO, CODEC_ID_MSMPEG4V2, @@ -3827,7 +3827,7 @@ AVCodec msmpeg4v2_encoder = { .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"), }; -AVCodec msmpeg4v3_encoder = { +AVCodec ff_msmpeg4v3_encoder = { "msmpeg4", AVMEDIA_TYPE_VIDEO, CODEC_ID_MSMPEG4V3, @@ -3839,7 +3839,7 @@ AVCodec msmpeg4v3_encoder = { .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"), }; -AVCodec wmv1_encoder = { +AVCodec ff_wmv1_encoder = { "wmv1", AVMEDIA_TYPE_VIDEO, CODEC_ID_WMV1, diff --git a/libavcodec/mpegvideo_parser.c b/libavcodec/mpegvideo_parser.c index 546c3bdad7..6369224d1a 100644 --- a/libavcodec/mpegvideo_parser.c +++ b/libavcodec/mpegvideo_parser.c @@ -176,7 +176,7 @@ static int mpegvideo_split(AVCodecContext *avctx, return 0; } -AVCodecParser mpegvideo_parser = { +AVCodecParser ff_mpegvideo_parser = { { CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO }, sizeof(ParseContext1), NULL, diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index 79a96e4a6c..8b3b6a56b6 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -1908,7 +1908,7 @@ int ff_msmpeg4_decode_motion(MpegEncContext * s, return 0; } -AVCodec msmpeg4v1_decoder = { +AVCodec ff_msmpeg4v1_decoder = { "msmpeg4v1", AVMEDIA_TYPE_VIDEO, CODEC_ID_MSMPEG4V1, @@ -1923,7 +1923,7 @@ AVCodec msmpeg4v1_decoder = { .pix_fmts= ff_pixfmt_list_420, }; -AVCodec msmpeg4v2_decoder = { +AVCodec ff_msmpeg4v2_decoder = { "msmpeg4v2", AVMEDIA_TYPE_VIDEO, CODEC_ID_MSMPEG4V2, @@ -1938,7 +1938,7 @@ AVCodec msmpeg4v2_decoder = { .pix_fmts= ff_pixfmt_list_420, }; -AVCodec msmpeg4v3_decoder = { +AVCodec ff_msmpeg4v3_decoder = { "msmpeg4", AVMEDIA_TYPE_VIDEO, CODEC_ID_MSMPEG4V3, @@ -1953,7 +1953,7 @@ AVCodec msmpeg4v3_decoder = { .pix_fmts= ff_pixfmt_list_420, }; -AVCodec wmv1_decoder = { +AVCodec ff_wmv1_decoder = { "wmv1", AVMEDIA_TYPE_VIDEO, CODEC_ID_WMV1, diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c index 28eb5d33f1..f1fa8f54ff 100644 --- a/libavcodec/msrle.c +++ b/libavcodec/msrle.c @@ -143,7 +143,7 @@ static av_cold int msrle_decode_end(AVCodecContext *avctx) return 0; } -AVCodec msrle_decoder = { +AVCodec ff_msrle_decoder = { "msrle", AVMEDIA_TYPE_VIDEO, CODEC_ID_MSRLE, diff --git a/libavcodec/msvideo1.c b/libavcodec/msvideo1.c index 30aca3954e..d40304df3a 100644 --- a/libavcodec/msvideo1.c +++ b/libavcodec/msvideo1.c @@ -331,7 +331,7 @@ static av_cold int msvideo1_decode_end(AVCodecContext *avctx) return 0; } -AVCodec msvideo1_decoder = { +AVCodec ff_msvideo1_decoder = { "msvideo1", AVMEDIA_TYPE_VIDEO, CODEC_ID_MSVIDEO1, diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index c2cbe9562c..89dde91248 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -196,7 +196,7 @@ static av_cold int decode_end(AVCodecContext * avctx) { return 0; } -AVCodec nellymoser_decoder = { +AVCodec ff_nellymoser_decoder = { "nellymoser", AVMEDIA_TYPE_AUDIO, CODEC_ID_NELLYMOSER, diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c index 03b647e297..9b792ff2ac 100644 --- a/libavcodec/nellymoserenc.c +++ b/libavcodec/nellymoserenc.c @@ -382,7 +382,7 @@ static int encode_frame(AVCodecContext *avctx, uint8_t *frame, int buf_size, voi return 0; } -AVCodec nellymoser_encoder = { +AVCodec ff_nellymoser_encoder = { .name = "nellymoser", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_NELLYMOSER, diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c index c49dd1f9d9..491fbccc1d 100644 --- a/libavcodec/noise_bsf.c +++ b/libavcodec/noise_bsf.c @@ -39,7 +39,7 @@ static int noise(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const ch return 1; } -AVBitStreamFilter noise_bsf={ +AVBitStreamFilter ff_noise_bsf={ "noise", sizeof(int), noise, diff --git a/libavcodec/nuv.c b/libavcodec/nuv.c index d65799ee1e..d53d4578ba 100644 --- a/libavcodec/nuv.c +++ b/libavcodec/nuv.c @@ -272,7 +272,7 @@ static av_cold int decode_end(AVCodecContext *avctx) { return 0; } -AVCodec nuv_decoder = { +AVCodec ff_nuv_decoder = { "nuv", AVMEDIA_TYPE_VIDEO, CODEC_ID_NUV, diff --git a/libavcodec/pamenc.c b/libavcodec/pamenc.c index ae0ea3a102..9f50d7fbfa 100644 --- a/libavcodec/pamenc.c +++ b/libavcodec/pamenc.c @@ -108,7 +108,7 @@ static int pam_encode_frame(AVCodecContext *avctx, unsigned char *outbuf, } -AVCodec pam_encoder = { +AVCodec ff_pam_encoder = { "pam", AVMEDIA_TYPE_VIDEO, CODEC_ID_PAM, diff --git a/libavcodec/pcm-mpeg.c b/libavcodec/pcm-mpeg.c index cf2792b593..65ba4903b8 100644 --- a/libavcodec/pcm-mpeg.c +++ b/libavcodec/pcm-mpeg.c @@ -296,7 +296,7 @@ static int pcm_bluray_decode_frame(AVCodecContext *avctx, return retval; } -AVCodec pcm_bluray_decoder = { +AVCodec ff_pcm_bluray_decoder = { "pcm_bluray", AVMEDIA_TYPE_AUDIO, CODEC_ID_PCM_BLURAY, diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 3e985ce04f..0785a9d2ab 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -473,7 +473,7 @@ static int pcm_decode_frame(AVCodecContext *avctx, #if CONFIG_ENCODERS #define PCM_ENCODER(id_,sample_fmt_,name_,long_name_) \ -AVCodec name_ ## _encoder = { \ +AVCodec ff_ ## name_ ## _encoder = { \ .name = #name_, \ .type = AVMEDIA_TYPE_AUDIO, \ .id = id_, \ @@ -489,7 +489,7 @@ AVCodec name_ ## _encoder = { \ #if CONFIG_DECODERS #define PCM_DECODER(id_,sample_fmt_,name_,long_name_) \ -AVCodec name_ ## _decoder = { \ +AVCodec ff_ ## name_ ## _decoder = { \ .name = #name_, \ .type = AVMEDIA_TYPE_AUDIO, \ .id = id_, \ diff --git a/libavcodec/pcx.c b/libavcodec/pcx.c index c1b67cdee9..cafade2d7d 100644 --- a/libavcodec/pcx.c +++ b/libavcodec/pcx.c @@ -247,7 +247,7 @@ static av_cold int pcx_end(AVCodecContext *avctx) { return 0; } -AVCodec pcx_decoder = { +AVCodec ff_pcx_decoder = { "pcx", AVMEDIA_TYPE_VIDEO, CODEC_ID_PCX, diff --git a/libavcodec/pcxenc.c b/libavcodec/pcxenc.c index e01727f3e7..124516b957 100644 --- a/libavcodec/pcxenc.c +++ b/libavcodec/pcxenc.c @@ -189,7 +189,7 @@ static int pcx_encode_frame(AVCodecContext *avctx, return buf - buf_start; } -AVCodec pcx_encoder = { +AVCodec ff_pcx_encoder = { "pcx", AVMEDIA_TYPE_VIDEO, CODEC_ID_PCX, diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c index 9ee1ded541..4e02dea167 100644 --- a/libavcodec/pgssubdec.c +++ b/libavcodec/pgssubdec.c @@ -473,7 +473,7 @@ static int decode(AVCodecContext *avctx, void *data, int *data_size, return buf_size; } -AVCodec pgssub_decoder = { +AVCodec ff_pgssub_decoder = { "pgssub", AVMEDIA_TYPE_SUBTITLE, CODEC_ID_HDMV_PGS_SUBTITLE, diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index 04667f61f2..59885ae383 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -237,7 +237,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec pictor_decoder = { +AVCodec ff_pictor_decoder = { "pictor", AVMEDIA_TYPE_VIDEO, CODEC_ID_PICTOR, diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index eb8989f160..03cd784bbf 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -657,7 +657,7 @@ static av_cold int png_dec_end(AVCodecContext *avctx) return 0; } -AVCodec png_decoder = { +AVCodec ff_png_decoder = { "png", AVMEDIA_TYPE_VIDEO, CODEC_ID_PNG, diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index d199b95da9..4cb56337e7 100644 --- a/libavcodec/pngenc.c +++ b/libavcodec/pngenc.c @@ -436,7 +436,7 @@ static av_cold int png_enc_init(AVCodecContext *avctx){ return 0; } -AVCodec png_encoder = { +AVCodec ff_png_encoder = { "png", AVMEDIA_TYPE_VIDEO, CODEC_ID_PNG, diff --git a/libavcodec/pnm_parser.c b/libavcodec/pnm_parser.c index b8ba1a836c..17e8082609 100644 --- a/libavcodec/pnm_parser.c +++ b/libavcodec/pnm_parser.c @@ -83,7 +83,7 @@ retry: return next; } -AVCodecParser pnm_parser = { +AVCodecParser ff_pnm_parser = { { CODEC_ID_PGM, CODEC_ID_PGMYUV, CODEC_ID_PPM, CODEC_ID_PBM, CODEC_ID_PAM}, sizeof(ParseContext), NULL, diff --git a/libavcodec/pnmdec.c b/libavcodec/pnmdec.c index 6bea93de02..39faab7be2 100644 --- a/libavcodec/pnmdec.c +++ b/libavcodec/pnmdec.c @@ -188,7 +188,7 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data, #if CONFIG_PGM_DECODER -AVCodec pgm_decoder = { +AVCodec ff_pgm_decoder = { "pgm", AVMEDIA_TYPE_VIDEO, CODEC_ID_PGM, @@ -205,7 +205,7 @@ AVCodec pgm_decoder = { #endif #if CONFIG_PGMYUV_DECODER -AVCodec pgmyuv_decoder = { +AVCodec ff_pgmyuv_decoder = { "pgmyuv", AVMEDIA_TYPE_VIDEO, CODEC_ID_PGMYUV, @@ -222,7 +222,7 @@ AVCodec pgmyuv_decoder = { #endif #if CONFIG_PPM_DECODER -AVCodec ppm_decoder = { +AVCodec ff_ppm_decoder = { "ppm", AVMEDIA_TYPE_VIDEO, CODEC_ID_PPM, @@ -239,7 +239,7 @@ AVCodec ppm_decoder = { #endif #if CONFIG_PBM_DECODER -AVCodec pbm_decoder = { +AVCodec ff_pbm_decoder = { "pbm", AVMEDIA_TYPE_VIDEO, CODEC_ID_PBM, @@ -256,7 +256,7 @@ AVCodec pbm_decoder = { #endif #if CONFIG_PAM_DECODER -AVCodec pam_decoder = { +AVCodec ff_pam_decoder = { "pam", AVMEDIA_TYPE_VIDEO, CODEC_ID_PAM, diff --git a/libavcodec/pnmenc.c b/libavcodec/pnmenc.c index 1fbf665883..4dbd587e1a 100644 --- a/libavcodec/pnmenc.c +++ b/libavcodec/pnmenc.c @@ -113,7 +113,7 @@ static int pnm_encode_frame(AVCodecContext *avctx, unsigned char *outbuf, #if CONFIG_PGM_ENCODER -AVCodec pgm_encoder = { +AVCodec ff_pgm_encoder = { "pgm", AVMEDIA_TYPE_VIDEO, CODEC_ID_PGM, @@ -126,7 +126,7 @@ AVCodec pgm_encoder = { #endif #if CONFIG_PGMYUV_ENCODER -AVCodec pgmyuv_encoder = { +AVCodec ff_pgmyuv_encoder = { "pgmyuv", AVMEDIA_TYPE_VIDEO, CODEC_ID_PGMYUV, @@ -139,7 +139,7 @@ AVCodec pgmyuv_encoder = { #endif #if CONFIG_PPM_ENCODER -AVCodec ppm_encoder = { +AVCodec ff_ppm_encoder = { "ppm", AVMEDIA_TYPE_VIDEO, CODEC_ID_PPM, @@ -152,7 +152,7 @@ AVCodec ppm_encoder = { #endif #if CONFIG_PBM_ENCODER -AVCodec pbm_encoder = { +AVCodec ff_pbm_encoder = { "pbm", AVMEDIA_TYPE_VIDEO, CODEC_ID_PBM, diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c index a0644259fc..86b06b4aaa 100644 --- a/libavcodec/ptx.c +++ b/libavcodec/ptx.c @@ -106,7 +106,7 @@ static av_cold int ptx_end(AVCodecContext *avctx) { return 0; } -AVCodec ptx_decoder = { +AVCodec ff_ptx_decoder = { "ptx", AVMEDIA_TYPE_VIDEO, CODEC_ID_PTX, diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c index 22b90ceb80..3ed821c81e 100644 --- a/libavcodec/qcelpdec.c +++ b/libavcodec/qcelpdec.c @@ -842,7 +842,7 @@ erasure: return *data_size; } -AVCodec qcelp_decoder = +AVCodec ff_qcelp_decoder = { .name = "qcelp", .type = AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index a5fa28dc9d..3779b8e3aa 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -1974,7 +1974,7 @@ static int qdm2_decode_frame(AVCodecContext *avctx, return s->checksum_size; } -AVCodec qdm2_decoder = +AVCodec ff_qdm2_decoder = { .name = "qdm2", .type = AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index 57500580e2..be47b4228b 100644 --- a/libavcodec/qdrw.c +++ b/libavcodec/qdrw.c @@ -150,7 +150,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ return 0; } -AVCodec qdraw_decoder = { +AVCodec ff_qdraw_decoder = { "qdraw", AVMEDIA_TYPE_VIDEO, CODEC_ID_QDRAW, diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c index e6a0b30aef..e4c2291f39 100644 --- a/libavcodec/qpeg.c +++ b/libavcodec/qpeg.c @@ -311,7 +311,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ return 0; } -AVCodec qpeg_decoder = { +AVCodec ff_qpeg_decoder = { "qpeg", AVMEDIA_TYPE_VIDEO, CODEC_ID_QPEG, diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c index 1fd9a803e4..8ad6778299 100644 --- a/libavcodec/qtrle.c +++ b/libavcodec/qtrle.c @@ -537,7 +537,7 @@ static av_cold int qtrle_decode_end(AVCodecContext *avctx) return 0; } -AVCodec qtrle_decoder = { +AVCodec ff_qtrle_decoder = { "qtrle", AVMEDIA_TYPE_VIDEO, CODEC_ID_QTRLE, diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c index aea0f68a64..78149e5ed8 100644 --- a/libavcodec/qtrleenc.c +++ b/libavcodec/qtrleenc.c @@ -321,7 +321,7 @@ static av_cold int qtrle_encode_end(AVCodecContext *avctx) return 0; } -AVCodec qtrle_encoder = { +AVCodec ff_qtrle_encoder = { "qtrle", AVMEDIA_TYPE_VIDEO, CODEC_ID_QTRLE, diff --git a/libavcodec/r210dec.c b/libavcodec/r210dec.c index b1fe62d725..a5222b17fc 100644 --- a/libavcodec/r210dec.c +++ b/libavcodec/r210dec.c @@ -97,7 +97,7 @@ static av_cold int decode_close(AVCodecContext *avctx) } #if CONFIG_R210_DECODER -AVCodec r210_decoder = { +AVCodec ff_r210_decoder = { "r210", AVMEDIA_TYPE_VIDEO, CODEC_ID_R210, @@ -111,7 +111,7 @@ AVCodec r210_decoder = { }; #endif #if CONFIG_R10K_DECODER -AVCodec r10k_decoder = { +AVCodec ff_r10k_decoder = { "r10k", AVMEDIA_TYPE_VIDEO, CODEC_ID_R10K, diff --git a/libavcodec/ra144dec.c b/libavcodec/ra144dec.c index 2c022b1417..53f529d6b4 100644 --- a/libavcodec/ra144dec.c +++ b/libavcodec/ra144dec.c @@ -114,7 +114,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *vdata, return 20; } -AVCodec ra_144_decoder = +AVCodec ff_ra_144_decoder = { "real_144", AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c index 2c0a6b1fbd..a0912056d7 100644 --- a/libavcodec/ra144enc.c +++ b/libavcodec/ra144enc.c @@ -508,7 +508,7 @@ static int ra144_encode_frame(AVCodecContext *avctx, uint8_t *frame, } -AVCodec ra_144_encoder = +AVCodec ff_ra_144_encoder = { "real_144", AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 03cf18fff0..9445e7088e 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -203,7 +203,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data, return avctx->block_align; } -AVCodec ra_288_decoder = +AVCodec ff_ra_288_decoder = { "real_288", AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index c6642077f6..c2ca91d64f 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -195,7 +195,7 @@ static av_cold int raw_close_decoder(AVCodecContext *avctx) return 0; } -AVCodec rawvideo_decoder = { +AVCodec ff_rawvideo_decoder = { "rawvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_RAWVIDEO, diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c index 419970486b..630df0f723 100644 --- a/libavcodec/rawenc.c +++ b/libavcodec/rawenc.c @@ -55,7 +55,7 @@ static int raw_encode(AVCodecContext *avctx, return ret; } -AVCodec rawvideo_encoder = { +AVCodec ff_rawvideo_encoder = { "rawvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_RAWVIDEO, diff --git a/libavcodec/remove_extradata_bsf.c b/libavcodec/remove_extradata_bsf.c index 95bd98bef2..f0d9b4513a 100644 --- a/libavcodec/remove_extradata_bsf.c +++ b/libavcodec/remove_extradata_bsf.c @@ -48,7 +48,7 @@ static int remove_extradata(AVBitStreamFilterContext *bsfc, AVCodecContext *avct return 0; } -AVBitStreamFilter remove_extradata_bsf={ +AVBitStreamFilter ff_remove_extradata_bsf={ "remove_extra", 0, remove_extradata, diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c index ba99fb91b8..19104144a2 100644 --- a/libavcodec/rl2.c +++ b/libavcodec/rl2.c @@ -219,7 +219,7 @@ static av_cold int rl2_decode_end(AVCodecContext *avctx) } -AVCodec rl2_decoder = { +AVCodec ff_rl2_decoder = { "rl2", AVMEDIA_TYPE_VIDEO, CODEC_ID_RL2, diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c index 229b546649..f6bd726c4f 100644 --- a/libavcodec/roqaudioenc.c +++ b/libavcodec/roqaudioenc.c @@ -153,7 +153,7 @@ static av_cold int roq_dpcm_encode_close(AVCodecContext *avctx) return 0; } -AVCodec roq_dpcm_encoder = { +AVCodec ff_roq_dpcm_encoder = { "roq_dpcm", AVMEDIA_TYPE_AUDIO, CODEC_ID_ROQ_DPCM, diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c index 7c6f5ff6fb..4959239ba7 100644 --- a/libavcodec/roqvideodec.c +++ b/libavcodec/roqvideodec.c @@ -210,7 +210,7 @@ static av_cold int roq_decode_end(AVCodecContext *avctx) return 0; } -AVCodec roq_decoder = { +AVCodec ff_roq_decoder = { "roqvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_ROQ, diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c index 28fd9d8512..0efbca8742 100644 --- a/libavcodec/roqvideoenc.c +++ b/libavcodec/roqvideoenc.c @@ -1054,7 +1054,7 @@ static int roq_encode_end(AVCodecContext *avctx) return 0; } -AVCodec roq_encoder = +AVCodec ff_roq_encoder = { "roqvideo", AVMEDIA_TYPE_VIDEO, diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c index e103f525d2..6a79d97e86 100644 --- a/libavcodec/rpza.c +++ b/libavcodec/rpza.c @@ -275,7 +275,7 @@ static av_cold int rpza_decode_end(AVCodecContext *avctx) return 0; } -AVCodec rpza_decoder = { +AVCodec ff_rpza_decoder = { "rpza", AVMEDIA_TYPE_VIDEO, CODEC_ID_RPZA, diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index b6d87f4f09..cb304fb01c 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -707,7 +707,7 @@ static int rv10_decode_frame(AVCodecContext *avctx, return buf_size; } -AVCodec rv10_decoder = { +AVCodec ff_rv10_decoder = { "rv10", AVMEDIA_TYPE_VIDEO, CODEC_ID_RV10, @@ -722,7 +722,7 @@ AVCodec rv10_decoder = { .pix_fmts= ff_pixfmt_list_420, }; -AVCodec rv20_decoder = { +AVCodec ff_rv20_decoder = { "rv20", AVMEDIA_TYPE_VIDEO, CODEC_ID_RV20, diff --git a/libavcodec/rv10enc.c b/libavcodec/rv10enc.c index 51ca69118a..206fe13225 100644 --- a/libavcodec/rv10enc.c +++ b/libavcodec/rv10enc.c @@ -56,7 +56,7 @@ void rv10_encode_picture_header(MpegEncContext *s, int picture_number) put_bits(&s->pb, 3, 0); /* ignored */ } -AVCodec rv10_encoder = { +AVCodec ff_rv10_encoder = { "rv10", AVMEDIA_TYPE_VIDEO, CODEC_ID_RV10, diff --git a/libavcodec/rv20enc.c b/libavcodec/rv20enc.c index a31a351a89..fe26dd486d 100644 --- a/libavcodec/rv20enc.c +++ b/libavcodec/rv20enc.c @@ -57,7 +57,7 @@ void rv20_encode_picture_header(MpegEncContext *s, int picture_number){ } } -AVCodec rv20_encoder = { +AVCodec ff_rv20_encoder = { "rv20", AVMEDIA_TYPE_VIDEO, CODEC_ID_RV20, diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c index 22a5dd5b64..38b600af80 100644 --- a/libavcodec/rv30.c +++ b/libavcodec/rv30.c @@ -266,7 +266,7 @@ static av_cold int rv30_decode_init(AVCodecContext *avctx) return 0; } -AVCodec rv30_decoder = { +AVCodec ff_rv30_decoder = { "rv30", AVMEDIA_TYPE_VIDEO, CODEC_ID_RV30, diff --git a/libavcodec/rv40.c b/libavcodec/rv40.c index e236c8fa05..acebeb7da5 100644 --- a/libavcodec/rv40.c +++ b/libavcodec/rv40.c @@ -668,7 +668,7 @@ static av_cold int rv40_decode_init(AVCodecContext *avctx) return 0; } -AVCodec rv40_decoder = { +AVCodec ff_rv40_decoder = { "rv40", AVMEDIA_TYPE_VIDEO, CODEC_ID_RV40, diff --git a/libavcodec/sgidec.c b/libavcodec/sgidec.c index 3c199e215e..ac2adfe7ca 100644 --- a/libavcodec/sgidec.c +++ b/libavcodec/sgidec.c @@ -259,7 +259,7 @@ static av_cold int sgi_end(AVCodecContext *avctx) return 0; } -AVCodec sgi_decoder = { +AVCodec ff_sgi_decoder = { "sgi", AVMEDIA_TYPE_VIDEO, CODEC_ID_SGI, diff --git a/libavcodec/sgienc.c b/libavcodec/sgienc.c index f9f3709788..eafb655b46 100644 --- a/libavcodec/sgienc.c +++ b/libavcodec/sgienc.c @@ -159,7 +159,7 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, return buf - orig_buf; } -AVCodec sgi_encoder = { +AVCodec ff_sgi_encoder = { "sgi", AVMEDIA_TYPE_VIDEO, CODEC_ID_SGI, diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index f61c2631e6..cff4cc886f 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -541,7 +541,7 @@ static void shorten_flush(AVCodecContext *avctx){ s->bitstream_index= 0; } -AVCodec shorten_decoder = { +AVCodec ff_shorten_decoder = { "shorten", AVMEDIA_TYPE_AUDIO, CODEC_ID_SHORTEN, diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c index 08224568aa..b96e3b9024 100644 --- a/libavcodec/sipr.c +++ b/libavcodec/sipr.c @@ -549,7 +549,7 @@ static int sipr_decode_frame(AVCodecContext *avctx, void *datap, return mode_par->bits_per_frame >> 3; } -AVCodec sipr_decoder = { +AVCodec ff_sipr_decoder = { "sipr", AVMEDIA_TYPE_AUDIO, CODEC_ID_SIPR, diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 38ca61c9c7..2fcc33511f 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -689,7 +689,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size, return buf_size; } -AVCodec smacker_decoder = { +AVCodec ff_smacker_decoder = { "smackvid", AVMEDIA_TYPE_VIDEO, CODEC_ID_SMACKVIDEO, @@ -702,7 +702,7 @@ AVCodec smacker_decoder = { .long_name = NULL_IF_CONFIG_SMALL("Smacker video"), }; -AVCodec smackaud_decoder = { +AVCodec ff_smackaud_decoder = { "smackaud", AVMEDIA_TYPE_AUDIO, CODEC_ID_SMACKAUDIO, diff --git a/libavcodec/smc.c b/libavcodec/smc.c index 2e2dffdc86..f8b994c1d1 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -471,7 +471,7 @@ static av_cold int smc_decode_end(AVCodecContext *avctx) return 0; } -AVCodec smc_decoder = { +AVCodec ff_smc_decoder = { "smc", AVMEDIA_TYPE_VIDEO, CODEC_ID_SMC, diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 18039d2295..8a259af4dd 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -2234,7 +2234,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec snow_decoder = { +AVCodec ff_snow_decoder = { "snow", AVMEDIA_TYPE_VIDEO, CODEC_ID_SNOW, @@ -3985,7 +3985,7 @@ static av_cold int encode_end(AVCodecContext *avctx) return 0; } -AVCodec snow_encoder = { +AVCodec ff_snow_encoder = { "snow", AVMEDIA_TYPE_VIDEO, CODEC_ID_SNOW, diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index aff155d57f..8dfac1a6fa 100644 --- a/libavcodec/sonic.c +++ b/libavcodec/sonic.c @@ -935,7 +935,7 @@ static int sonic_decode_frame(AVCodecContext *avctx, return (get_bits_count(&gb)+7)/8; } -AVCodec sonic_decoder = { +AVCodec ff_sonic_decoder = { "sonic", AVMEDIA_TYPE_AUDIO, CODEC_ID_SONIC, @@ -949,7 +949,7 @@ AVCodec sonic_decoder = { #endif /* CONFIG_SONIC_DECODER */ #if CONFIG_SONIC_ENCODER -AVCodec sonic_encoder = { +AVCodec ff_sonic_encoder = { "sonic", AVMEDIA_TYPE_AUDIO, CODEC_ID_SONIC, @@ -963,7 +963,7 @@ AVCodec sonic_encoder = { #endif #if CONFIG_SONIC_LS_ENCODER -AVCodec sonic_ls_encoder = { +AVCodec ff_sonic_ls_encoder = { "sonicls", AVMEDIA_TYPE_AUDIO, CODEC_ID_SONIC_LS, diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c index 67fbaf462a..8bcdbe41b4 100644 --- a/libavcodec/sp5xdec.c +++ b/libavcodec/sp5xdec.c @@ -97,7 +97,7 @@ static int sp5x_decode_frame(AVCodecContext *avctx, return i; } -AVCodec sp5x_decoder = { +AVCodec ff_sp5x_decoder = { "sp5x", AVMEDIA_TYPE_VIDEO, CODEC_ID_SP5X, @@ -112,7 +112,7 @@ AVCodec sp5x_decoder = { .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"), }; -AVCodec amv_decoder = { +AVCodec ff_amv_decoder = { "amv", AVMEDIA_TYPE_VIDEO, CODEC_ID_AMV, diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c index adbae514c7..30fdc12fe7 100644 --- a/libavcodec/srtdec.c +++ b/libavcodec/srtdec.c @@ -231,7 +231,7 @@ static int srt_decode_frame(AVCodecContext *avctx, return avpkt->size; } -AVCodec srt_decoder = { +AVCodec ff_srt_decoder = { .name = "srt", .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), .type = AVMEDIA_TYPE_SUBTITLE, diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c index 0696a53f15..76b65b356c 100644 --- a/libavcodec/sunrast.c +++ b/libavcodec/sunrast.c @@ -184,7 +184,7 @@ static av_cold int sunrast_end(AVCodecContext *avctx) { return 0; } -AVCodec sunrast_decoder = { +AVCodec ff_sunrast_decoder = { "sunrast", AVMEDIA_TYPE_VIDEO, CODEC_ID_SUNRAST, diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index 1d40f596ad..eb7100713e 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -833,7 +833,7 @@ static av_cold int svq1_decode_end(AVCodecContext *avctx) } -AVCodec svq1_decoder = { +AVCodec ff_svq1_decoder = { "svq1", AVMEDIA_TYPE_VIDEO, CODEC_ID_SVQ1, diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index c89be259d7..a415d843d2 100644 --- a/libavcodec/svq1enc.c +++ b/libavcodec/svq1enc.c @@ -572,7 +572,7 @@ static av_cold int svq1_encode_end(AVCodecContext *avctx) } -AVCodec svq1_encoder = { +AVCodec ff_svq1_encoder = { "svq1", AVMEDIA_TYPE_VIDEO, CODEC_ID_SVQ1, diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index a52744228e..9d87710595 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -1062,7 +1062,7 @@ static int svq3_decode_frame(AVCodecContext *avctx, } -AVCodec svq3_decoder = { +AVCodec ff_svq3_decoder = { "svq3", AVMEDIA_TYPE_VIDEO, CODEC_ID_SVQ3, diff --git a/libavcodec/targa.c b/libavcodec/targa.c index 7f8774ef54..e6e1ca6f21 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.c @@ -235,7 +235,7 @@ static av_cold int targa_end(AVCodecContext *avctx){ return 0; } -AVCodec targa_decoder = { +AVCodec ff_targa_decoder = { "targa", AVMEDIA_TYPE_VIDEO, CODEC_ID_TARGA, diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c index 09da7270bb..5c5fd008c1 100644 --- a/libavcodec/targaenc.c +++ b/libavcodec/targaenc.c @@ -158,7 +158,7 @@ static av_cold int targa_encode_init(AVCodecContext *avctx) return 0; } -AVCodec targa_encoder = { +AVCodec ff_targa_encoder = { .name = "targa", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_TARGA, diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c index c5f632e186..c8aa38cca9 100644 --- a/libavcodec/tiertexseqv.c +++ b/libavcodec/tiertexseqv.c @@ -219,7 +219,7 @@ static av_cold int seqvideo_decode_end(AVCodecContext *avctx) return 0; } -AVCodec tiertexseqvideo_decoder = { +AVCodec ff_tiertexseqvideo_decoder = { "tiertexseqvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_TIERTEXSEQVIDEO, diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index f5d922a980..b012baa994 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -600,7 +600,7 @@ static av_cold int tiff_end(AVCodecContext *avctx) return 0; } -AVCodec tiff_decoder = { +AVCodec ff_tiff_decoder = { "tiff", AVMEDIA_TYPE_VIDEO, CODEC_ID_TIFF, diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 0905ceae19..293ec0ac65 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -442,7 +442,7 @@ fail: return ret; } -AVCodec tiff_encoder = { +AVCodec ff_tiff_encoder = { "tiff", AVMEDIA_TYPE_VIDEO, CODEC_ID_TIFF, diff --git a/libavcodec/tmv.c b/libavcodec/tmv.c index 7e0f9a1361..62b6e19de1 100644 --- a/libavcodec/tmv.c +++ b/libavcodec/tmv.c @@ -92,7 +92,7 @@ static av_cold int tmv_decode_close(AVCodecContext *avctx) return 0; } -AVCodec tmv_decoder = { +AVCodec ff_tmv_decoder = { .name = "tmv", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_TMV, diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index 338b4dcc19..448da84c57 100644 --- a/libavcodec/truemotion1.c +++ b/libavcodec/truemotion1.c @@ -891,7 +891,7 @@ static av_cold int truemotion1_decode_end(AVCodecContext *avctx) return 0; } -AVCodec truemotion1_decoder = { +AVCodec ff_truemotion1_decoder = { "truemotion1", AVMEDIA_TYPE_VIDEO, CODEC_ID_TRUEMOTION1, diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index f4e3074c28..d20ee94b29 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @@ -881,7 +881,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ return 0; } -AVCodec truemotion2_decoder = { +AVCodec ff_truemotion2_decoder = { "truemotion2", AVMEDIA_TYPE_VIDEO, CODEC_ID_TRUEMOTION2, diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c index 6bc1e7b1d8..d903a0119e 100644 --- a/libavcodec/truespeech.c +++ b/libavcodec/truespeech.c @@ -381,7 +381,7 @@ static int truespeech_decode_frame(AVCodecContext *avctx, return consumed; } -AVCodec truespeech_decoder = { +AVCodec ff_truespeech_decoder = { "truespeech", AVMEDIA_TYPE_AUDIO, CODEC_ID_TRUESPEECH, diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 2b717c1481..9de53a7267 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -197,7 +197,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec tscc_decoder = { +AVCodec ff_tscc_decoder = { "camtasia", AVMEDIA_TYPE_VIDEO, CODEC_ID_TSCC, diff --git a/libavcodec/tta.c b/libavcodec/tta.c index dad9933b0e..936dff2333 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -456,7 +456,7 @@ static av_cold int tta_decode_close(AVCodecContext *avctx) { return 0; } -AVCodec tta_decoder = { +AVCodec ff_tta_decoder = { "tta", AVMEDIA_TYPE_AUDIO, CODEC_ID_TTA, diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 15907aebcf..8334e83d7f 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -1119,7 +1119,7 @@ static av_cold int twin_decode_close(AVCodecContext *avctx) return 0; } -AVCodec twinvq_decoder = +AVCodec ff_twinvq_decoder = { "twinvq", AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/txd.c b/libavcodec/txd.c index e7d3379391..b394e1f5be 100644 --- a/libavcodec/txd.c +++ b/libavcodec/txd.c @@ -155,7 +155,7 @@ static av_cold int txd_end(AVCodecContext *avctx) { return 0; } -AVCodec txd_decoder = { +AVCodec ff_txd_decoder = { "txd", AVMEDIA_TYPE_VIDEO, CODEC_ID_TXD, diff --git a/libavcodec/ulti.c b/libavcodec/ulti.c index 1d04c807fb..bb1270f055 100644 --- a/libavcodec/ulti.c +++ b/libavcodec/ulti.c @@ -404,7 +404,7 @@ static int ulti_decode_frame(AVCodecContext *avctx, return buf_size; } -AVCodec ulti_decoder = { +AVCodec ff_ulti_decoder = { "ultimotion", AVMEDIA_TYPE_VIDEO, CODEC_ID_ULTI, diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 61e9566c87..97ef594666 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c @@ -120,7 +120,7 @@ static av_cold int decode_close(AVCodecContext *avctx) return 0; } -AVCodec v210_decoder = { +AVCodec ff_v210_decoder = { "v210", AVMEDIA_TYPE_VIDEO, CODEC_ID_V210, diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 11e0e0eb7a..39f672d22b 100644 --- a/libavcodec/v210enc.c +++ b/libavcodec/v210enc.c @@ -117,7 +117,7 @@ static av_cold int encode_close(AVCodecContext *avctx) return 0; } -AVCodec v210_encoder = { +AVCodec ff_v210_encoder = { "v210", AVMEDIA_TYPE_VIDEO, CODEC_ID_V210, diff --git a/libavcodec/v210x.c b/libavcodec/v210x.c index 6b93a056f9..0d6a681b78 100644 --- a/libavcodec/v210x.c +++ b/libavcodec/v210x.c @@ -132,7 +132,7 @@ static av_cold int decode_close(AVCodecContext *avctx) return 0; } -AVCodec v210x_decoder = { +AVCodec ff_v210x_decoder = { "v210x", AVMEDIA_TYPE_VIDEO, CODEC_ID_V210X, diff --git a/libavcodec/vb.c b/libavcodec/vb.c index 13c4b0a8d9..fc79f5d586 100644 --- a/libavcodec/vb.c +++ b/libavcodec/vb.c @@ -287,7 +287,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec vb_decoder = { +AVCodec ff_vb_decoder = { "vb", AVMEDIA_TYPE_VIDEO, CODEC_ID_VB, diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c index 6e559dec9b..98caa2048d 100644 --- a/libavcodec/vc1_parser.c +++ b/libavcodec/vc1_parser.c @@ -169,7 +169,7 @@ static int vc1_split(AVCodecContext *avctx, return 0; } -AVCodecParser vc1_parser = { +AVCodecParser ff_vc1_parser = { { CODEC_ID_VC1 }, sizeof(VC1ParseContext), NULL, diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index c9a547b615..056b435055 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -3345,7 +3345,7 @@ static av_cold int vc1_decode_end(AVCodecContext *avctx) } -AVCodec vc1_decoder = { +AVCodec ff_vc1_decoder = { "vc1", AVMEDIA_TYPE_VIDEO, CODEC_ID_VC1, @@ -3361,7 +3361,7 @@ AVCodec vc1_decoder = { }; #if CONFIG_WMV3_DECODER -AVCodec wmv3_decoder = { +AVCodec ff_wmv3_decoder = { "wmv3", AVMEDIA_TYPE_VIDEO, CODEC_ID_WMV3, @@ -3378,7 +3378,7 @@ AVCodec wmv3_decoder = { #endif #if CONFIG_WMV3_VDPAU_DECODER -AVCodec wmv3_vdpau_decoder = { +AVCodec ff_wmv3_vdpau_decoder = { "wmv3_vdpau", AVMEDIA_TYPE_VIDEO, CODEC_ID_WMV3, @@ -3395,7 +3395,7 @@ AVCodec wmv3_vdpau_decoder = { #endif #if CONFIG_VC1_VDPAU_DECODER -AVCodec vc1_vdpau_decoder = { +AVCodec ff_vc1_vdpau_decoder = { "vc1_vdpau", AVMEDIA_TYPE_VIDEO, CODEC_ID_VC1, diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c index 31da94f3d0..9a9c439881 100644 --- a/libavcodec/vcr1.c +++ b/libavcodec/vcr1.c @@ -176,7 +176,7 @@ static av_cold int encode_init(AVCodecContext *avctx){ } #endif -AVCodec vcr1_decoder = { +AVCodec ff_vcr1_decoder = { "vcr1", AVMEDIA_TYPE_VIDEO, CODEC_ID_VCR1, @@ -190,7 +190,7 @@ AVCodec vcr1_decoder = { }; #if CONFIG_VCR1_ENCODER -AVCodec vcr1_encoder = { +AVCodec ff_vcr1_encoder = { "vcr1", AVMEDIA_TYPE_VIDEO, CODEC_ID_VCR1, diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c index 9f44e31ed9..e396c0bc9e 100644 --- a/libavcodec/vmdav.c +++ b/libavcodec/vmdav.c @@ -565,7 +565,7 @@ static int vmdaudio_decode_frame(AVCodecContext *avctx, * Public Data Structures */ -AVCodec vmdvideo_decoder = { +AVCodec ff_vmdvideo_decoder = { "vmdvideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_VMDVIDEO, @@ -578,7 +578,7 @@ AVCodec vmdvideo_decoder = { .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD video"), }; -AVCodec vmdaudio_decoder = { +AVCodec ff_vmdaudio_decoder = { "vmdaudio", AVMEDIA_TYPE_AUDIO, CODEC_ID_VMDAUDIO, diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c index 49aaeb2992..e13452dcc6 100644 --- a/libavcodec/vmnc.c +++ b/libavcodec/vmnc.c @@ -508,7 +508,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec vmnc_decoder = { +AVCodec ff_vmnc_decoder = { "vmnc", AVMEDIA_TYPE_VIDEO, CODEC_ID_VMNC, diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c index 8f15a2100c..cdb485a9c9 100644 --- a/libavcodec/vorbis_dec.c +++ b/libavcodec/vorbis_dec.c @@ -1673,7 +1673,7 @@ static av_cold int vorbis_decode_close(AVCodecContext *avccontext) return 0 ; } -AVCodec vorbis_decoder = { +AVCodec ff_vorbis_decoder = { "vorbis", AVMEDIA_TYPE_AUDIO, CODEC_ID_VORBIS, diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index 0a9c80d6d2..93683ac422 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -1102,7 +1102,7 @@ static av_cold int vorbis_encode_close(AVCodecContext *avccontext) return 0 ; } -AVCodec vorbis_encoder = { +AVCodec ff_vorbis_encoder = { "vorbis", AVMEDIA_TYPE_AUDIO, CODEC_ID_VORBIS, diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index a2a3974b5d..7ba878eeff 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -2212,7 +2212,7 @@ static av_cold int theora_decode_init(AVCodecContext *avctx) return vp3_decode_init(avctx); } -AVCodec theora_decoder = { +AVCodec ff_theora_decoder = { "theora", AVMEDIA_TYPE_VIDEO, CODEC_ID_THEORA, @@ -2227,7 +2227,7 @@ AVCodec theora_decoder = { }; #endif -AVCodec vp3_decoder = { +AVCodec ff_vp3_decoder = { "vp3", AVMEDIA_TYPE_VIDEO, CODEC_ID_VP3, diff --git a/libavcodec/vp3_parser.c b/libavcodec/vp3_parser.c index c22e6dd277..4453447aaf 100644 --- a/libavcodec/vp3_parser.c +++ b/libavcodec/vp3_parser.c @@ -35,7 +35,7 @@ static int parse(AVCodecParserContext *s, return buf_size; } -AVCodecParser vp3_parser = { +AVCodecParser ff_vp3_parser = { { CODEC_ID_THEORA, CODEC_ID_VP3, CODEC_ID_VP6, CODEC_ID_VP6F, CODEC_ID_VP6A }, 0, diff --git a/libavcodec/vp5.c b/libavcodec/vp5.c index 7b3a487f1b..e9de38e6dd 100644 --- a/libavcodec/vp5.c +++ b/libavcodec/vp5.c @@ -266,7 +266,7 @@ static av_cold int vp5_decode_init(AVCodecContext *avctx) return 0; } -AVCodec vp5_decoder = { +AVCodec ff_vp5_decoder = { "vp5", AVMEDIA_TYPE_VIDEO, CODEC_ID_VP5, diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c index d3a2f35faa..0a02ce58d6 100644 --- a/libavcodec/vp6.c +++ b/libavcodec/vp6.c @@ -606,7 +606,7 @@ static av_cold int vp6_decode_free(AVCodecContext *avctx) return 0; } -AVCodec vp6_decoder = { +AVCodec ff_vp6_decoder = { "vp6", AVMEDIA_TYPE_VIDEO, CODEC_ID_VP6, @@ -620,7 +620,7 @@ AVCodec vp6_decoder = { }; /* flash version, not flipped upside-down */ -AVCodec vp6f_decoder = { +AVCodec ff_vp6f_decoder = { "vp6f", AVMEDIA_TYPE_VIDEO, CODEC_ID_VP6F, @@ -634,7 +634,7 @@ AVCodec vp6f_decoder = { }; /* flash version, not flipped upside-down, with alpha channel */ -AVCodec vp6a_decoder = { +AVCodec ff_vp6a_decoder = { "vp6a", AVMEDIA_TYPE_VIDEO, CODEC_ID_VP6A, diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 52a3f90ba0..3691f15977 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -1807,7 +1807,7 @@ static av_cold int vp8_decode_free(AVCodecContext *avctx) return 0; } -AVCodec vp8_decoder = { +AVCodec ff_vp8_decoder = { "vp8", AVMEDIA_TYPE_VIDEO, CODEC_ID_VP8, diff --git a/libavcodec/vp8_parser.c b/libavcodec/vp8_parser.c index 10e7c3b44b..e769e33abe 100644 --- a/libavcodec/vp8_parser.c +++ b/libavcodec/vp8_parser.c @@ -32,7 +32,7 @@ static int parse(AVCodecParserContext *s, return buf_size; } -AVCodecParser vp8_parser = { +AVCodecParser ff_vp8_parser = { { CODEC_ID_VP8 }, 0, NULL, diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 97b8b50278..c3b5ba6556 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -609,7 +609,7 @@ static av_cold int vqa_decode_end(AVCodecContext *avctx) return 0; } -AVCodec vqa_decoder = { +AVCodec ff_vqa_decoder = { "vqavideo", AVMEDIA_TYPE_VIDEO, CODEC_ID_WS_VQA, diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index d7bd265de0..e96981460b 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -1188,7 +1188,7 @@ static int wavpack_decode_frame(AVCodecContext *avctx, return s->samples_left > 0 ? 0 : avpkt->size; } -AVCodec wavpack_decoder = { +AVCodec ff_wavpack_decoder = { "wavpack", AVMEDIA_TYPE_AUDIO, CODEC_ID_WAVPACK, diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c index 694b15d1fb..b720ea5098 100644 --- a/libavcodec/wmadec.c +++ b/libavcodec/wmadec.c @@ -939,7 +939,7 @@ static av_cold void flush(AVCodecContext *avctx) s->last_superframe_len= 0; } -AVCodec wmav1_decoder = +AVCodec ff_wmav1_decoder = { "wmav1", AVMEDIA_TYPE_AUDIO, @@ -953,7 +953,7 @@ AVCodec wmav1_decoder = .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"), }; -AVCodec wmav2_decoder = +AVCodec ff_wmav2_decoder = { "wmav2", AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c index f96aa3a107..4e54a70161 100644 --- a/libavcodec/wmaenc.c +++ b/libavcodec/wmaenc.c @@ -383,7 +383,7 @@ static int encode_superframe(AVCodecContext *avctx, return put_bits_ptr(&s->pb) - s->pb.buf; } -AVCodec wmav1_encoder = +AVCodec ff_wmav1_encoder = { "wmav1", AVMEDIA_TYPE_AUDIO, @@ -396,7 +396,7 @@ AVCodec wmav1_encoder = .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"), }; -AVCodec wmav2_encoder = +AVCodec ff_wmav2_encoder = { "wmav2", AVMEDIA_TYPE_AUDIO, diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index 5941781676..e7799846bb 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -1603,7 +1603,7 @@ static void flush(AVCodecContext *avctx) /** *@brief wmapro decoder */ -AVCodec wmapro_decoder = { +AVCodec ff_wmapro_decoder = { "wmapro", AVMEDIA_TYPE_AUDIO, CODEC_ID_WMAPRO, diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index aa3b2b8737..13011ec234 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -2018,7 +2018,7 @@ static av_cold void wmavoice_flush(AVCodecContext *ctx) } } -AVCodec wmavoice_decoder = { +AVCodec ff_wmavoice_decoder = { "wmavoice", AVMEDIA_TYPE_AUDIO, CODEC_ID_WMAVOICE, diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index 7dba7c57d6..768b819479 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -484,7 +484,7 @@ static av_cold int wmv2_decode_end(AVCodecContext *avctx) return ff_h263_decode_end(avctx); } -AVCodec wmv2_decoder = { +AVCodec ff_wmv2_decoder = { "wmv2", AVMEDIA_TYPE_VIDEO, CODEC_ID_WMV2, diff --git a/libavcodec/wmv2enc.c b/libavcodec/wmv2enc.c index 7416f85233..f2ab55b7fb 100644 --- a/libavcodec/wmv2enc.c +++ b/libavcodec/wmv2enc.c @@ -211,7 +211,7 @@ void ff_wmv2_encode_mb(MpegEncContext * s, } } -AVCodec wmv2_encoder = { +AVCodec ff_wmv2_encoder = { "wmv2", AVMEDIA_TYPE_VIDEO, CODEC_ID_WMV2, diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c index 56634d10ac..2f96039053 100644 --- a/libavcodec/wnv1.c +++ b/libavcodec/wnv1.c @@ -154,7 +154,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ return 0; } -AVCodec wnv1_decoder = { +AVCodec ff_wnv1_decoder = { "wnv1", AVMEDIA_TYPE_VIDEO, CODEC_ID_WNV1, diff --git a/libavcodec/ws-snd1.c b/libavcodec/ws-snd1.c index c16c99a62a..d6a60d441f 100644 --- a/libavcodec/ws-snd1.c +++ b/libavcodec/ws-snd1.c @@ -146,7 +146,7 @@ static int ws_snd_decode_frame(AVCodecContext *avctx, return buf_size; } -AVCodec ws_snd1_decoder = { +AVCodec ff_ws_snd1_decoder = { "ws_snd1", AVMEDIA_TYPE_AUDIO, CODEC_ID_WESTWOOD_SND1, diff --git a/libavcodec/xan.c b/libavcodec/xan.c index fbd383f39b..0ae84a6903 100644 --- a/libavcodec/xan.c +++ b/libavcodec/xan.c @@ -564,7 +564,7 @@ static av_cold int xan_decode_end(AVCodecContext *avctx) return 0; } -AVCodec xan_wc3_decoder = { +AVCodec ff_xan_wc3_decoder = { "xan_wc3", AVMEDIA_TYPE_VIDEO, CODEC_ID_XAN_WC3, @@ -578,7 +578,7 @@ AVCodec xan_wc3_decoder = { }; /* -AVCodec xan_wc4_decoder = { +AVCodec ff_xan_wc4_decoder = { "xan_wc4", AVMEDIA_TYPE_VIDEO, CODEC_ID_XAN_WC4, diff --git a/libavcodec/xl.c b/libavcodec/xl.c index f7d025eca4..7fbe626d58 100644 --- a/libavcodec/xl.c +++ b/libavcodec/xl.c @@ -138,7 +138,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ return 0; } -AVCodec xl_decoder = { +AVCodec ff_xl_decoder = { "xl", AVMEDIA_TYPE_VIDEO, CODEC_ID_VIXL, diff --git a/libavcodec/xsubdec.c b/libavcodec/xsubdec.c index 22f9898d61..872b227d64 100644 --- a/libavcodec/xsubdec.c +++ b/libavcodec/xsubdec.c @@ -131,7 +131,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, return buf_size; } -AVCodec xsub_decoder = { +AVCodec ff_xsub_decoder = { "xsub", AVMEDIA_TYPE_SUBTITLE, CODEC_ID_XSUB, diff --git a/libavcodec/xsubenc.c b/libavcodec/xsubenc.c index 60f4979edb..c448a2271c 100644 --- a/libavcodec/xsubenc.c +++ b/libavcodec/xsubenc.c @@ -210,7 +210,7 @@ static av_cold int xsub_encoder_init(AVCodecContext *avctx) return 0; } -AVCodec xsub_encoder = { +AVCodec ff_xsub_encoder = { "xsub", AVMEDIA_TYPE_SUBTITLE, CODEC_ID_XSUB, diff --git a/libavcodec/yop.c b/libavcodec/yop.c index 57d100c26d..6a75e74b7a 100644 --- a/libavcodec/yop.c +++ b/libavcodec/yop.c @@ -248,7 +248,7 @@ static int yop_decode_frame(AVCodecContext *avctx, void *data, int *data_size, return avpkt->size; } -AVCodec yop_decoder = { +AVCodec ff_yop_decoder = { "yop", AVMEDIA_TYPE_VIDEO, CODEC_ID_YOP, diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index 6ac908919d..f660cd4693 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -650,7 +650,7 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -AVCodec zmbv_decoder = { +AVCodec ff_zmbv_decoder = { "zmbv", AVMEDIA_TYPE_VIDEO, CODEC_ID_ZMBV, diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c index 95f2906268..b830bb4a8e 100644 --- a/libavcodec/zmbvenc.c +++ b/libavcodec/zmbvenc.c @@ -323,7 +323,7 @@ static av_cold int encode_end(AVCodecContext *avctx) return 0; } -AVCodec zmbv_encoder = { +AVCodec ff_zmbv_encoder = { "zmbv", AVMEDIA_TYPE_VIDEO, CODEC_ID_ZMBV, |