None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69
)
tags/n0.8
@@ -865,7 +865,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec fourxm_decoder = { | |||||
AVCodec ff_fourxm_decoder = { | |||||
"4xm", | "4xm", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_4XM, | CODEC_ID_4XM, | ||||
@@ -219,7 +219,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
AVCodec eightbps_decoder = { | |||||
AVCodec ff_eightbps_decoder = { | |||||
"8bps", | "8bps", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_8BPS, | CODEC_ID_8BPS, | ||||
@@ -92,7 +92,7 @@ static av_cold int eightsvx_decode_init(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec eightsvx_fib_decoder = { | |||||
AVCodec ff_eightsvx_fib_decoder = { | |||||
.name = "8svx_fib", | .name = "8svx_fib", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_8SVX_FIB, | .id = CODEC_ID_8SVX_FIB, | ||||
@@ -102,7 +102,7 @@ AVCodec eightsvx_fib_decoder = { | |||||
.long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), | .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), | ||||
}; | }; | ||||
AVCodec eightsvx_exp_decoder = { | |||||
AVCodec ff_eightsvx_exp_decoder = { | |||||
.name = "8svx_exp", | .name = "8svx_exp", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_8SVX_EXP, | .id = CODEC_ID_8SVX_EXP, | ||||
@@ -362,7 +362,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, unsigned char *buf, | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec a64multi_encoder = { | |||||
AVCodec ff_a64multi_encoder = { | |||||
.name = "a64multi", | .name = "a64multi", | ||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_A64_MULTI, | .id = CODEC_ID_A64_MULTI, | ||||
@@ -375,7 +375,7 @@ AVCodec a64multi_encoder = { | |||||
.capabilities = CODEC_CAP_DELAY, | .capabilities = CODEC_CAP_DELAY, | ||||
}; | }; | ||||
AVCodec a64multi5_encoder = { | |||||
AVCodec ff_a64multi5_encoder = { | |||||
.name = "a64multi5", | .name = "a64multi5", | ||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_A64_MULTI5, | .id = CODEC_ID_A64_MULTI5, | ||||
@@ -107,7 +107,7 @@ static int aac_adtstoasc_filter(AVBitStreamFilterContext *bsfc, | |||||
return 0; | return 0; | ||||
} | } | ||||
AVBitStreamFilter aac_adtstoasc_bsf = { | |||||
AVBitStreamFilter ff_aac_adtstoasc_bsf = { | |||||
"aac_adtstoasc", | "aac_adtstoasc", | ||||
sizeof(AACBSFContext), | sizeof(AACBSFContext), | ||||
aac_adtstoasc_filter, | aac_adtstoasc_filter, | ||||
@@ -60,7 +60,7 @@ static av_cold int aac_parse_init(AVCodecParserContext *s1) | |||||
} | } | ||||
AVCodecParser aac_parser = { | |||||
AVCodecParser ff_aac_parser = { | |||||
{ CODEC_ID_AAC }, | { CODEC_ID_AAC }, | ||||
sizeof(AACAC3ParseContext), | sizeof(AACAC3ParseContext), | ||||
aac_parse_init, | aac_parse_init, | ||||
@@ -2351,7 +2351,7 @@ av_cold static int latm_decode_init(AVCodecContext *avctx) | |||||
} | } | ||||
AVCodec aac_decoder = { | |||||
AVCodec ff_aac_decoder = { | |||||
"aac", | "aac", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_AAC, | CODEC_ID_AAC, | ||||
@@ -2372,7 +2372,7 @@ AVCodec aac_decoder = { | |||||
in MPEG transport streams which only contain one program. | in MPEG transport streams which only contain one program. | ||||
To do a more complex LATM demuxing a separate LATM demuxer should be used. | 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", | .name = "aac_latm", | ||||
.type = CODEC_TYPE_AUDIO, | .type = CODEC_TYPE_AUDIO, | ||||
.id = CODEC_ID_AAC_LATM, | .id = CODEC_ID_AAC_LATM, | ||||
@@ -641,7 +641,7 @@ static av_cold int aac_encode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec aac_encoder = { | |||||
AVCodec ff_aac_encoder = { | |||||
"aac", | "aac", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_AAC, | CODEC_ID_AAC, | ||||
@@ -109,7 +109,7 @@ static av_cold int aasc_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec aasc_decoder = { | |||||
AVCodec ff_aasc_decoder = { | |||||
"aasc", | "aasc", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_AASC, | CODEC_ID_AASC, | ||||
@@ -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 }, | { CODEC_ID_AC3, CODEC_ID_EAC3 }, | ||||
sizeof(AACAC3ParseContext), | sizeof(AACAC3ParseContext), | ||||
ac3_parse_init, | ac3_parse_init, | ||||
@@ -1437,7 +1437,7 @@ static av_cold int ac3_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec ac3_decoder = { | |||||
AVCodec ff_ac3_decoder = { | |||||
.name = "ac3", | .name = "ac3", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_AC3, | .id = CODEC_ID_AC3, | ||||
@@ -1449,7 +1449,7 @@ AVCodec ac3_decoder = { | |||||
}; | }; | ||||
#if CONFIG_EAC3_DECODER | #if CONFIG_EAC3_DECODER | ||||
AVCodec eac3_decoder = { | |||||
AVCodec ff_eac3_decoder = { | |||||
.name = "eac3", | .name = "eac3", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_EAC3, | .id = CODEC_ID_EAC3, | ||||
@@ -425,7 +425,7 @@ int main(void) | |||||
#endif /* TEST */ | #endif /* TEST */ | ||||
AVCodec ac3_fixed_encoder = { | |||||
AVCodec ff_ac3_fixed_encoder = { | |||||
"ac3_fixed", | "ac3_fixed", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_AC3, | CODEC_ID_AC3, | ||||
@@ -109,7 +109,7 @@ static void scale_coefficients(AC3EncodeContext *s) | |||||
} | } | ||||
AVCodec ac3_encoder = { | |||||
AVCodec ff_ac3_encoder = { | |||||
"ac3", | "ac3", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_AC3, | CODEC_ID_AC3, | ||||
@@ -1708,7 +1708,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, | |||||
#if CONFIG_ENCODERS | #if CONFIG_ENCODERS | ||||
#define ADPCM_ENCODER(id,name,long_name_) \ | #define ADPCM_ENCODER(id,name,long_name_) \ | ||||
AVCodec name ## _encoder = { \ | |||||
AVCodec ff_ ## name ## _encoder = { \ | |||||
#name, \ | #name, \ | ||||
AVMEDIA_TYPE_AUDIO, \ | AVMEDIA_TYPE_AUDIO, \ | ||||
id, \ | id, \ | ||||
@@ -1726,7 +1726,7 @@ AVCodec name ## _encoder = { \ | |||||
#if CONFIG_DECODERS | #if CONFIG_DECODERS | ||||
#define ADPCM_DECODER(id,name,long_name_) \ | #define ADPCM_DECODER(id,name,long_name_) \ | ||||
AVCodec name ## _decoder = { \ | |||||
AVCodec ff_ ## name ## _decoder = { \ | |||||
#name, \ | #name, \ | ||||
AVMEDIA_TYPE_AUDIO, \ | AVMEDIA_TYPE_AUDIO, \ | ||||
id, \ | id, \ | ||||
@@ -166,7 +166,7 @@ static int adx_decode_frame(AVCodecContext *avctx, | |||||
return buf-buf0; | return buf-buf0; | ||||
} | } | ||||
AVCodec adpcm_adx_decoder = { | |||||
AVCodec ff_adpcm_adx_decoder = { | |||||
"adpcm_adx", | "adpcm_adx", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_ADPCM_ADX, | CODEC_ID_ADPCM_ADX, | ||||
@@ -183,7 +183,7 @@ static int adx_encode_frame(AVCodecContext *avctx, | |||||
return dst-frame; | return dst-frame; | ||||
} | } | ||||
AVCodec adpcm_adx_encoder = { | |||||
AVCodec ff_adpcm_adx_encoder = { | |||||
"adpcm_adx", | "adpcm_adx", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_ADPCM_ADX, | CODEC_ID_ADPCM_ADX, | ||||
@@ -691,7 +691,7 @@ static av_cold int alac_decode_close(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec alac_decoder = { | |||||
AVCodec ff_alac_decoder = { | |||||
"alac", | "alac", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_ALAC, | CODEC_ID_ALAC, | ||||
@@ -523,7 +523,7 @@ static av_cold int alac_encode_close(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec alac_encoder = { | |||||
AVCodec ff_alac_encoder = { | |||||
"alac", | "alac", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_ALAC, | CODEC_ID_ALAC, | ||||
@@ -27,23 +27,23 @@ | |||||
#include "avcodec.h" | #include "avcodec.h" | ||||
#define REGISTER_HWACCEL(X,x) { \ | #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) { \ | #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) { \ | #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_ENCDEC(X,x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x) | ||||
#define REGISTER_PARSER(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) { \ | #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) | void avcodec_register_all(void) | ||||
{ | { | ||||
@@ -1737,7 +1737,7 @@ static av_cold void flush(AVCodecContext *avctx) | |||||
} | } | ||||
AVCodec als_decoder = { | |||||
AVCodec ff_als_decoder = { | |||||
"als", | "als", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_MP4ALS, | CODEC_ID_MP4ALS, | ||||
@@ -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", | .name = "amrnb", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_AMR_NB, | .id = CODEC_ID_AMR_NB, | ||||
@@ -1225,7 +1225,7 @@ static int amrwb_decode_frame(AVCodecContext *avctx, void *data, int *data_size, | |||||
return expected_fr_size; | return expected_fr_size; | ||||
} | } | ||||
AVCodec amrwb_decoder = { | |||||
AVCodec ff_amrwb_decoder = { | |||||
.name = "amrwb", | .name = "amrwb", | ||||
.type = CODEC_TYPE_AUDIO, | .type = CODEC_TYPE_AUDIO, | ||||
.id = CODEC_ID_AMR_WB, | .id = CODEC_ID_AMR_WB, | ||||
@@ -183,7 +183,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec anm_decoder = { | |||||
AVCodec ff_anm_decoder = { | |||||
"anm", | "anm", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_ANM, | CODEC_ID_ANM, | ||||
@@ -422,7 +422,7 @@ static av_cold int decode_close(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec ansi_decoder = { | |||||
AVCodec ff_ansi_decoder = { | |||||
.name = "ansi", | .name = "ansi", | ||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_ANSI, | .id = CODEC_ID_ANSI, | ||||
@@ -883,7 +883,7 @@ static void ape_flush(AVCodecContext *avctx) | |||||
s->samples= 0; | s->samples= 0; | ||||
} | } | ||||
AVCodec ape_decoder = { | |||||
AVCodec ff_ape_decoder = { | |||||
"ape", | "ape", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_APE, | CODEC_ID_APE, | ||||
@@ -52,7 +52,7 @@ static int ass_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, | |||||
return avpkt->size; | return avpkt->size; | ||||
} | } | ||||
AVCodec ass_decoder = { | |||||
AVCodec ff_ass_decoder = { | |||||
.name = "ass", | .name = "ass", | ||||
.long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle"), | .long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle"), | ||||
.type = AVMEDIA_TYPE_SUBTITLE, | .type = AVMEDIA_TYPE_SUBTITLE, | ||||
@@ -57,7 +57,7 @@ static int ass_encode_frame(AVCodecContext *avctx, | |||||
return total_len; | return total_len; | ||||
} | } | ||||
AVCodec ass_encoder = { | |||||
AVCodec ff_ass_encoder = { | |||||
.name = "ass", | .name = "ass", | ||||
.long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle"), | .long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle"), | ||||
.type = AVMEDIA_TYPE_SUBTITLE, | .type = AVMEDIA_TYPE_SUBTITLE, | ||||
@@ -613,7 +613,7 @@ static av_cold int decode_end(AVCodecContext *avctx){ | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec asv1_decoder = { | |||||
AVCodec ff_asv1_decoder = { | |||||
"asv1", | "asv1", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_ASV1, | CODEC_ID_ASV1, | ||||
@@ -626,7 +626,7 @@ AVCodec asv1_decoder = { | |||||
.long_name= NULL_IF_CONFIG_SMALL("ASUS V1"), | .long_name= NULL_IF_CONFIG_SMALL("ASUS V1"), | ||||
}; | }; | ||||
AVCodec asv2_decoder = { | |||||
AVCodec ff_asv2_decoder = { | |||||
"asv2", | "asv2", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_ASV2, | CODEC_ID_ASV2, | ||||
@@ -640,7 +640,7 @@ AVCodec asv2_decoder = { | |||||
}; | }; | ||||
#if CONFIG_ASV1_ENCODER | #if CONFIG_ASV1_ENCODER | ||||
AVCodec asv1_encoder = { | |||||
AVCodec ff_asv1_encoder = { | |||||
"asv1", | "asv1", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_ASV1, | CODEC_ID_ASV1, | ||||
@@ -654,7 +654,7 @@ AVCodec asv1_encoder = { | |||||
#endif | #endif | ||||
#if CONFIG_ASV2_ENCODER | #if CONFIG_ASV2_ENCODER | ||||
AVCodec asv2_encoder = { | |||||
AVCodec ff_asv2_encoder = { | |||||
"asv2", | "asv2", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_ASV2, | CODEC_ID_ASV2, | ||||
@@ -365,7 +365,7 @@ static av_cold int atrac1_decode_end(AVCodecContext * avctx) { | |||||
} | } | ||||
AVCodec atrac1_decoder = { | |||||
AVCodec ff_atrac1_decoder = { | |||||
.name = "atrac1", | .name = "atrac1", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_ATRAC1, | .id = CODEC_ID_ATRAC1, | ||||
@@ -1019,7 +1019,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx) | |||||
} | } | ||||
AVCodec atrac3_decoder = | |||||
AVCodec ff_atrac3_decoder = | |||||
{ | { | ||||
.name = "atrac3", | .name = "atrac3", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
@@ -122,7 +122,7 @@ static av_cold int aura_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec aura2_decoder = { | |||||
AVCodec ff_aura2_decoder = { | |||||
"aura2", | "aura2", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_AURA2, | CODEC_ID_AURA2, | ||||
@@ -150,7 +150,7 @@ static av_cold int avs_decode_init(AVCodecContext * avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec avs_decoder = { | |||||
AVCodec ff_avs_decoder = { | |||||
"avs", | "avs", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_AVS, | CODEC_ID_AVS, | ||||
@@ -130,7 +130,7 @@ static av_cold int bethsoftvid_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec bethsoftvid_decoder = { | |||||
AVCodec ff_bethsoftvid_decoder = { | |||||
.name = "bethsoftvid", | .name = "bethsoftvid", | ||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_BETHSOFTVID, | .id = CODEC_ID_BETHSOFTVID, | ||||
@@ -180,7 +180,7 @@ static av_cold int bfi_decode_close(AVCodecContext * avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec bfi_decoder = { | |||||
AVCodec ff_bfi_decoder = { | |||||
.name = "bfi", | .name = "bfi", | ||||
.type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
.id = CODEC_ID_BFI, | .id = CODEC_ID_BFI, | ||||
@@ -1000,7 +1000,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec bink_decoder = { | |||||
AVCodec ff_bink_decoder = { | |||||
"binkvideo", | "binkvideo", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_BINKVIDEO, | CODEC_ID_BINKVIDEO, | ||||
@@ -286,7 +286,7 @@ static int decode_frame(AVCodecContext *avctx, | |||||
return buf_size; | return buf_size; | ||||
} | } | ||||
AVCodec binkaudio_rdft_decoder = { | |||||
AVCodec ff_binkaudio_rdft_decoder = { | |||||
"binkaudio_rdft", | "binkaudio_rdft", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_BINKAUDIO_RDFT, | CODEC_ID_BINKAUDIO_RDFT, | ||||
@@ -298,7 +298,7 @@ AVCodec binkaudio_rdft_decoder = { | |||||
.long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)") | .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)") | ||||
}; | }; | ||||
AVCodec binkaudio_dct_decoder = { | |||||
AVCodec ff_binkaudio_dct_decoder = { | |||||
"binkaudio_dct", | "binkaudio_dct", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_BINKAUDIO_DCT, | CODEC_ID_BINKAUDIO_DCT, | ||||
@@ -335,7 +335,7 @@ static av_cold int bmp_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec bmp_decoder = { | |||||
AVCodec ff_bmp_decoder = { | |||||
"bmp", | "bmp", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_BMP, | CODEC_ID_BMP, | ||||
@@ -149,7 +149,7 @@ static int bmp_encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_s | |||||
return n_bytes; | return n_bytes; | ||||
} | } | ||||
AVCodec bmp_encoder = { | |||||
AVCodec ff_bmp_encoder = { | |||||
"bmp", | "bmp", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_BMP, | CODEC_ID_BMP, | ||||
@@ -242,7 +242,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, | |||||
return buf_size; | return buf_size; | ||||
} | } | ||||
AVCodec c93_decoder = { | |||||
AVCodec ff_c93_decoder = { | |||||
"c93", | "c93", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_C93, | CODEC_ID_C93, | ||||
@@ -97,7 +97,7 @@ static int cavsvideo_parse(AVCodecParserContext *s, | |||||
return next; | return next; | ||||
} | } | ||||
AVCodecParser cavsvideo_parser = { | |||||
AVCodecParser ff_cavsvideo_parser = { | |||||
{ CODEC_ID_CAVS }, | { CODEC_ID_CAVS }, | ||||
sizeof(ParseContext1), | sizeof(ParseContext1), | ||||
NULL, | NULL, | ||||
@@ -709,7 +709,7 @@ static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size, | |||||
} | } | ||||
} | } | ||||
AVCodec cavs_decoder = { | |||||
AVCodec ff_cavs_decoder = { | |||||
"cavs", | "cavs", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_CAVS, | CODEC_ID_CAVS, | ||||
@@ -367,7 +367,7 @@ static av_cold int cdg_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec cdgraphics_decoder = { | |||||
AVCodec ff_cdgraphics_decoder = { | |||||
"cdgraphics", | "cdgraphics", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_CDGRAPHICS, | CODEC_ID_CDGRAPHICS, | ||||
@@ -40,7 +40,7 @@ static int chomp_filter(AVBitStreamFilterContext *bsfc, | |||||
/** | /** | ||||
* This filter removes a string of NULL bytes from the end of a packet. | * This filter removes a string of NULL bytes from the end of a packet. | ||||
*/ | */ | ||||
AVBitStreamFilter chomp_bsf = { | |||||
AVBitStreamFilter ff_chomp_bsf = { | |||||
"chomp", | "chomp", | ||||
0, | 0, | ||||
chomp_filter, | chomp_filter, | ||||
@@ -455,7 +455,7 @@ static av_cold int cinepak_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec cinepak_decoder = { | |||||
AVCodec ff_cinepak_decoder = { | |||||
"cinepak", | "cinepak", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_CINEPAK, | CODEC_ID_CINEPAK, | ||||
@@ -140,7 +140,7 @@ static av_cold int encode_init(AVCodecContext *avctx){ | |||||
} | } | ||||
#endif | #endif | ||||
AVCodec cljr_decoder = { | |||||
AVCodec ff_cljr_decoder = { | |||||
"cljr", | "cljr", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_CLJR, | CODEC_ID_CLJR, | ||||
@@ -154,7 +154,7 @@ AVCodec cljr_decoder = { | |||||
}; | }; | ||||
#if CONFIG_CLJR_ENCODER | #if CONFIG_CLJR_ENCODER | ||||
AVCodec cljr_encoder = { | |||||
AVCodec ff_cljr_encoder = { | |||||
"cljr", | "cljr", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_CLJR, | CODEC_ID_CLJR, | ||||
@@ -1283,7 +1283,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx) | |||||
} | } | ||||
AVCodec cook_decoder = | |||||
AVCodec ff_cook_decoder = | |||||
{ | { | ||||
.name = "cook", | .name = "cook", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
@@ -254,7 +254,7 @@ static av_cold int decode_end(AVCodecContext *avctx) { | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec cscd_decoder = { | |||||
AVCodec ff_cscd_decoder = { | |||||
"camstudio", | "camstudio", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_CSCD, | CODEC_ID_CSCD, | ||||
@@ -178,7 +178,7 @@ static av_cold int cyuv_decode_end(AVCodecContext *avctx) | |||||
} | } | ||||
#if CONFIG_AURA_DECODER | #if CONFIG_AURA_DECODER | ||||
AVCodec aura_decoder = { | |||||
AVCodec ff_aura_decoder = { | |||||
"aura", | "aura", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_AURA, | CODEC_ID_AURA, | ||||
@@ -194,7 +194,7 @@ AVCodec aura_decoder = { | |||||
#endif | #endif | ||||
#if CONFIG_CYUV_DECODER | #if CONFIG_CYUV_DECODER | ||||
AVCodec cyuv_decoder = { | |||||
AVCodec ff_cyuv_decoder = { | |||||
"cyuv", | "cyuv", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_CYUV, | CODEC_ID_CYUV, | ||||
@@ -1875,7 +1875,7 @@ static const AVProfile profiles[] = { | |||||
{ FF_PROFILE_UNKNOWN }, | { FF_PROFILE_UNKNOWN }, | ||||
}; | }; | ||||
AVCodec dca_decoder = { | |||||
AVCodec ff_dca_decoder = { | |||||
.name = "dca", | .name = "dca", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_DTS, | .id = CODEC_ID_DTS, | ||||
@@ -125,7 +125,7 @@ static int dca_parse(AVCodecParserContext * s, | |||||
return next; | return next; | ||||
} | } | ||||
AVCodecParser dca_parser = { | |||||
AVCodecParser ff_dca_parser = { | |||||
{CODEC_ID_DTS}, | {CODEC_ID_DTS}, | ||||
sizeof(DCAParseContext), | sizeof(DCAParseContext), | ||||
dca_parse_init, | dca_parse_init, | ||||
@@ -247,7 +247,7 @@ static void dirac_parse_close(AVCodecParserContext *s) | |||||
av_free(pc->buffer); | av_free(pc->buffer); | ||||
} | } | ||||
AVCodecParser dirac_parser = { | |||||
AVCodecParser ff_dirac_parser = { | |||||
{ CODEC_ID_DIRAC }, | { CODEC_ID_DIRAC }, | ||||
sizeof(DiracParseContext), | sizeof(DiracParseContext), | ||||
NULL, | NULL, | ||||
@@ -86,7 +86,7 @@ static int dnxhd_parse(AVCodecParserContext *s, | |||||
return next; | return next; | ||||
} | } | ||||
AVCodecParser dnxhd_parser = { | |||||
AVCodecParser ff_dnxhd_parser = { | |||||
{ CODEC_ID_DNXHD }, | { CODEC_ID_DNXHD }, | ||||
sizeof(ParseContext), | sizeof(ParseContext), | ||||
NULL, | NULL, | ||||
@@ -346,7 +346,7 @@ static av_cold int dnxhd_decode_close(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec dnxhd_decoder = { | |||||
AVCodec ff_dnxhd_decoder = { | |||||
"dnxhd", | "dnxhd", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_DNXHD, | CODEC_ID_DNXHD, | ||||
@@ -848,7 +848,7 @@ static int dnxhd_encode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec dnxhd_encoder = { | |||||
AVCodec ff_dnxhd_encoder = { | |||||
"dnxhd", | "dnxhd", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_DNXHD, | CODEC_ID_DNXHD, | ||||
@@ -299,7 +299,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx, | |||||
} | } | ||||
#define DPCM_DECODER(id, name, long_name_) \ | #define DPCM_DECODER(id, name, long_name_) \ | ||||
AVCodec name ## _decoder = { \ | |||||
AVCodec ff_ ## name ## _decoder = { \ | |||||
#name, \ | #name, \ | ||||
AVMEDIA_TYPE_AUDIO, \ | AVMEDIA_TYPE_AUDIO, \ | ||||
id, \ | id, \ | ||||
@@ -220,7 +220,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec dpx_decoder = { | |||||
AVCodec ff_dpx_decoder = { | |||||
"dpx", | "dpx", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_DPX, | CODEC_ID_DPX, | ||||
@@ -343,7 +343,7 @@ static int cinaudio_decode_frame(AVCodecContext *avctx, | |||||
} | } | ||||
AVCodec dsicinvideo_decoder = { | |||||
AVCodec ff_dsicinvideo_decoder = { | |||||
"dsicinvideo", | "dsicinvideo", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_DSICINVIDEO, | CODEC_ID_DSICINVIDEO, | ||||
@@ -356,7 +356,7 @@ AVCodec dsicinvideo_decoder = { | |||||
.long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"), | .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"), | ||||
}; | }; | ||||
AVCodec dsicinaudio_decoder = { | |||||
AVCodec ff_dsicinaudio_decoder = { | |||||
"dsicinaudio", | "dsicinaudio", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_DSICINAUDIO, | CODEC_ID_DSICINAUDIO, | ||||
@@ -43,7 +43,7 @@ static int dump_extradata(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, | |||||
return 0; | return 0; | ||||
} | } | ||||
AVBitStreamFilter dump_extradata_bsf={ | |||||
AVBitStreamFilter ff_dump_extradata_bsf={ | |||||
"dump_extra", | "dump_extra", | ||||
0, | 0, | ||||
dump_extradata, | dump_extradata, | ||||
@@ -1290,7 +1290,7 @@ static int dvvideo_close(AVCodecContext *c) | |||||
#if CONFIG_DVVIDEO_ENCODER | #if CONFIG_DVVIDEO_ENCODER | ||||
AVCodec dvvideo_encoder = { | |||||
AVCodec ff_dvvideo_encoder = { | |||||
"dvvideo", | "dvvideo", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_DVVIDEO, | CODEC_ID_DVVIDEO, | ||||
@@ -1303,7 +1303,7 @@ AVCodec dvvideo_encoder = { | |||||
#endif // CONFIG_DVVIDEO_ENCODER | #endif // CONFIG_DVVIDEO_ENCODER | ||||
#if CONFIG_DVVIDEO_DECODER | #if CONFIG_DVVIDEO_DECODER | ||||
AVCodec dvvideo_decoder = { | |||||
AVCodec ff_dvvideo_decoder = { | |||||
"dvvideo", | "dvvideo", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_DVVIDEO, | CODEC_ID_DVVIDEO, | ||||
@@ -402,7 +402,7 @@ static int dvbsub_encode(AVCodecContext *avctx, | |||||
return ret; | return ret; | ||||
} | } | ||||
AVCodec dvbsub_encoder = { | |||||
AVCodec ff_dvbsub_encoder = { | |||||
"dvbsub", | "dvbsub", | ||||
AVMEDIA_TYPE_SUBTITLE, | AVMEDIA_TYPE_SUBTITLE, | ||||
CODEC_ID_DVB_SUBTITLE, | CODEC_ID_DVB_SUBTITLE, | ||||
@@ -179,7 +179,7 @@ static av_cold void dvbsub_parse_close(AVCodecParserContext *s) | |||||
av_freep(&pc->packet_buf); | av_freep(&pc->packet_buf); | ||||
} | } | ||||
AVCodecParser dvbsub_parser = { | |||||
AVCodecParser ff_dvbsub_parser = { | |||||
{ CODEC_ID_DVB_SUBTITLE }, | { CODEC_ID_DVB_SUBTITLE }, | ||||
sizeof(DVBSubParseContext), | sizeof(DVBSubParseContext), | ||||
dvbsub_parse_init, | dvbsub_parse_init, | ||||
@@ -1479,7 +1479,7 @@ static int dvbsub_decode(AVCodecContext *avctx, | |||||
} | } | ||||
AVCodec dvbsub_decoder = { | |||||
AVCodec ff_dvbsub_decoder = { | |||||
"dvbsub", | "dvbsub", | ||||
AVMEDIA_TYPE_SUBTITLE, | AVMEDIA_TYPE_SUBTITLE, | ||||
CODEC_ID_DVB_SUBTITLE, | CODEC_ID_DVB_SUBTITLE, | ||||
@@ -76,7 +76,7 @@ static av_cold void dvdsub_parse_close(AVCodecParserContext *s) | |||||
av_freep(&pc->packet); | av_freep(&pc->packet); | ||||
} | } | ||||
AVCodecParser dvdsub_parser = { | |||||
AVCodecParser ff_dvdsub_parser = { | |||||
{ CODEC_ID_DVD_SUBTITLE }, | { CODEC_ID_DVD_SUBTITLE }, | ||||
sizeof(DVDSubParseContext), | sizeof(DVDSubParseContext), | ||||
dvdsub_parse_init, | dvdsub_parse_init, | ||||
@@ -486,7 +486,7 @@ static int dvdsub_decode(AVCodecContext *avctx, | |||||
return buf_size; | return buf_size; | ||||
} | } | ||||
AVCodec dvdsub_decoder = { | |||||
AVCodec ff_dvdsub_decoder = { | |||||
"dvdsub", | "dvdsub", | ||||
AVMEDIA_TYPE_SUBTITLE, | AVMEDIA_TYPE_SUBTITLE, | ||||
CODEC_ID_DVD_SUBTITLE, | CODEC_ID_DVD_SUBTITLE, | ||||
@@ -215,7 +215,7 @@ static int dvdsub_encode(AVCodecContext *avctx, | |||||
return ret; | return ret; | ||||
} | } | ||||
AVCodec dvdsub_encoder = { | |||||
AVCodec ff_dvdsub_encoder = { | |||||
"dvdsub", | "dvdsub", | ||||
AVMEDIA_TYPE_SUBTITLE, | AVMEDIA_TYPE_SUBTITLE, | ||||
CODEC_ID_DVD_SUBTITLE, | CODEC_ID_DVD_SUBTITLE, | ||||
@@ -317,7 +317,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec dxa_decoder = { | |||||
AVCodec ff_dxa_decoder = { | |||||
"dxa", | "dxa", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_DXA, | CODEC_ID_DXA, | ||||
@@ -205,7 +205,7 @@ static av_cold int cmv_decode_end(AVCodecContext *avctx){ | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec eacmv_decoder = { | |||||
AVCodec ff_eacmv_decoder = { | |||||
"eacmv", | "eacmv", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_CMV, | CODEC_ID_CMV, | ||||
@@ -306,7 +306,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec eamad_decoder = { | |||||
AVCodec ff_eamad_decoder = { | |||||
"eamad", | "eamad", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_MAD, | CODEC_ID_MAD, | ||||
@@ -243,7 +243,7 @@ static av_cold int tgq_decode_end(AVCodecContext *avctx){ | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec eatgq_decoder = { | |||||
AVCodec ff_eatgq_decoder = { | |||||
"eatgq", | "eatgq", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_TGQ, | CODEC_ID_TGQ, | ||||
@@ -334,7 +334,7 @@ static av_cold int tgv_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec eatgv_decoder = { | |||||
AVCodec ff_eatgv_decoder = { | |||||
"eatgv", | "eatgv", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_TGV, | CODEC_ID_TGV, | ||||
@@ -154,7 +154,7 @@ static av_cold int tqi_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec eatqi_decoder = { | |||||
AVCodec ff_eatqi_decoder = { | |||||
"eatqi", | "eatqi", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_TQI, | CODEC_ID_TQI, | ||||
@@ -363,7 +363,7 @@ static int escape124_decode_frame(AVCodecContext *avctx, | |||||
} | } | ||||
AVCodec escape124_decoder = { | |||||
AVCodec ff_escape124_decoder = { | |||||
"escape124", | "escape124", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_ESCAPE124, | CODEC_ID_ESCAPE124, | ||||
@@ -1786,7 +1786,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac | |||||
return buf_size; | return buf_size; | ||||
} | } | ||||
AVCodec ffv1_decoder = { | |||||
AVCodec ff_ffv1_decoder = { | |||||
"ffv1", | "ffv1", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FFV1, | CODEC_ID_FFV1, | ||||
@@ -1801,7 +1801,7 @@ AVCodec ffv1_decoder = { | |||||
}; | }; | ||||
#if CONFIG_FFV1_ENCODER | #if CONFIG_FFV1_ENCODER | ||||
AVCodec ffv1_encoder = { | |||||
AVCodec ff_ffv1_encoder = { | |||||
"ffv1", | "ffv1", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FFV1, | CODEC_ID_FFV1, | ||||
@@ -673,7 +673,7 @@ static void flac_parse_close(AVCodecParserContext *c) | |||||
av_free(fpc->wrap_buf); | av_free(fpc->wrap_buf); | ||||
} | } | ||||
AVCodecParser flac_parser = { | |||||
AVCodecParser ff_flac_parser = { | |||||
{ CODEC_ID_FLAC }, | { CODEC_ID_FLAC }, | ||||
sizeof(FLACParseContext), | sizeof(FLACParseContext), | ||||
flac_parse_init, | flac_parse_init, | ||||
@@ -653,7 +653,7 @@ static av_cold int flac_decode_close(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec flac_decoder = { | |||||
AVCodec ff_flac_decoder = { | |||||
"flac", | "flac", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_FLAC, | CODEC_ID_FLAC, | ||||
@@ -1326,7 +1326,7 @@ static av_cold int flac_encode_close(AVCodecContext *avctx) | |||||
} | } | ||||
AVCodec flac_encoder = { | |||||
AVCodec ff_flac_encoder = { | |||||
"flac", | "flac", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_FLAC, | CODEC_ID_FLAC, | ||||
@@ -250,7 +250,7 @@ static av_cold int flashsv_decode_end(AVCodecContext *avctx) | |||||
} | } | ||||
AVCodec flashsv_decoder = { | |||||
AVCodec ff_flashsv_decoder = { | |||||
"flashsv", | "flashsv", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FLASHSV, | CODEC_ID_FLASHSV, | ||||
@@ -280,7 +280,7 @@ static av_cold int flashsv_encode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec flashsv_encoder = { | |||||
AVCodec ff_flashsv_encoder = { | |||||
"flashsv", | "flashsv", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FLASHSV, | CODEC_ID_FLASHSV, | ||||
@@ -742,7 +742,7 @@ static av_cold int flic_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec flic_decoder = { | |||||
AVCodec ff_flic_decoder = { | |||||
"flic", | "flic", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FLIC, | CODEC_ID_FLIC, | ||||
@@ -118,7 +118,7 @@ int ff_flv_decode_picture_header(MpegEncContext *s) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec flv_decoder = { | |||||
AVCodec ff_flv_decoder = { | |||||
"flv", | "flv", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FLV1, | CODEC_ID_FLV1, | ||||
@@ -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", | "flv", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FLV1, | CODEC_ID_FLV1, | ||||
@@ -355,7 +355,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
} | } | ||||
AVCodec fraps_decoder = { | |||||
AVCodec ff_fraps_decoder = { | |||||
"fraps", | "fraps", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FRAPS, | CODEC_ID_FRAPS, | ||||
@@ -109,7 +109,7 @@ static av_cold int decode_close(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec frwu_decoder = { | |||||
AVCodec ff_frwu_decoder = { | |||||
"FRWU", | "FRWU", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FRWU, | CODEC_ID_FRWU, | ||||
@@ -328,7 +328,7 @@ static int g722_decode_frame(AVCodecContext *avctx, void *data, | |||||
return avpkt->size; | return avpkt->size; | ||||
} | } | ||||
AVCodec adpcm_g722_decoder = { | |||||
AVCodec ff_adpcm_g722_decoder = { | |||||
.name = "g722", | .name = "g722", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_ADPCM_G722, | .id = CODEC_ID_ADPCM_G722, | ||||
@@ -568,7 +568,7 @@ static int g722_encode_frame(AVCodecContext *avctx, | |||||
return i; | return i; | ||||
} | } | ||||
AVCodec adpcm_g722_encoder = { | |||||
AVCodec ff_adpcm_g722_encoder = { | |||||
.name = "g722", | .name = "g722", | ||||
.type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
.id = CODEC_ID_ADPCM_G722, | .id = CODEC_ID_ADPCM_G722, | ||||
@@ -391,7 +391,7 @@ static int g726_decode_frame(AVCodecContext *avctx, | |||||
} | } | ||||
#if CONFIG_ADPCM_G726_ENCODER | #if CONFIG_ADPCM_G726_ENCODER | ||||
AVCodec adpcm_g726_encoder = { | |||||
AVCodec ff_adpcm_g726_encoder = { | |||||
"g726", | "g726", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_ADPCM_G726, | CODEC_ID_ADPCM_G726, | ||||
@@ -406,7 +406,7 @@ AVCodec adpcm_g726_encoder = { | |||||
}; | }; | ||||
#endif | #endif | ||||
AVCodec adpcm_g726_decoder = { | |||||
AVCodec ff_adpcm_g726_decoder = { | |||||
"g726", | "g726", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_ADPCM_G726, | CODEC_ID_ADPCM_G726, | ||||
@@ -312,7 +312,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, | |||||
return buf_size; | return buf_size; | ||||
} | } | ||||
AVCodec g729_decoder = | |||||
AVCodec ff_g729_decoder = | |||||
{ | { | ||||
"g729", | "g729", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
@@ -166,7 +166,7 @@ static int gif_encode_close(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec gif_encoder = { | |||||
AVCodec ff_gif_encoder = { | |||||
"gif", | "gif", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_GIF, | CODEC_ID_GIF, | ||||
@@ -325,7 +325,7 @@ static av_cold int gif_decode_close(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec gif_decoder = { | |||||
AVCodec ff_gif_decoder = { | |||||
"gif", | "gif", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_GIF, | CODEC_ID_GIF, | ||||
@@ -84,7 +84,7 @@ static int gsm_decode_frame(AVCodecContext *avctx, void *data, | |||||
return avctx->block_align; | return avctx->block_align; | ||||
} | } | ||||
AVCodec gsm_decoder = { | |||||
AVCodec ff_gsm_decoder = { | |||||
"gsm", | "gsm", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_GSM, | CODEC_ID_GSM, | ||||
@@ -96,7 +96,7 @@ AVCodec gsm_decoder = { | |||||
.long_name = NULL_IF_CONFIG_SMALL("GSM"), | .long_name = NULL_IF_CONFIG_SMALL("GSM"), | ||||
}; | }; | ||||
AVCodec gsm_ms_decoder = { | |||||
AVCodec ff_gsm_ms_decoder = { | |||||
"gsm_ms", | "gsm_ms", | ||||
AVMEDIA_TYPE_AUDIO, | AVMEDIA_TYPE_AUDIO, | ||||
CODEC_ID_GSM_MS, | CODEC_ID_GSM_MS, | ||||
@@ -81,7 +81,7 @@ static int h261_parse(AVCodecParserContext *s, | |||||
return next; | return next; | ||||
} | } | ||||
AVCodecParser h261_parser = { | |||||
AVCodecParser ff_h261_parser = { | |||||
{ CODEC_ID_H261 }, | { CODEC_ID_H261 }, | ||||
sizeof(ParseContext), | sizeof(ParseContext), | ||||
NULL, | NULL, | ||||
@@ -641,7 +641,7 @@ static av_cold int h261_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec h261_decoder = { | |||||
AVCodec ff_h261_decoder = { | |||||
"h261", | "h261", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_H261, | CODEC_ID_H261, | ||||
@@ -321,7 +321,7 @@ static void h261_encode_block(H261Context * h, DCTELEM * block, int n){ | |||||
} | } | ||||
} | } | ||||
AVCodec h261_encoder = { | |||||
AVCodec ff_h261_encoder = { | |||||
"h261", | "h261", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_H261, | CODEC_ID_H261, | ||||
@@ -83,7 +83,7 @@ static int h263_parse(AVCodecParserContext *s, | |||||
return next; | return next; | ||||
} | } | ||||
AVCodecParser h263_parser = { | |||||
AVCodecParser ff_h263_parser = { | |||||
{ CODEC_ID_H263 }, | { CODEC_ID_H263 }, | ||||
sizeof(ParseContext), | sizeof(ParseContext), | ||||
NULL, | NULL, | ||||
@@ -735,7 +735,7 @@ av_log(avctx, AV_LOG_DEBUG, "%"PRId64"\n", rdtsc()-time); | |||||
return get_consumed_bytes(s, buf_size); | return get_consumed_bytes(s, buf_size); | ||||
} | } | ||||
AVCodec h263_decoder = { | |||||
AVCodec ff_h263_decoder = { | |||||
"h263", | "h263", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_H263, | CODEC_ID_H263, | ||||
@@ -3360,7 +3360,7 @@ av_cold int ff_h264_decode_end(AVCodecContext *avctx) | |||||
} | } | ||||
AVCodec h264_decoder = { | |||||
AVCodec ff_h264_decoder = { | |||||
"h264", | "h264", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_H264, | CODEC_ID_H264, | ||||
@@ -3375,7 +3375,7 @@ AVCodec h264_decoder = { | |||||
}; | }; | ||||
#if CONFIG_H264_VDPAU_DECODER | #if CONFIG_H264_VDPAU_DECODER | ||||
AVCodec h264_vdpau_decoder = { | |||||
AVCodec ff_h264_vdpau_decoder = { | |||||
"h264_vdpau", | "h264_vdpau", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_H264, | CODEC_ID_H264, | ||||
@@ -169,7 +169,7 @@ fail: | |||||
return AVERROR(EINVAL); | return AVERROR(EINVAL); | ||||
} | } | ||||
AVBitStreamFilter h264_mp4toannexb_bsf = { | |||||
AVBitStreamFilter ff_h264_mp4toannexb_bsf = { | |||||
"h264_mp4toannexb", | "h264_mp4toannexb", | ||||
sizeof(H264BSFContext), | sizeof(H264BSFContext), | ||||
h264_mp4toannexb_filter, | h264_mp4toannexb_filter, | ||||
@@ -332,7 +332,7 @@ static int init(AVCodecParserContext *s) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodecParser h264_parser = { | |||||
AVCodecParser ff_h264_parser = { | |||||
{ CODEC_ID_H264 }, | { CODEC_ID_H264 }, | ||||
sizeof(H264Context), | sizeof(H264Context), | ||||
init, | init, | ||||
@@ -1416,7 +1416,7 @@ static av_cold int encode_end(AVCodecContext *avctx) | |||||
#endif /* CONFIG_HUFFYUV_ENCODER || CONFIG_FFVHUFF_ENCODER */ | #endif /* CONFIG_HUFFYUV_ENCODER || CONFIG_FFVHUFF_ENCODER */ | ||||
#if CONFIG_HUFFYUV_DECODER | #if CONFIG_HUFFYUV_DECODER | ||||
AVCodec huffyuv_decoder = { | |||||
AVCodec ff_huffyuv_decoder = { | |||||
"huffyuv", | "huffyuv", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_HUFFYUV, | CODEC_ID_HUFFYUV, | ||||
@@ -1432,7 +1432,7 @@ AVCodec huffyuv_decoder = { | |||||
#endif | #endif | ||||
#if CONFIG_FFVHUFF_DECODER | #if CONFIG_FFVHUFF_DECODER | ||||
AVCodec ffvhuff_decoder = { | |||||
AVCodec ff_ffvhuff_decoder = { | |||||
"ffvhuff", | "ffvhuff", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FFVHUFF, | CODEC_ID_FFVHUFF, | ||||
@@ -1448,7 +1448,7 @@ AVCodec ffvhuff_decoder = { | |||||
#endif | #endif | ||||
#if CONFIG_HUFFYUV_ENCODER | #if CONFIG_HUFFYUV_ENCODER | ||||
AVCodec huffyuv_encoder = { | |||||
AVCodec ff_huffyuv_encoder = { | |||||
"huffyuv", | "huffyuv", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_HUFFYUV, | CODEC_ID_HUFFYUV, | ||||
@@ -1462,7 +1462,7 @@ AVCodec huffyuv_encoder = { | |||||
#endif | #endif | ||||
#if CONFIG_FFVHUFF_ENCODER | #if CONFIG_FFVHUFF_ENCODER | ||||
AVCodec ffvhuff_encoder = { | |||||
AVCodec ff_ffvhuff_encoder = { | |||||
"ffvhuff", | "ffvhuff", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_FFVHUFF, | CODEC_ID_FFVHUFF, | ||||
@@ -253,7 +253,7 @@ static av_cold int idcin_decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec idcin_decoder = { | |||||
AVCodec ff_idcin_decoder = { | |||||
"idcinvideo", | "idcinvideo", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_IDCIN, | CODEC_ID_IDCIN, | ||||
@@ -367,7 +367,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
return 0; | return 0; | ||||
} | } | ||||
AVCodec iff_ilbm_decoder = { | |||||
AVCodec ff_iff_ilbm_decoder = { | |||||
"iff_ilbm", | "iff_ilbm", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_IFF_ILBM, | CODEC_ID_IFF_ILBM, | ||||
@@ -380,7 +380,7 @@ AVCodec iff_ilbm_decoder = { | |||||
.long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"), | .long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"), | ||||
}; | }; | ||||
AVCodec iff_byterun1_decoder = { | |||||
AVCodec ff_iff_byterun1_decoder = { | |||||
"iff_byterun1", | "iff_byterun1", | ||||
AVMEDIA_TYPE_VIDEO, | AVMEDIA_TYPE_VIDEO, | ||||
CODEC_ID_IFF_BYTERUN1, | CODEC_ID_IFF_BYTERUN1, | ||||