diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index ceec6442b41a8559869c6dff04bf16137f871faf..5bca3d156bf4f48e1765dc5fcbee6d847555468e 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -38,15 +38,15 @@ #define DECODER_BUFFER_SIZE MAX_PAGE_SIZE static const ogg_codec_t * const ogg_codecs[] = { - &speex_codec, - &vorbis_codec, - &theora_codec, - &flac_codec, - &old_flac_codec, - &ogm_video_codec, - &ogm_audio_codec, - &ogm_text_codec, - &ogm_old_codec, + &ff_speex_codec, + &ff_vorbis_codec, + &ff_theora_codec, + &ff_flac_codec, + &ff_old_flac_codec, + &ff_ogm_video_codec, + &ff_ogm_audio_codec, + &ff_ogm_text_codec, + &ff_ogm_old_codec, NULL }; diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index 1be3fc194372a49ba46c866dbc668523cb891f83..997acdd4be55777f54f8a7bf5c19b7333bf75588 100644 --- a/libavformat/oggdec.h +++ b/libavformat/oggdec.h @@ -75,15 +75,15 @@ typedef struct ogg { #define OGG_FLAG_BOS 2 #define OGG_FLAG_EOS 4 -extern const ogg_codec_t flac_codec; -extern const ogg_codec_t ogm_audio_codec; -extern const ogg_codec_t ogm_old_codec; -extern const ogg_codec_t ogm_text_codec; -extern const ogg_codec_t ogm_video_codec; -extern const ogg_codec_t old_flac_codec; -extern const ogg_codec_t speex_codec; -extern const ogg_codec_t theora_codec; -extern const ogg_codec_t vorbis_codec; +extern const ogg_codec_t ff_flac_codec; +extern const ogg_codec_t ff_ogm_audio_codec; +extern const ogg_codec_t ff_ogm_old_codec; +extern const ogg_codec_t ff_ogm_text_codec; +extern const ogg_codec_t ff_ogm_video_codec; +extern const ogg_codec_t ff_old_flac_codec; +extern const ogg_codec_t ff_speex_codec; +extern const ogg_codec_t ff_theora_codec; +extern const ogg_codec_t ff_vorbis_codec; extern int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size); diff --git a/libavformat/oggparseflac.c b/libavformat/oggparseflac.c index 7a0084e7fbeb17ea43da2c62bcfe9f5d342cbda2..28c6ce365f6cea9d9b36b124b549f819764b8692 100644 --- a/libavformat/oggparseflac.c +++ b/libavformat/oggparseflac.c @@ -85,13 +85,13 @@ old_flac_header (AVFormatContext * s, int idx) return 0; } -const ogg_codec_t flac_codec = { +const ogg_codec_t ff_flac_codec = { .magic = "\177FLAC", .magicsize = 5, .header = flac_header }; -const ogg_codec_t old_flac_codec = { +const ogg_codec_t ff_old_flac_codec = { .magic = "fLaC", .magicsize = 4, .header = old_flac_header diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c index 72a3aed98f9d2dbc745daf5023a9acb2f992cc88..6a80dc307a06a78d3e9887d3ff785bfe4250d0ca 100644 --- a/libavformat/oggparseogm.c +++ b/libavformat/oggparseogm.c @@ -149,28 +149,28 @@ ogm_packet(AVFormatContext *s, int idx) return 0; } -const ogg_codec_t ogm_video_codec = { +const ogg_codec_t ff_ogm_video_codec = { .magic = "\001video", .magicsize = 6, .header = ogm_header, .packet = ogm_packet }; -const ogg_codec_t ogm_audio_codec = { +const ogg_codec_t ff_ogm_audio_codec = { .magic = "\001audio", .magicsize = 6, .header = ogm_header, .packet = ogm_packet }; -const ogg_codec_t ogm_text_codec = { +const ogg_codec_t ff_ogm_text_codec = { .magic = "\001text", .magicsize = 5, .header = ogm_header, .packet = ogm_packet }; -const ogg_codec_t ogm_old_codec = { +const ogg_codec_t ff_ogm_old_codec = { .magic = "\001Direct Show Samples embedded in Ogg", .magicsize = 35, .header = ogm_dshow_header, diff --git a/libavformat/oggparsespeex.c b/libavformat/oggparsespeex.c index 1612f2e632c7ac08ff33656ab6d12317239fb8df..c78379911f95539aff0dd9109a2de7adc897be64 100644 --- a/libavformat/oggparsespeex.c +++ b/libavformat/oggparsespeex.c @@ -54,7 +54,7 @@ static int speex_header(AVFormatContext *s, int idx) { return 0; } -const ogg_codec_t speex_codec = { +const ogg_codec_t ff_speex_codec = { .magic = "Speex ", .magicsize = 8, .header = speex_header diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c index d1a4fdf9984e622ab51ef1c6ff8dce9522ab930c..5920e1cdcfccd7b558e8b01913f641f4bc781536 100644 --- a/libavformat/oggparsetheora.c +++ b/libavformat/oggparsetheora.c @@ -130,7 +130,7 @@ theora_gptopts(AVFormatContext *ctx, int idx, uint64_t gp) return iframe + pframe; } -const ogg_codec_t theora_codec = { +const ogg_codec_t ff_theora_codec = { .magic = "\200theora", .magicsize = 7, .header = theora_header, diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c index a773847f826efc171dd2aa9c106c49d765599435..5c42475412f3be93baabdb54df216380c8f0e226 100644 --- a/libavformat/oggparsevorbis.c +++ b/libavformat/oggparsevorbis.c @@ -219,7 +219,7 @@ vorbis_header (AVFormatContext * s, int idx) return os->seq < 3; } -const ogg_codec_t vorbis_codec = { +const ogg_codec_t ff_vorbis_codec = { .magic = "\001vorbis", .magicsize = 7, .header = vorbis_header