Originally committed as revision 14951 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -38,15 +38,15 @@ |
| 38 | 38 |
#define DECODER_BUFFER_SIZE MAX_PAGE_SIZE |
| 39 | 39 |
|
| 40 | 40 |
static const ogg_codec_t * const ogg_codecs[] = {
|
| 41 |
- &speex_codec, |
|
| 42 |
- &vorbis_codec, |
|
| 43 |
- &theora_codec, |
|
| 44 |
- &flac_codec, |
|
| 45 |
- &old_flac_codec, |
|
| 46 |
- &ogm_video_codec, |
|
| 47 |
- &ogm_audio_codec, |
|
| 48 |
- &ogm_text_codec, |
|
| 49 |
- &ogm_old_codec, |
|
| 41 |
+ &ff_speex_codec, |
|
| 42 |
+ &ff_vorbis_codec, |
|
| 43 |
+ &ff_theora_codec, |
|
| 44 |
+ &ff_flac_codec, |
|
| 45 |
+ &ff_old_flac_codec, |
|
| 46 |
+ &ff_ogm_video_codec, |
|
| 47 |
+ &ff_ogm_audio_codec, |
|
| 48 |
+ &ff_ogm_text_codec, |
|
| 49 |
+ &ff_ogm_old_codec, |
|
| 50 | 50 |
NULL |
| 51 | 51 |
}; |
| 52 | 52 |
|
| ... | ... |
@@ -75,15 +75,15 @@ typedef struct ogg {
|
| 75 | 75 |
#define OGG_FLAG_BOS 2 |
| 76 | 76 |
#define OGG_FLAG_EOS 4 |
| 77 | 77 |
|
| 78 |
-extern const ogg_codec_t flac_codec; |
|
| 79 |
-extern const ogg_codec_t ogm_audio_codec; |
|
| 80 |
-extern const ogg_codec_t ogm_old_codec; |
|
| 81 |
-extern const ogg_codec_t ogm_text_codec; |
|
| 82 |
-extern const ogg_codec_t ogm_video_codec; |
|
| 83 |
-extern const ogg_codec_t old_flac_codec; |
|
| 84 |
-extern const ogg_codec_t speex_codec; |
|
| 85 |
-extern const ogg_codec_t theora_codec; |
|
| 86 |
-extern const ogg_codec_t vorbis_codec; |
|
| 78 |
+extern const ogg_codec_t ff_flac_codec; |
|
| 79 |
+extern const ogg_codec_t ff_ogm_audio_codec; |
|
| 80 |
+extern const ogg_codec_t ff_ogm_old_codec; |
|
| 81 |
+extern const ogg_codec_t ff_ogm_text_codec; |
|
| 82 |
+extern const ogg_codec_t ff_ogm_video_codec; |
|
| 83 |
+extern const ogg_codec_t ff_old_flac_codec; |
|
| 84 |
+extern const ogg_codec_t ff_speex_codec; |
|
| 85 |
+extern const ogg_codec_t ff_theora_codec; |
|
| 86 |
+extern const ogg_codec_t ff_vorbis_codec; |
|
| 87 | 87 |
|
| 88 | 88 |
extern int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size); |
| 89 | 89 |
|
| ... | ... |
@@ -85,13 +85,13 @@ old_flac_header (AVFormatContext * s, int idx) |
| 85 | 85 |
return 0; |
| 86 | 86 |
} |
| 87 | 87 |
|
| 88 |
-const ogg_codec_t flac_codec = {
|
|
| 88 |
+const ogg_codec_t ff_flac_codec = {
|
|
| 89 | 89 |
.magic = "\177FLAC", |
| 90 | 90 |
.magicsize = 5, |
| 91 | 91 |
.header = flac_header |
| 92 | 92 |
}; |
| 93 | 93 |
|
| 94 |
-const ogg_codec_t old_flac_codec = {
|
|
| 94 |
+const ogg_codec_t ff_old_flac_codec = {
|
|
| 95 | 95 |
.magic = "fLaC", |
| 96 | 96 |
.magicsize = 4, |
| 97 | 97 |
.header = old_flac_header |
| ... | ... |
@@ -149,28 +149,28 @@ ogm_packet(AVFormatContext *s, int idx) |
| 149 | 149 |
return 0; |
| 150 | 150 |
} |
| 151 | 151 |
|
| 152 |
-const ogg_codec_t ogm_video_codec = {
|
|
| 152 |
+const ogg_codec_t ff_ogm_video_codec = {
|
|
| 153 | 153 |
.magic = "\001video", |
| 154 | 154 |
.magicsize = 6, |
| 155 | 155 |
.header = ogm_header, |
| 156 | 156 |
.packet = ogm_packet |
| 157 | 157 |
}; |
| 158 | 158 |
|
| 159 |
-const ogg_codec_t ogm_audio_codec = {
|
|
| 159 |
+const ogg_codec_t ff_ogm_audio_codec = {
|
|
| 160 | 160 |
.magic = "\001audio", |
| 161 | 161 |
.magicsize = 6, |
| 162 | 162 |
.header = ogm_header, |
| 163 | 163 |
.packet = ogm_packet |
| 164 | 164 |
}; |
| 165 | 165 |
|
| 166 |
-const ogg_codec_t ogm_text_codec = {
|
|
| 166 |
+const ogg_codec_t ff_ogm_text_codec = {
|
|
| 167 | 167 |
.magic = "\001text", |
| 168 | 168 |
.magicsize = 5, |
| 169 | 169 |
.header = ogm_header, |
| 170 | 170 |
.packet = ogm_packet |
| 171 | 171 |
}; |
| 172 | 172 |
|
| 173 |
-const ogg_codec_t ogm_old_codec = {
|
|
| 173 |
+const ogg_codec_t ff_ogm_old_codec = {
|
|
| 174 | 174 |
.magic = "\001Direct Show Samples embedded in Ogg", |
| 175 | 175 |
.magicsize = 35, |
| 176 | 176 |
.header = ogm_dshow_header, |
| ... | ... |
@@ -130,7 +130,7 @@ theora_gptopts(AVFormatContext *ctx, int idx, uint64_t gp) |
| 130 | 130 |
return iframe + pframe; |
| 131 | 131 |
} |
| 132 | 132 |
|
| 133 |
-const ogg_codec_t theora_codec = {
|
|
| 133 |
+const ogg_codec_t ff_theora_codec = {
|
|
| 134 | 134 |
.magic = "\200theora", |
| 135 | 135 |
.magicsize = 7, |
| 136 | 136 |
.header = theora_header, |