This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
... | ... |
@@ -23,11 +23,11 @@ |
23 | 23 |
#include "avdevice.h" |
24 | 24 |
|
25 | 25 |
#define REGISTER_OUTDEV(X,x) { \ |
26 |
- extern AVOutputFormat x##_muxer; \ |
|
27 |
- if(CONFIG_##X##_OUTDEV) av_register_output_format(&x##_muxer); } |
|
26 |
+ extern AVOutputFormat ff_##x##_muxer; \ |
|
27 |
+ if(CONFIG_##X##_OUTDEV) av_register_output_format(&ff_##x##_muxer); } |
|
28 | 28 |
#define REGISTER_INDEV(X,x) { \ |
29 |
- extern AVInputFormat x##_demuxer; \ |
|
30 |
- if(CONFIG_##X##_INDEV) av_register_input_format(&x##_demuxer); } |
|
29 |
+ extern AVInputFormat ff_##x##_demuxer; \ |
|
30 |
+ if(CONFIG_##X##_INDEV) av_register_input_format(&ff_##x##_demuxer); } |
|
31 | 31 |
#define REGISTER_INOUTDEV(X,x) REGISTER_OUTDEV(X,x); REGISTER_INDEV(X,x) |
32 | 32 |
|
33 | 33 |
void avdevice_register_all(void) |
... | ... |
@@ -227,7 +227,7 @@ static int dv1394_close(AVFormatContext * context) |
227 | 227 |
return 0; |
228 | 228 |
} |
229 | 229 |
|
230 |
-AVInputFormat dv1394_demuxer = { |
|
230 |
+AVInputFormat ff_dv1394_demuxer = { |
|
231 | 231 |
.name = "dv1394", |
232 | 232 |
.long_name = NULL_IF_CONFIG_SMALL("DV1394 A/V grab"), |
233 | 233 |
.priv_data_size = sizeof(struct dv1394_data), |
... | ... |
@@ -348,7 +348,7 @@ static int dc1394_v2_close(AVFormatContext * context) |
348 | 348 |
return 0; |
349 | 349 |
} |
350 | 350 |
|
351 |
-AVInputFormat libdc1394_demuxer = { |
|
351 |
+AVInputFormat ff_libdc1394_demuxer = { |
|
352 | 352 |
.name = "libdc1394", |
353 | 353 |
.long_name = NULL_IF_CONFIG_SMALL("dc1394 v.2 A/V grab"), |
354 | 354 |
.priv_data_size = sizeof(struct dc1394_data), |
... | ... |
@@ -360,7 +360,7 @@ AVInputFormat libdc1394_demuxer = { |
360 | 360 |
|
361 | 361 |
#endif |
362 | 362 |
#if HAVE_LIBDC1394_1 |
363 |
-AVInputFormat libdc1394_demuxer = { |
|
363 |
+AVInputFormat ff_libdc1394_demuxer = { |
|
364 | 364 |
.name = "libdc1394", |
365 | 365 |
.long_name = NULL_IF_CONFIG_SMALL("dc1394 v.1 A/V grab"), |
366 | 366 |
.priv_data_size = sizeof(struct dc1394_data), |
... | ... |
@@ -293,7 +293,7 @@ static int audio_read_close(AVFormatContext *s1) |
293 | 293 |
} |
294 | 294 |
|
295 | 295 |
#if CONFIG_OSS_INDEV |
296 |
-AVInputFormat oss_demuxer = { |
|
296 |
+AVInputFormat ff_oss_demuxer = { |
|
297 | 297 |
"oss", |
298 | 298 |
NULL_IF_CONFIG_SMALL("Open Sound System capture"), |
299 | 299 |
sizeof(AudioData), |
... | ... |
@@ -306,7 +306,7 @@ AVInputFormat oss_demuxer = { |
306 | 306 |
#endif |
307 | 307 |
|
308 | 308 |
#if CONFIG_OSS_OUTDEV |
309 |
-AVOutputFormat oss_muxer = { |
|
309 |
+AVOutputFormat ff_oss_muxer = { |
|
310 | 310 |
"oss", |
311 | 311 |
NULL_IF_CONFIG_SMALL("Open Sound System playback"), |
312 | 312 |
"", |
... | ... |
@@ -680,7 +680,7 @@ static int v4l2_read_close(AVFormatContext *s1) |
680 | 680 |
return 0; |
681 | 681 |
} |
682 | 682 |
|
683 |
-AVInputFormat v4l2_demuxer = { |
|
683 |
+AVInputFormat ff_v4l2_demuxer = { |
|
684 | 684 |
"video4linux2", |
685 | 685 |
NULL_IF_CONFIG_SMALL("Video4Linux2 device grab"), |
686 | 686 |
sizeof(struct video_data), |
... | ... |
@@ -452,7 +452,7 @@ static int vfw_read_packet(AVFormatContext *s, AVPacket *pkt) |
452 | 452 |
return pkt->size; |
453 | 453 |
} |
454 | 454 |
|
455 |
-AVInputFormat vfwcap_demuxer = { |
|
455 |
+AVInputFormat ff_vfwcap_demuxer = { |
|
456 | 456 |
"vfwcap", |
457 | 457 |
NULL_IF_CONFIG_SMALL("VFW video capture"), |
458 | 458 |
sizeof(struct vfw_ctx), |
... | ... |
@@ -442,7 +442,7 @@ x11grab_read_close(AVFormatContext *s1) |
442 | 442 |
} |
443 | 443 |
|
444 | 444 |
/** x11 grabber device demuxer declaration */ |
445 |
-AVInputFormat x11_grab_device_demuxer = |
|
445 |
+AVInputFormat ff_x11_grab_device_demuxer = |
|
446 | 446 |
{ |
447 | 447 |
"x11grab", |
448 | 448 |
NULL_IF_CONFIG_SMALL("X11grab"), |
... | ... |
@@ -164,7 +164,7 @@ static int a64_write_trailer(struct AVFormatContext *s) |
164 | 164 |
return 0; |
165 | 165 |
} |
166 | 166 |
|
167 |
-AVOutputFormat a64_muxer = { |
|
167 |
+AVOutputFormat ff_a64_muxer = { |
|
168 | 168 |
.name = "a64", |
169 | 169 |
.long_name = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"), |
170 | 170 |
.mime_type = NULL, |
... | ... |
@@ -70,7 +70,7 @@ static int ac3_probe(AVProbeData *p) |
70 | 70 |
return ac3_eac3_probe(p, CODEC_ID_AC3); |
71 | 71 |
} |
72 | 72 |
|
73 |
-AVInputFormat ac3_demuxer = { |
|
73 |
+AVInputFormat ff_ac3_demuxer = { |
|
74 | 74 |
"ac3", |
75 | 75 |
NULL_IF_CONFIG_SMALL("raw AC-3"), |
76 | 76 |
0, |
... | ... |
@@ -89,7 +89,7 @@ static int eac3_probe(AVProbeData *p) |
89 | 89 |
return ac3_eac3_probe(p, CODEC_ID_EAC3); |
90 | 90 |
} |
91 | 91 |
|
92 |
-AVInputFormat eac3_demuxer = { |
|
92 |
+AVInputFormat ff_eac3_demuxer = { |
|
93 | 93 |
"eac3", |
94 | 94 |
NULL_IF_CONFIG_SMALL("raw E-AC-3"), |
95 | 95 |
0, |
... | ... |
@@ -23,18 +23,18 @@ |
23 | 23 |
#include "rdt.h" |
24 | 24 |
|
25 | 25 |
#define REGISTER_MUXER(X,x) { \ |
26 |
- extern AVOutputFormat x##_muxer; \ |
|
27 |
- if(CONFIG_##X##_MUXER) av_register_output_format(&x##_muxer); } |
|
26 |
+ extern AVOutputFormat ff_##x##_muxer; \ |
|
27 |
+ if(CONFIG_##X##_MUXER) av_register_output_format(&ff_##x##_muxer); } |
|
28 | 28 |
|
29 | 29 |
#define REGISTER_DEMUXER(X,x) { \ |
30 |
- extern AVInputFormat x##_demuxer; \ |
|
31 |
- if(CONFIG_##X##_DEMUXER) av_register_input_format(&x##_demuxer); } |
|
30 |
+ extern AVInputFormat ff_##x##_demuxer; \ |
|
31 |
+ if(CONFIG_##X##_DEMUXER) av_register_input_format(&ff_##x##_demuxer); } |
|
32 | 32 |
|
33 | 33 |
#define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x) |
34 | 34 |
|
35 | 35 |
#define REGISTER_PROTOCOL(X,x) { \ |
36 |
- extern URLProtocol x##_protocol; \ |
|
37 |
- if(CONFIG_##X##_PROTOCOL) av_register_protocol2(&x##_protocol, sizeof(x##_protocol)); } |
|
36 |
+ extern URLProtocol ff_##x##_protocol; \ |
|
37 |
+ if(CONFIG_##X##_PROTOCOL) av_register_protocol2(&ff_##x##_protocol, sizeof(ff_##x##_protocol)); } |
|
38 | 38 |
|
39 | 39 |
void av_register_all(void) |
40 | 40 |
{ |
... | ... |
@@ -169,7 +169,7 @@ static int amr_read_packet(AVFormatContext *s, |
169 | 169 |
} |
170 | 170 |
|
171 | 171 |
#if CONFIG_AMR_DEMUXER |
172 |
-AVInputFormat amr_demuxer = { |
|
172 |
+AVInputFormat ff_amr_demuxer = { |
|
173 | 173 |
"amr", |
174 | 174 |
NULL_IF_CONFIG_SMALL("3GPP AMR file format"), |
175 | 175 |
0, /*priv_data_size*/ |
... | ... |
@@ -181,7 +181,7 @@ AVInputFormat amr_demuxer = { |
181 | 181 |
#endif |
182 | 182 |
|
183 | 183 |
#if CONFIG_AMR_MUXER |
184 |
-AVOutputFormat amr_muxer = { |
|
184 |
+AVOutputFormat ff_amr_muxer = { |
|
185 | 185 |
"amr", |
186 | 186 |
NULL_IF_CONFIG_SMALL("3GPP AMR file format"), |
187 | 187 |
"audio/amr", |
... | ... |
@@ -391,7 +391,7 @@ static int ape_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp |
391 | 391 |
return 0; |
392 | 392 |
} |
393 | 393 |
|
394 |
-AVInputFormat ape_demuxer = { |
|
394 |
+AVInputFormat ff_ape_demuxer = { |
|
395 | 395 |
"ape", |
396 | 396 |
NULL_IF_CONFIG_SMALL("Monkey's Audio"), |
397 | 397 |
sizeof(APEContext), |
... | ... |
@@ -579,7 +579,7 @@ static int applehttp_probe(AVProbeData *p) |
579 | 579 |
return 0; |
580 | 580 |
} |
581 | 581 |
|
582 |
-AVInputFormat applehttp_demuxer = { |
|
582 |
+AVInputFormat ff_applehttp_demuxer = { |
|
583 | 583 |
"applehttp", |
584 | 584 |
NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming format"), |
585 | 585 |
sizeof(AppleHTTPContext), |
... | ... |
@@ -229,7 +229,7 @@ extern const AVMetadataConv ff_asf_metadata_conv[]; |
229 | 229 |
|
230 | 230 |
#define ASF_PL_FLAG_KEY_FRAME 0x80 //1000 0000 |
231 | 231 |
|
232 |
-extern AVInputFormat asf_demuxer; |
|
232 |
+extern AVInputFormat ff_asf_demuxer; |
|
233 | 233 |
int ff_guidcmp(const void *g1, const void *g2); |
234 | 234 |
void ff_get_guid(ByteIOContext *s, ff_asf_guid *g); |
235 | 235 |
|
... | ... |
@@ -1203,7 +1203,7 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int |
1203 | 1203 |
return 0; |
1204 | 1204 |
} |
1205 | 1205 |
|
1206 |
-AVInputFormat asf_demuxer = { |
|
1206 |
+AVInputFormat ff_asf_demuxer = { |
|
1207 | 1207 |
"asf", |
1208 | 1208 |
NULL_IF_CONFIG_SMALL("ASF format"), |
1209 | 1209 |
sizeof(ASFContext), |
... | ... |
@@ -855,7 +855,7 @@ static int asf_write_trailer(AVFormatContext *s) |
855 | 855 |
} |
856 | 856 |
|
857 | 857 |
#if CONFIG_ASF_MUXER |
858 |
-AVOutputFormat asf_muxer = { |
|
858 |
+AVOutputFormat ff_asf_muxer = { |
|
859 | 859 |
"asf", |
860 | 860 |
NULL_IF_CONFIG_SMALL("ASF format"), |
861 | 861 |
"video/x-ms-asf", |
... | ... |
@@ -876,7 +876,7 @@ AVOutputFormat asf_muxer = { |
876 | 876 |
#endif |
877 | 877 |
|
878 | 878 |
#if CONFIG_ASF_STREAM_MUXER |
879 |
-AVOutputFormat asf_stream_muxer = { |
|
879 |
+AVOutputFormat ff_asf_stream_muxer = { |
|
880 | 880 |
"asf_stream", |
881 | 881 |
NULL_IF_CONFIG_SMALL("ASF format"), |
882 | 882 |
"video/x-ms-asf", |
... | ... |
@@ -202,7 +202,7 @@ static int read_seek2(AVFormatContext *s, int stream_index, |
202 | 202 |
return 0; |
203 | 203 |
} |
204 | 204 |
|
205 |
-AVInputFormat ass_demuxer = { |
|
205 |
+AVInputFormat ff_ass_demuxer = { |
|
206 | 206 |
.name = "ass", |
207 | 207 |
.long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle format"), |
208 | 208 |
.priv_data_size = sizeof(ASSContext), |
... | ... |
@@ -77,7 +77,7 @@ static int write_trailer(AVFormatContext *s) |
77 | 77 |
return 0; |
78 | 78 |
} |
79 | 79 |
|
80 |
-AVOutputFormat ass_muxer = { |
|
80 |
+AVOutputFormat ff_ass_muxer = { |
|
81 | 81 |
.name = "ass", |
82 | 82 |
.long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle format"), |
83 | 83 |
.mime_type = "text/x-ssa", |
... | ... |
@@ -183,7 +183,7 @@ static int au_read_packet(AVFormatContext *s, |
183 | 183 |
} |
184 | 184 |
|
185 | 185 |
#if CONFIG_AU_DEMUXER |
186 |
-AVInputFormat au_demuxer = { |
|
186 |
+AVInputFormat ff_au_demuxer = { |
|
187 | 187 |
"au", |
188 | 188 |
NULL_IF_CONFIG_SMALL("SUN AU format"), |
189 | 189 |
0, |
... | ... |
@@ -197,7 +197,7 @@ AVInputFormat au_demuxer = { |
197 | 197 |
#endif |
198 | 198 |
|
199 | 199 |
#if CONFIG_AU_MUXER |
200 |
-AVOutputFormat au_muxer = { |
|
200 |
+AVOutputFormat ff_au_muxer = { |
|
201 | 201 |
"au", |
202 | 202 |
NULL_IF_CONFIG_SMALL("SUN AU format"), |
203 | 203 |
"audio/basic", |
... | ... |
@@ -207,7 +207,7 @@ static int avisynth_read_seek(AVFormatContext *s, int stream_index, int64_t pts, |
207 | 207 |
return 0; |
208 | 208 |
} |
209 | 209 |
|
210 |
-AVInputFormat avisynth_demuxer = { |
|
210 |
+AVInputFormat ff_avisynth_demuxer = { |
|
211 | 211 |
"avs", |
212 | 212 |
NULL_IF_CONFIG_SMALL("AVISynth"), |
213 | 213 |
sizeof(AVISynthContext), |
... | ... |
@@ -224,7 +224,7 @@ static int vid_read_packet(AVFormatContext *s, |
224 | 224 |
return 0; |
225 | 225 |
} |
226 | 226 |
|
227 |
-AVInputFormat bethsoftvid_demuxer = { |
|
227 |
+AVInputFormat ff_bethsoftvid_demuxer = { |
|
228 | 228 |
"bethsoftvid", |
229 | 229 |
NULL_IF_CONFIG_SMALL("Bethesda Softworks VID format"), |
230 | 230 |
sizeof(BVID_DemuxContext), |
... | ... |
@@ -158,7 +158,7 @@ static int bfi_read_packet(AVFormatContext * s, AVPacket * pkt) |
158 | 158 |
return ret; |
159 | 159 |
} |
160 | 160 |
|
161 |
-AVInputFormat bfi_demuxer = { |
|
161 |
+AVInputFormat ff_bfi_demuxer = { |
|
162 | 162 |
"bfi", |
163 | 163 |
NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"), |
164 | 164 |
sizeof(BFIContext), |
... | ... |
@@ -257,7 +257,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in |
257 | 257 |
return 0; |
258 | 258 |
} |
259 | 259 |
|
260 |
-AVInputFormat bink_demuxer = { |
|
260 |
+AVInputFormat ff_bink_demuxer = { |
|
261 | 261 |
"bink", |
262 | 262 |
NULL_IF_CONFIG_SMALL("Bink"), |
263 | 263 |
sizeof(BinkDemuxContext), |
... | ... |
@@ -65,7 +65,7 @@ static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt) |
65 | 65 |
} |
66 | 66 |
|
67 | 67 |
#if CONFIG_DAUD_DEMUXER |
68 |
-AVInputFormat daud_demuxer = { |
|
68 |
+AVInputFormat ff_daud_demuxer = { |
|
69 | 69 |
"daud", |
70 | 70 |
NULL_IF_CONFIG_SMALL("D-Cinema audio format"), |
71 | 71 |
0, |
... | ... |
@@ -79,7 +79,7 @@ AVInputFormat daud_demuxer = { |
79 | 79 |
#endif |
80 | 80 |
|
81 | 81 |
#if CONFIG_DAUD_MUXER |
82 |
-AVOutputFormat daud_muxer = |
|
82 |
+AVOutputFormat ff_daud_muxer = |
|
83 | 83 |
{ |
84 | 84 |
"daud", |
85 | 85 |
NULL_IF_CONFIG_SMALL("D-Cinema audio format"), |
... | ... |
@@ -216,7 +216,7 @@ static int cin_read_packet(AVFormatContext *s, AVPacket *pkt) |
216 | 216 |
return 0; |
217 | 217 |
} |
218 | 218 |
|
219 |
-AVInputFormat dsicin_demuxer = { |
|
219 |
+AVInputFormat ff_dsicin_demuxer = { |
|
220 | 220 |
"dsicin", |
221 | 221 |
NULL_IF_CONFIG_SMALL("Delphine Software International CIN format"), |
222 | 222 |
sizeof(CinDemuxContext), |
... | ... |
@@ -90,7 +90,7 @@ static int cdata_read_packet(AVFormatContext *s, AVPacket *pkt) |
90 | 90 |
return 0; |
91 | 91 |
} |
92 | 92 |
|
93 |
-AVInputFormat ea_cdata_demuxer = { |
|
93 |
+AVInputFormat ff_ea_cdata_demuxer = { |
|
94 | 94 |
"ea_cdata", |
95 | 95 |
NULL_IF_CONFIG_SMALL("Electronic Arts cdata"), |
96 | 96 |
sizeof(CdataDemuxContext), |
... | ... |
@@ -163,7 +163,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) |
163 | 163 |
return AVERROR_EOF; |
164 | 164 |
} |
165 | 165 |
|
166 |
-AVInputFormat ffmetadata_demuxer = { |
|
166 |
+AVInputFormat ff_ffmetadata_demuxer = { |
|
167 | 167 |
.name = "ffmetadata", |
168 | 168 |
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text format"), |
169 | 169 |
.read_probe = probe, |
... | ... |
@@ -89,7 +89,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) |
89 | 89 |
return 0; |
90 | 90 |
} |
91 | 91 |
|
92 |
-AVOutputFormat ffmetadata_muxer = { |
|
92 |
+AVOutputFormat ff_ffmetadata_muxer = { |
|
93 | 93 |
.name = "ffmetadata", |
94 | 94 |
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text format"), |
95 | 95 |
.extensions = "ffmeta", |
... | ... |
@@ -94,7 +94,7 @@ static int file_close(URLContext *h) |
94 | 94 |
return close(fd); |
95 | 95 |
} |
96 | 96 |
|
97 |
-URLProtocol file_protocol = { |
|
97 |
+URLProtocol ff_file_protocol = { |
|
98 | 98 |
"file", |
99 | 99 |
file_open, |
100 | 100 |
file_read, |
... | ... |
@@ -130,7 +130,7 @@ static int pipe_open(URLContext *h, const char *filename, int flags) |
130 | 130 |
return 0; |
131 | 131 |
} |
132 | 132 |
|
133 |
-URLProtocol pipe_protocol = { |
|
133 |
+URLProtocol ff_pipe_protocol = { |
|
134 | 134 |
"pipe", |
135 | 135 |
pipe_open, |
136 | 136 |
file_read, |
... | ... |
@@ -98,7 +98,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in |
98 | 98 |
return 0; |
99 | 99 |
} |
100 | 100 |
|
101 |
-AVInputFormat filmstrip_demuxer = { |
|
101 |
+AVInputFormat ff_filmstrip_demuxer = { |
|
102 | 102 |
"filmstrip", |
103 | 103 |
NULL_IF_CONFIG_SMALL("Adobe Filmstrip"), |
104 | 104 |
sizeof(FilmstripDemuxContext), |
... | ... |
@@ -259,7 +259,7 @@ static int flic_read_packet(AVFormatContext *s, |
259 | 259 |
return ret; |
260 | 260 |
} |
261 | 261 |
|
262 |
-AVInputFormat flic_demuxer = { |
|
262 |
+AVInputFormat ff_flic_demuxer = { |
|
263 | 263 |
"flic", |
264 | 264 |
NULL_IF_CONFIG_SMALL("FLI/FLC/FLX animation format"), |
265 | 265 |
sizeof(FlicDemuxContext), |
... | ... |
@@ -927,7 +927,7 @@ static int gxf_interleave_packet(AVFormatContext *s, AVPacket *out, AVPacket *pk |
927 | 927 |
av_interleave_packet_per_dts, gxf_compare_field_nb); |
928 | 928 |
} |
929 | 929 |
|
930 |
-AVOutputFormat gxf_muxer = { |
|
930 |
+AVOutputFormat ff_gxf_muxer = { |
|
931 | 931 |
"gxf", |
932 | 932 |
NULL_IF_CONFIG_SMALL("GXF format"), |
933 | 933 |
NULL, |
... | ... |
@@ -412,7 +412,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) |
412 | 412 |
|
413 | 413 |
/* input */ |
414 | 414 |
#if CONFIG_IMAGE2_DEMUXER |
415 |
-AVInputFormat image2_demuxer = { |
|
415 |
+AVInputFormat ff_image2_demuxer = { |
|
416 | 416 |
.name = "image2", |
417 | 417 |
.long_name = NULL_IF_CONFIG_SMALL("image2 sequence"), |
418 | 418 |
.priv_data_size = sizeof(VideoData), |
... | ... |
@@ -423,7 +423,7 @@ AVInputFormat image2_demuxer = { |
423 | 423 |
}; |
424 | 424 |
#endif |
425 | 425 |
#if CONFIG_IMAGE2PIPE_DEMUXER |
426 |
-AVInputFormat image2pipe_demuxer = { |
|
426 |
+AVInputFormat ff_image2pipe_demuxer = { |
|
427 | 427 |
.name = "image2pipe", |
428 | 428 |
.long_name = NULL_IF_CONFIG_SMALL("piped image2 sequence"), |
429 | 429 |
.priv_data_size = sizeof(VideoData), |
... | ... |
@@ -434,7 +434,7 @@ AVInputFormat image2pipe_demuxer = { |
434 | 434 |
|
435 | 435 |
/* output */ |
436 | 436 |
#if CONFIG_IMAGE2_MUXER |
437 |
-AVOutputFormat image2_muxer = { |
|
437 |
+AVOutputFormat ff_image2_muxer = { |
|
438 | 438 |
.name = "image2", |
439 | 439 |
.long_name = NULL_IF_CONFIG_SMALL("image2 sequence"), |
440 | 440 |
.extensions = "bmp,jpeg,jpg,ljpg,pam,pbm,pcx,pgm,pgmyuv,png," |
... | ... |
@@ -447,7 +447,7 @@ AVOutputFormat image2_muxer = { |
447 | 447 |
}; |
448 | 448 |
#endif |
449 | 449 |
#if CONFIG_IMAGE2PIPE_MUXER |
450 |
-AVOutputFormat image2pipe_muxer = { |
|
450 |
+AVOutputFormat ff_image2pipe_muxer = { |
|
451 | 451 |
.name = "image2pipe", |
452 | 452 |
.long_name = NULL_IF_CONFIG_SMALL("piped image2 sequence"), |
453 | 453 |
.priv_data_size = sizeof(VideoData), |
... | ... |
@@ -620,7 +620,7 @@ static int ipmovie_read_packet(AVFormatContext *s, |
620 | 620 |
return ret; |
621 | 621 |
} |
622 | 622 |
|
623 |
-AVInputFormat ipmovie_demuxer = { |
|
623 |
+AVInputFormat ff_ipmovie_demuxer = { |
|
624 | 624 |
"ipmovie", |
625 | 625 |
NULL_IF_CONFIG_SMALL("Interplay MVE format"), |
626 | 626 |
sizeof(IPMVEContext), |
... | ... |
@@ -150,7 +150,7 @@ static int nut_write_trailer(AVFormatContext * avf) { |
150 | 150 |
return 0; |
151 | 151 |
} |
152 | 152 |
|
153 |
-AVOutputFormat libnut_muxer = { |
|
153 |
+AVOutputFormat ff_libnut_muxer = { |
|
154 | 154 |
"libnut", |
155 | 155 |
"nut format", |
156 | 156 |
"video/x-nut", |
... | ... |
@@ -297,7 +297,7 @@ static int nut_read_close(AVFormatContext *s) { |
297 | 297 |
return 0; |
298 | 298 |
} |
299 | 299 |
|
300 |
-AVInputFormat libnut_demuxer = { |
|
300 |
+AVInputFormat ff_libnut_demuxer = { |
|
301 | 301 |
"libnut", |
302 | 302 |
NULL_IF_CONFIG_SMALL("NUT format"), |
303 | 303 |
sizeof(NUTContext), |
... | ... |
@@ -157,7 +157,7 @@ static int rtmp_get_file_handle(URLContext *s) |
157 | 157 |
return RTMP_Socket(r); |
158 | 158 |
} |
159 | 159 |
|
160 |
-URLProtocol rtmp_protocol = { |
|
160 |
+URLProtocol ff_rtmp_protocol = { |
|
161 | 161 |
"rtmp", |
162 | 162 |
rtmp_open, |
163 | 163 |
rtmp_read, |
... | ... |
@@ -170,7 +170,7 @@ URLProtocol rtmp_protocol = { |
170 | 170 |
rtmp_get_file_handle |
171 | 171 |
}; |
172 | 172 |
|
173 |
-URLProtocol rtmpt_protocol = { |
|
173 |
+URLProtocol ff_rtmpt_protocol = { |
|
174 | 174 |
"rtmpt", |
175 | 175 |
rtmp_open, |
176 | 176 |
rtmp_read, |
... | ... |
@@ -183,7 +183,7 @@ URLProtocol rtmpt_protocol = { |
183 | 183 |
rtmp_get_file_handle |
184 | 184 |
}; |
185 | 185 |
|
186 |
-URLProtocol rtmpe_protocol = { |
|
186 |
+URLProtocol ff_rtmpe_protocol = { |
|
187 | 187 |
"rtmpe", |
188 | 188 |
rtmp_open, |
189 | 189 |
rtmp_read, |
... | ... |
@@ -196,7 +196,7 @@ URLProtocol rtmpe_protocol = { |
196 | 196 |
rtmp_get_file_handle |
197 | 197 |
}; |
198 | 198 |
|
199 |
-URLProtocol rtmpte_protocol = { |
|
199 |
+URLProtocol ff_rtmpte_protocol = { |
|
200 | 200 |
"rtmpte", |
201 | 201 |
rtmp_open, |
202 | 202 |
rtmp_read, |
... | ... |
@@ -209,7 +209,7 @@ URLProtocol rtmpte_protocol = { |
209 | 209 |
rtmp_get_file_handle |
210 | 210 |
}; |
211 | 211 |
|
212 |
-URLProtocol rtmps_protocol = { |
|
212 |
+URLProtocol ff_rtmps_protocol = { |
|
213 | 213 |
"rtmps", |
214 | 214 |
rtmp_open, |
215 | 215 |
rtmp_read, |
... | ... |
@@ -336,7 +336,7 @@ static int lxf_read_packet(AVFormatContext *s, AVPacket *pkt) |
336 | 336 |
return ret; |
337 | 337 |
} |
338 | 338 |
|
339 |
-AVInputFormat lxf_demuxer = { |
|
339 |
+AVInputFormat ff_lxf_demuxer = { |
|
340 | 340 |
.name = "lxf", |
341 | 341 |
.long_name = NULL_IF_CONFIG_SMALL("VR native stream format (LXF)"), |
342 | 342 |
.priv_data_size = sizeof(LXFDemuxContext), |
... | ... |
@@ -1920,7 +1920,7 @@ static int matroska_read_close(AVFormatContext *s) |
1920 | 1920 |
return 0; |
1921 | 1921 |
} |
1922 | 1922 |
|
1923 |
-AVInputFormat matroska_demuxer = { |
|
1923 |
+AVInputFormat ff_matroska_demuxer = { |
|
1924 | 1924 |
"matroska,webm", |
1925 | 1925 |
NULL_IF_CONFIG_SMALL("Matroska/WebM file format"), |
1926 | 1926 |
sizeof(MatroskaDemuxContext), |
... | ... |
@@ -1177,7 +1177,7 @@ static int mkv_write_trailer(AVFormatContext *s) |
1177 | 1177 |
} |
1178 | 1178 |
|
1179 | 1179 |
#if CONFIG_MATROSKA_MUXER |
1180 |
-AVOutputFormat matroska_muxer = { |
|
1180 |
+AVOutputFormat ff_matroska_muxer = { |
|
1181 | 1181 |
"matroska", |
1182 | 1182 |
NULL_IF_CONFIG_SMALL("Matroska file format"), |
1183 | 1183 |
"video/x-matroska", |
... | ... |
@@ -1195,7 +1195,7 @@ AVOutputFormat matroska_muxer = { |
1195 | 1195 |
#endif |
1196 | 1196 |
|
1197 | 1197 |
#if CONFIG_WEBM_MUXER |
1198 |
-AVOutputFormat webm_muxer = { |
|
1198 |
+AVOutputFormat ff_webm_muxer = { |
|
1199 | 1199 |
"webm", |
1200 | 1200 |
NULL_IF_CONFIG_SMALL("WebM file format"), |
1201 | 1201 |
"video/webm", |
... | ... |
@@ -1211,7 +1211,7 @@ AVOutputFormat webm_muxer = { |
1211 | 1211 |
#endif |
1212 | 1212 |
|
1213 | 1213 |
#if CONFIG_MATROSKA_AUDIO_MUXER |
1214 |
-AVOutputFormat matroska_audio_muxer = { |
|
1214 |
+AVOutputFormat ff_matroska_audio_muxer = { |
|
1215 | 1215 |
"matroska", |
1216 | 1216 |
NULL_IF_CONFIG_SMALL("Matroska file format"), |
1217 | 1217 |
"audio/x-matroska", |
... | ... |
@@ -65,7 +65,7 @@ static int write_trailer(struct AVFormatContext *s) |
65 | 65 |
return 0; |
66 | 66 |
} |
67 | 67 |
|
68 |
-AVOutputFormat md5_muxer = { |
|
68 |
+AVOutputFormat ff_md5_muxer = { |
|
69 | 69 |
"md5", |
70 | 70 |
NULL_IF_CONFIG_SMALL("MD5 testing format"), |
71 | 71 |
NULL, |
... | ... |
@@ -95,7 +95,7 @@ static int framemd5_write_packet(struct AVFormatContext *s, AVPacket *pkt) |
95 | 95 |
return 0; |
96 | 96 |
} |
97 | 97 |
|
98 |
-AVOutputFormat framemd5_muxer = { |
|
98 |
+AVOutputFormat ff_framemd5_muxer = { |
|
99 | 99 |
"framemd5", |
100 | 100 |
NULL_IF_CONFIG_SMALL("Per-frame MD5 testing format"), |
101 | 101 |
NULL, |
... | ... |
@@ -291,7 +291,7 @@ static int mmf_read_packet(AVFormatContext *s, |
291 | 291 |
} |
292 | 292 |
|
293 | 293 |
#if CONFIG_MMF_DEMUXER |
294 |
-AVInputFormat mmf_demuxer = { |
|
294 |
+AVInputFormat ff_mmf_demuxer = { |
|
295 | 295 |
"mmf", |
296 | 296 |
NULL_IF_CONFIG_SMALL("Yamaha SMAF"), |
297 | 297 |
sizeof(MMFContext), |
... | ... |
@@ -303,7 +303,7 @@ AVInputFormat mmf_demuxer = { |
303 | 303 |
}; |
304 | 304 |
#endif |
305 | 305 |
#if CONFIG_MMF_MUXER |
306 |
-AVOutputFormat mmf_muxer = { |
|
306 |
+AVOutputFormat ff_mmf_muxer = { |
|
307 | 307 |
"mmf", |
308 | 308 |
NULL_IF_CONFIG_SMALL("Yamaha SMAF"), |
309 | 309 |
"application/vnd.smaf", |
... | ... |
@@ -2561,7 +2561,7 @@ static int mov_read_close(AVFormatContext *s) |
2561 | 2561 |
return 0; |
2562 | 2562 |
} |
2563 | 2563 |
|
2564 |
-AVInputFormat mov_demuxer = { |
|
2564 |
+AVInputFormat ff_mov_demuxer = { |
|
2565 | 2565 |
"mov,mp4,m4a,3gp,3g2,mj2", |
2566 | 2566 |
NULL_IF_CONFIG_SMALL("QuickTime/MPEG-4/Motion JPEG 2000 format"), |
2567 | 2567 |
sizeof(MOVContext), |
... | ... |
@@ -2205,7 +2205,7 @@ static int mov_write_trailer(AVFormatContext *s) |
2205 | 2205 |
} |
2206 | 2206 |
|
2207 | 2207 |
#if CONFIG_MOV_MUXER |
2208 |
-AVOutputFormat mov_muxer = { |
|
2208 |
+AVOutputFormat ff_mov_muxer = { |
|
2209 | 2209 |
"mov", |
2210 | 2210 |
NULL_IF_CONFIG_SMALL("MOV format"), |
2211 | 2211 |
NULL, |
... | ... |
@@ -2221,7 +2221,7 @@ AVOutputFormat mov_muxer = { |
2221 | 2221 |
}; |
2222 | 2222 |
#endif |
2223 | 2223 |
#if CONFIG_TGP_MUXER |
2224 |
-AVOutputFormat tgp_muxer = { |
|
2224 |
+AVOutputFormat ff_tgp_muxer = { |
|
2225 | 2225 |
"3gp", |
2226 | 2226 |
NULL_IF_CONFIG_SMALL("3GP format"), |
2227 | 2227 |
NULL, |
... | ... |
@@ -2237,7 +2237,7 @@ AVOutputFormat tgp_muxer = { |
2237 | 2237 |
}; |
2238 | 2238 |
#endif |
2239 | 2239 |
#if CONFIG_MP4_MUXER |
2240 |
-AVOutputFormat mp4_muxer = { |
|
2240 |
+AVOutputFormat ff_mp4_muxer = { |
|
2241 | 2241 |
"mp4", |
2242 | 2242 |
NULL_IF_CONFIG_SMALL("MP4 format"), |
2243 | 2243 |
"application/mp4", |
... | ... |
@@ -2253,7 +2253,7 @@ AVOutputFormat mp4_muxer = { |
2253 | 2253 |
}; |
2254 | 2254 |
#endif |
2255 | 2255 |
#if CONFIG_PSP_MUXER |
2256 |
-AVOutputFormat psp_muxer = { |
|
2256 |
+AVOutputFormat ff_psp_muxer = { |
|
2257 | 2257 |
"psp", |
2258 | 2258 |
NULL_IF_CONFIG_SMALL("PSP MP4 format"), |
2259 | 2259 |
NULL, |
... | ... |
@@ -2269,7 +2269,7 @@ AVOutputFormat psp_muxer = { |
2269 | 2269 |
}; |
2270 | 2270 |
#endif |
2271 | 2271 |
#if CONFIG_TG2_MUXER |
2272 |
-AVOutputFormat tg2_muxer = { |
|
2272 |
+AVOutputFormat ff_tg2_muxer = { |
|
2273 | 2273 |
"3g2", |
2274 | 2274 |
NULL_IF_CONFIG_SMALL("3GP2 format"), |
2275 | 2275 |
NULL, |
... | ... |
@@ -2285,7 +2285,7 @@ AVOutputFormat tg2_muxer = { |
2285 | 2285 |
}; |
2286 | 2286 |
#endif |
2287 | 2287 |
#if CONFIG_IPOD_MUXER |
2288 |
-AVOutputFormat ipod_muxer = { |
|
2288 |
+AVOutputFormat ff_ipod_muxer = { |
|
2289 | 2289 |
"ipod", |
2290 | 2290 |
NULL_IF_CONFIG_SMALL("iPod H.264 MP4 format"), |
2291 | 2291 |
"application/mp4", |
... | ... |
@@ -134,7 +134,7 @@ static int mp3_write_trailer(struct AVFormatContext *s) |
134 | 134 |
} |
135 | 135 |
|
136 | 136 |
#if CONFIG_MP2_MUXER |
137 |
-AVOutputFormat mp2_muxer = { |
|
137 |
+AVOutputFormat ff_mp2_muxer = { |
|
138 | 138 |
"mp2", |
139 | 139 |
NULL_IF_CONFIG_SMALL("MPEG audio layer 2"), |
140 | 140 |
"audio/x-mpeg", |
... | ... |
@@ -233,7 +233,7 @@ static int mp3_write_header(struct AVFormatContext *s) |
233 | 233 |
return 0; |
234 | 234 |
} |
235 | 235 |
|
236 |
-AVOutputFormat mp3_muxer = { |
|
236 |
+AVOutputFormat ff_mp3_muxer = { |
|
237 | 237 |
"mp3", |
238 | 238 |
NULL_IF_CONFIG_SMALL("MPEG audio layer 3"), |
239 | 239 |
"audio/x-mpeg", |
... | ... |
@@ -610,7 +610,7 @@ static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index, |
610 | 610 |
return dts; |
611 | 611 |
} |
612 | 612 |
|
613 |
-AVInputFormat mpegps_demuxer = { |
|
613 |
+AVInputFormat ff_mpegps_demuxer = { |
|
614 | 614 |
"mpeg", |
615 | 615 |
NULL_IF_CONFIG_SMALL("MPEG-PS format"), |
616 | 616 |
sizeof(MpegDemuxContext), |
... | ... |
@@ -76,10 +76,10 @@ typedef struct { |
76 | 76 |
|
77 | 77 |
} MpegMuxContext; |
78 | 78 |
|
79 |
-extern AVOutputFormat mpeg1vcd_muxer; |
|
80 |
-extern AVOutputFormat mpeg2dvd_muxer; |
|
81 |
-extern AVOutputFormat mpeg2svcd_muxer; |
|
82 |
-extern AVOutputFormat mpeg2vob_muxer; |
|
79 |
+extern AVOutputFormat ff_mpeg1vcd_muxer; |
|
80 |
+extern AVOutputFormat ff_mpeg2dvd_muxer; |
|
81 |
+extern AVOutputFormat ff_mpeg2svcd_muxer; |
|
82 |
+extern AVOutputFormat ff_mpeg2vob_muxer; |
|
83 | 83 |
|
84 | 84 |
static int put_pack_header(AVFormatContext *ctx, |
85 | 85 |
uint8_t *buf, int64_t timestamp) |
... | ... |
@@ -297,12 +297,12 @@ static int mpeg_mux_init(AVFormatContext *ctx) |
297 | 297 |
int video_bitrate; |
298 | 298 |
|
299 | 299 |
s->packet_number = 0; |
300 |
- s->is_vcd = (CONFIG_MPEG1VCD_MUXER && ctx->oformat == &mpeg1vcd_muxer); |
|
301 |
- s->is_svcd = (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &mpeg2svcd_muxer); |
|
302 |
- s->is_mpeg2 = ((CONFIG_MPEG2VOB_MUXER && ctx->oformat == &mpeg2vob_muxer) || |
|
303 |
- (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &mpeg2dvd_muxer) || |
|
304 |
- (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &mpeg2svcd_muxer)); |
|
305 |
- s->is_dvd = (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &mpeg2dvd_muxer); |
|
300 |
+ s->is_vcd = (CONFIG_MPEG1VCD_MUXER && ctx->oformat == &ff_mpeg1vcd_muxer); |
|
301 |
+ s->is_svcd = (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &ff_mpeg2svcd_muxer); |
|
302 |
+ s->is_mpeg2 = ((CONFIG_MPEG2VOB_MUXER && ctx->oformat == &ff_mpeg2vob_muxer) || |
|
303 |
+ (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &ff_mpeg2dvd_muxer) || |
|
304 |
+ (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &ff_mpeg2svcd_muxer)); |
|
305 |
+ s->is_dvd = (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &ff_mpeg2dvd_muxer); |
|
306 | 306 |
|
307 | 307 |
if(ctx->packet_size) { |
308 | 308 |
if (ctx->packet_size < 20 || ctx->packet_size > (1 << 23) + 10) { |
... | ... |
@@ -1233,7 +1233,7 @@ static int mpeg_mux_end(AVFormatContext *ctx) |
1233 | 1233 |
} |
1234 | 1234 |
|
1235 | 1235 |
#if CONFIG_MPEG1SYSTEM_MUXER |
1236 |
-AVOutputFormat mpeg1system_muxer = { |
|
1236 |
+AVOutputFormat ff_mpeg1system_muxer = { |
|
1237 | 1237 |
"mpeg", |
1238 | 1238 |
NULL_IF_CONFIG_SMALL("MPEG-1 System format"), |
1239 | 1239 |
"video/mpeg", |
... | ... |
@@ -1247,7 +1247,7 @@ AVOutputFormat mpeg1system_muxer = { |
1247 | 1247 |
}; |
1248 | 1248 |
#endif |
1249 | 1249 |
#if CONFIG_MPEG1VCD_MUXER |
1250 |
-AVOutputFormat mpeg1vcd_muxer = { |
|
1250 |
+AVOutputFormat ff_mpeg1vcd_muxer = { |
|
1251 | 1251 |
"vcd", |
1252 | 1252 |
NULL_IF_CONFIG_SMALL("MPEG-1 System format (VCD)"), |
1253 | 1253 |
"video/mpeg", |
... | ... |
@@ -1261,7 +1261,7 @@ AVOutputFormat mpeg1vcd_muxer = { |
1261 | 1261 |
}; |
1262 | 1262 |
#endif |
1263 | 1263 |
#if CONFIG_MPEG2VOB_MUXER |
1264 |
-AVOutputFormat mpeg2vob_muxer = { |
|
1264 |
+AVOutputFormat ff_mpeg2vob_muxer = { |
|
1265 | 1265 |
"vob", |
1266 | 1266 |
NULL_IF_CONFIG_SMALL("MPEG-2 PS format (VOB)"), |
1267 | 1267 |
"video/mpeg", |
... | ... |
@@ -1277,7 +1277,7 @@ AVOutputFormat mpeg2vob_muxer = { |
1277 | 1277 |
|
1278 | 1278 |
/* Same as mpeg2vob_mux except that the pack size is 2324 */ |
1279 | 1279 |
#if CONFIG_MPEG2SVCD_MUXER |
1280 |
-AVOutputFormat mpeg2svcd_muxer = { |
|
1280 |
+AVOutputFormat ff_mpeg2svcd_muxer = { |
|
1281 | 1281 |
"svcd", |
1282 | 1282 |
NULL_IF_CONFIG_SMALL("MPEG-2 PS format (VOB)"), |
1283 | 1283 |
"video/mpeg", |
... | ... |
@@ -1293,7 +1293,7 @@ AVOutputFormat mpeg2svcd_muxer = { |
1293 | 1293 |
|
1294 | 1294 |
/* Same as mpeg2vob_mux except the 'is_dvd' flag is set to produce NAV pkts */ |
1295 | 1295 |
#if CONFIG_MPEG2DVD_MUXER |
1296 |
-AVOutputFormat mpeg2dvd_muxer = { |
|
1296 |
+AVOutputFormat ff_mpeg2dvd_muxer = { |
|
1297 | 1297 |
"dvd", |
1298 | 1298 |
NULL_IF_CONFIG_SMALL("MPEG-2 PS format (DVD VOB)"), |
1299 | 1299 |
"video/mpeg", |
... | ... |
@@ -158,7 +158,7 @@ typedef struct PESContext { |
158 | 158 |
uint8_t *buffer; |
159 | 159 |
} PESContext; |
160 | 160 |
|
161 |
-extern AVInputFormat mpegts_demuxer; |
|
161 |
+extern AVInputFormat ff_mpegts_demuxer; |
|
162 | 162 |
|
163 | 163 |
static void clear_program(MpegTSContext *ts, unsigned int programid) |
164 | 164 |
{ |
... | ... |
@@ -1468,7 +1468,7 @@ static int mpegts_read_header(AVFormatContext *s, |
1468 | 1468 |
ts->stream = s; |
1469 | 1469 |
ts->auto_guess = 0; |
1470 | 1470 |
|
1471 |
- if (s->iformat == &mpegts_demuxer) { |
|
1471 |
+ if (s->iformat == &ff_mpegts_demuxer) { |
|
1472 | 1472 |
/* normal demux */ |
1473 | 1473 |
|
1474 | 1474 |
/* first do a scaning to get all the services */ |
... | ... |
@@ -1845,7 +1845,7 @@ void ff_mpegts_parse_close(MpegTSContext *ts) |
1845 | 1845 |
av_free(ts); |
1846 | 1846 |
} |
1847 | 1847 |
|
1848 |
-AVInputFormat mpegts_demuxer = { |
|
1848 |
+AVInputFormat ff_mpegts_demuxer = { |
|
1849 | 1849 |
"mpegts", |
1850 | 1850 |
NULL_IF_CONFIG_SMALL("MPEG-2 transport stream format"), |
1851 | 1851 |
sizeof(MpegTSContext), |
... | ... |
@@ -1861,7 +1861,7 @@ AVInputFormat mpegts_demuxer = { |
1861 | 1861 |
#endif |
1862 | 1862 |
}; |
1863 | 1863 |
|
1864 |
-AVInputFormat mpegtsraw_demuxer = { |
|
1864 |
+AVInputFormat ff_mpegtsraw_demuxer = { |
|
1865 | 1865 |
"mpegtsraw", |
1866 | 1866 |
NULL_IF_CONFIG_SMALL("MPEG-2 raw transport stream format"), |
1867 | 1867 |
sizeof(MpegTSContext), |
... | ... |
@@ -53,7 +53,7 @@ static int mpjpeg_write_trailer(AVFormatContext *s) |
53 | 53 |
return 0; |
54 | 54 |
} |
55 | 55 |
|
56 |
-AVOutputFormat mpjpeg_muxer = { |
|
56 |
+AVOutputFormat ff_mpjpeg_muxer = { |
|
57 | 57 |
"mpjpeg", |
58 | 58 |
NULL_IF_CONFIG_SMALL("MIME multipart JPEG format"), |
59 | 59 |
"multipart/x-mixed-replace;boundary=" BOUNDARY_TAG, |
... | ... |
@@ -130,7 +130,7 @@ static int msnwc_tcp_read_packet(AVFormatContext *ctx, AVPacket *pkt) |
130 | 130 |
return HEADER_SIZE + size; |
131 | 131 |
} |
132 | 132 |
|
133 |
-AVInputFormat msnwc_tcp_demuxer = { |
|
133 |
+AVInputFormat ff_msnwc_tcp_demuxer = { |
|
134 | 134 |
"msnwctcp", |
135 | 135 |
NULL_IF_CONFIG_SMALL("MSN TCP Webcam stream"), |
136 | 136 |
0, |
... | ... |
@@ -123,7 +123,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) |
123 | 123 |
return 0; |
124 | 124 |
} |
125 | 125 |
|
126 |
-AVInputFormat mvi_demuxer = { |
|
126 |
+AVInputFormat ff_mvi_demuxer = { |
|
127 | 127 |
"mvi", |
128 | 128 |
NULL_IF_CONFIG_SMALL("Motion Pixels MVI format"), |
129 | 129 |
sizeof(MviDemuxContext), |
... | ... |
@@ -1014,7 +1014,7 @@ static int mxf_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti |
1014 | 1014 |
return 0; |
1015 | 1015 |
} |
1016 | 1016 |
|
1017 |
-AVInputFormat mxf_demuxer = { |
|
1017 |
+AVInputFormat ff_mxf_demuxer = { |
|
1018 | 1018 |
"mxf", |
1019 | 1019 |
NULL_IF_CONFIG_SMALL("Material eXchange Format"), |
1020 | 1020 |
sizeof(MXFContext), |
... | ... |
@@ -44,7 +44,7 @@ |
44 | 44 |
static const int NTSC_samples_per_frame[] = { 1602, 1601, 1602, 1601, 1602, 0 }; |
45 | 45 |
static const int PAL_samples_per_frame[] = { 1920, 0 }; |
46 | 46 |
|
47 |
-extern AVOutputFormat mxf_d10_muxer; |
|
47 |
+extern AVOutputFormat ff_mxf_d10_muxer; |
|
48 | 48 |
|
49 | 49 |
#define EDIT_UNITS_PER_BODY 250 |
50 | 50 |
#define KAG_SIZE 512 |
... | ... |
@@ -1371,7 +1371,7 @@ static int mxf_parse_mpeg2_frame(AVFormatContext *s, AVStream *st, |
1371 | 1371 |
} |
1372 | 1372 |
} |
1373 | 1373 |
} |
1374 |
- if (s->oformat != &mxf_d10_muxer) |
|
1374 |
+ if (s->oformat != &ff_mxf_d10_muxer) |
|
1375 | 1375 |
sc->codec_ul = mxf_get_mpeg2_codec_ul(st->codec); |
1376 | 1376 |
return !!sc->codec_ul; |
1377 | 1377 |
} |
... | ... |
@@ -1436,7 +1436,7 @@ static int mxf_write_header(AVFormatContext *s) |
1436 | 1436 |
return -1; |
1437 | 1437 |
} |
1438 | 1438 |
av_set_pts_info(st, 64, mxf->time_base.num, mxf->time_base.den); |
1439 |
- if (s->oformat == &mxf_d10_muxer) { |
|
1439 |
+ if (s->oformat == &ff_mxf_d10_muxer) { |
|
1440 | 1440 |
if (st->codec->bit_rate == 50000000) |
1441 | 1441 |
if (mxf->time_base.den == 25) sc->index = 3; |
1442 | 1442 |
else sc->index = 5; |
... | ... |
@@ -1464,7 +1464,7 @@ static int mxf_write_header(AVFormatContext *s) |
1464 | 1464 |
return -1; |
1465 | 1465 |
} |
1466 | 1466 |
av_set_pts_info(st, 64, 1, st->codec->sample_rate); |
1467 |
- if (s->oformat == &mxf_d10_muxer) { |
|
1467 |
+ if (s->oformat == &ff_mxf_d10_muxer) { |
|
1468 | 1468 |
if (st->index != 1) { |
1469 | 1469 |
av_log(s, AV_LOG_ERROR, "MXF D-10 only support one audio track\n"); |
1470 | 1470 |
return -1; |
... | ... |
@@ -1498,7 +1498,7 @@ static int mxf_write_header(AVFormatContext *s) |
1498 | 1498 |
present[sc->index]++; |
1499 | 1499 |
} |
1500 | 1500 |
|
1501 |
- if (s->oformat == &mxf_d10_muxer) { |
|
1501 |
+ if (s->oformat == &ff_mxf_d10_muxer) { |
|
1502 | 1502 |
mxf->essence_container_count = 1; |
1503 | 1503 |
} |
1504 | 1504 |
|
... | ... |
@@ -1720,7 +1720,7 @@ static int mxf_write_packet(AVFormatContext *s, AVPacket *pkt) |
1720 | 1720 |
|
1721 | 1721 |
mxf_write_klv_fill(s); |
1722 | 1722 |
put_buffer(pb, sc->track_essence_element_key, 16); // write key |
1723 |
- if (s->oformat == &mxf_d10_muxer) { |
|
1723 |
+ if (s->oformat == &ff_mxf_d10_muxer) { |
|
1724 | 1724 |
if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO) |
1725 | 1725 |
mxf_write_d10_video_packet(s, st, pkt); |
1726 | 1726 |
else |
... | ... |
@@ -1879,7 +1879,7 @@ static int mxf_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int |
1879 | 1879 |
mxf_interleave_get_packet, mxf_compare_timestamps); |
1880 | 1880 |
} |
1881 | 1881 |
|
1882 |
-AVOutputFormat mxf_muxer = { |
|
1882 |
+AVOutputFormat ff_mxf_muxer = { |
|
1883 | 1883 |
"mxf", |
1884 | 1884 |
NULL_IF_CONFIG_SMALL("Material eXchange Format"), |
1885 | 1885 |
"application/mxf", |
... | ... |
@@ -1895,7 +1895,7 @@ AVOutputFormat mxf_muxer = { |
1895 | 1895 |
mxf_interleave, |
1896 | 1896 |
}; |
1897 | 1897 |
|
1898 |
-AVOutputFormat mxf_d10_muxer = { |
|
1898 |
+AVOutputFormat ff_mxf_d10_muxer = { |
|
1899 | 1899 |
"mxf_d10", |
1900 | 1900 |
NULL_IF_CONFIG_SMALL("Material eXchange Format, D-10 Mapping"), |
1901 | 1901 |
"application/mxf", |
... | ... |
@@ -240,7 +240,7 @@ static int mxg_close(struct AVFormatContext *s) |
240 | 240 |
return 0; |
241 | 241 |
} |
242 | 242 |
|
243 |
-AVInputFormat mxg_demuxer = { |
|
243 |
+AVInputFormat ff_mxg_demuxer = { |
|
244 | 244 |
.name = "mxg", |
245 | 245 |
.long_name = NULL_IF_CONFIG_SMALL("MxPEG clip file format"), |
246 | 246 |
.priv_data_size = sizeof(MXGContext), |
... | ... |
@@ -257,7 +257,7 @@ static int nuv_packet(AVFormatContext *s, AVPacket *pkt) { |
257 | 257 |
return AVERROR(EIO); |
258 | 258 |
} |
259 | 259 |
|
260 |
-AVInputFormat nuv_demuxer = { |
|
260 |
+AVInputFormat ff_nuv_demuxer = { |
|
261 | 261 |
"nuv", |
262 | 262 |
NULL_IF_CONFIG_SMALL("NuppelVideo format"), |
263 | 263 |
sizeof(NUVContext), |
... | ... |
@@ -47,7 +47,7 @@ static int raw_read_packet(AVFormatContext *s, AVPacket *pkt) |
47 | 47 |
} |
48 | 48 |
|
49 | 49 |
#define PCMDEF(name, long_name, ext, codec) \ |
50 |
-AVInputFormat pcm_ ## name ## _demuxer = {\ |
|
50 |
+AVInputFormat ff_pcm_ ## name ## _demuxer = {\ |
|
51 | 51 |
#name,\ |
52 | 52 |
NULL_IF_CONFIG_SMALL(long_name),\ |
53 | 53 |
0,\ |
... | ... |
@@ -200,7 +200,7 @@ static int64_t pva_read_timestamp(struct AVFormatContext *s, int stream_index, |
200 | 200 |
return res; |
201 | 201 |
} |
202 | 202 |
|
203 |
-AVInputFormat pva_demuxer = { |
|
203 |
+AVInputFormat ff_pva_demuxer = { |
|
204 | 204 |
"pva", |
205 | 205 |
NULL_IF_CONFIG_SMALL("TechnoTrend PVA file and stream format"), |
206 | 206 |
sizeof(PVAContext), |
... | ... |
@@ -187,7 +187,7 @@ static int qcp_read_packet(AVFormatContext *s, AVPacket *pkt) |
187 | 187 |
return AVERROR_EOF; |
188 | 188 |
} |
189 | 189 |
|
190 |
-AVInputFormat qcp_demuxer = { |
|
190 |
+AVInputFormat ff_qcp_demuxer = { |
|
191 | 191 |
.name = "qcp", |
192 | 192 |
.long_name = NULL_IF_CONFIG_SMALL("QCP format"), |
193 | 193 |
.priv_data_size = sizeof(QCPContext), |
... | ... |
@@ -138,7 +138,7 @@ int ff_raw_video_read_header(AVFormatContext *s, |
138 | 138 |
/* Note: Do not forget to add new entries to the Makefile as well. */ |
139 | 139 |
|
140 | 140 |
#if CONFIG_G722_DEMUXER |
141 |
-AVInputFormat g722_demuxer = { |
|
141 |
+AVInputFormat ff_g722_demuxer = { |
|
142 | 142 |
"g722", |
143 | 143 |
NULL_IF_CONFIG_SMALL("raw G.722"), |
144 | 144 |
0, |
... | ... |
@@ -152,7 +152,7 @@ AVInputFormat g722_demuxer = { |
152 | 152 |
#endif |
153 | 153 |
|
154 | 154 |
#if CONFIG_GSM_DEMUXER |
155 |
-AVInputFormat gsm_demuxer = { |
|
155 |
+AVInputFormat ff_gsm_demuxer = { |
|
156 | 156 |
"gsm", |
157 | 157 |
NULL_IF_CONFIG_SMALL("raw GSM"), |
158 | 158 |
0, |
... | ... |
@@ -166,7 +166,7 @@ AVInputFormat gsm_demuxer = { |
166 | 166 |
#endif |
167 | 167 |
|
168 | 168 |
#if CONFIG_MJPEG_DEMUXER |
169 |
-AVInputFormat mjpeg_demuxer = { |
|
169 |
+AVInputFormat ff_mjpeg_demuxer = { |
|
170 | 170 |
"mjpeg", |
171 | 171 |
NULL_IF_CONFIG_SMALL("raw MJPEG video"), |
172 | 172 |
0, |
... | ... |
@@ -180,7 +180,7 @@ AVInputFormat mjpeg_demuxer = { |
180 | 180 |
#endif |
181 | 181 |
|
182 | 182 |
#if CONFIG_MLP_DEMUXER |
183 |
-AVInputFormat mlp_demuxer = { |
|
183 |
+AVInputFormat ff_mlp_demuxer = { |
|
184 | 184 |
"mlp", |
185 | 185 |
NULL_IF_CONFIG_SMALL("raw MLP"), |
186 | 186 |
0, |
... | ... |
@@ -194,7 +194,7 @@ AVInputFormat mlp_demuxer = { |
194 | 194 |
#endif |
195 | 195 |
|
196 | 196 |
#if CONFIG_TRUEHD_DEMUXER |
197 |
-AVInputFormat truehd_demuxer = { |
|
197 |
+AVInputFormat ff_truehd_demuxer = { |
|
198 | 198 |
"truehd", |
199 | 199 |
NULL_IF_CONFIG_SMALL("raw TrueHD"), |
200 | 200 |
0, |
... | ... |
@@ -208,7 +208,7 @@ AVInputFormat truehd_demuxer = { |
208 | 208 |
#endif |
209 | 209 |
|
210 | 210 |
#if CONFIG_SHORTEN_DEMUXER |
211 |
-AVInputFormat shorten_demuxer = { |
|
211 |
+AVInputFormat ff_shorten_demuxer = { |
|
212 | 212 |
"shn", |
213 | 213 |
NULL_IF_CONFIG_SMALL("raw Shorten"), |
214 | 214 |
0, |
... | ... |
@@ -222,7 +222,7 @@ AVInputFormat shorten_demuxer = { |
222 | 222 |
#endif |
223 | 223 |
|
224 | 224 |
#if CONFIG_VC1_DEMUXER |
225 |
-AVInputFormat vc1_demuxer = { |
|
225 |
+AVInputFormat ff_vc1_demuxer = { |
|
226 | 226 |
"vc1", |
227 | 227 |
NULL_IF_CONFIG_SMALL("raw VC-1"), |
228 | 228 |
0, |
... | ... |
@@ -33,7 +33,7 @@ int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt) |
33 | 33 |
/* Note: Do not forget to add new entries to the Makefile as well. */ |
34 | 34 |
|
35 | 35 |
#if CONFIG_AC3_MUXER |
36 |
-AVOutputFormat ac3_muxer = { |
|
36 |
+AVOutputFormat ff_ac3_muxer = { |
|
37 | 37 |
"ac3", |
38 | 38 |
NULL_IF_CONFIG_SMALL("raw AC-3"), |
39 | 39 |
"audio/x-ac3", |
... | ... |
@@ -48,7 +48,7 @@ AVOutputFormat ac3_muxer = { |
48 | 48 |
#endif |
49 | 49 |
|
50 | 50 |
#if CONFIG_DIRAC_MUXER |
51 |
-AVOutputFormat dirac_muxer = { |
|
51 |
+AVOutputFormat ff_dirac_muxer = { |
|
52 | 52 |
"dirac", |
53 | 53 |
NULL_IF_CONFIG_SMALL("raw Dirac"), |
54 | 54 |
NULL, |
... | ... |
@@ -63,7 +63,7 @@ AVOutputFormat dirac_muxer = { |
63 | 63 |
#endif |
64 | 64 |
|
65 | 65 |
#if CONFIG_DNXHD_MUXER |
66 |
-AVOutputFormat dnxhd_muxer = { |
|
66 |
+AVOutputFormat ff_dnxhd_muxer = { |
|
67 | 67 |
"dnxhd", |
68 | 68 |
NULL_IF_CONFIG_SMALL("raw DNxHD (SMPTE VC-3)"), |
69 | 69 |
NULL, |
... | ... |
@@ -78,7 +78,7 @@ AVOutputFormat dnxhd_muxer = { |
78 | 78 |
#endif |
79 | 79 |
|
80 | 80 |
#if CONFIG_DTS_MUXER |
81 |
-AVOutputFormat dts_muxer = { |
|
81 |
+AVOutputFormat ff_dts_muxer = { |
|
82 | 82 |
"dts", |
83 | 83 |
NULL_IF_CONFIG_SMALL("raw DTS"), |
84 | 84 |
"audio/x-dca", |
... | ... |
@@ -93,7 +93,7 @@ AVOutputFormat dts_muxer = { |
93 | 93 |
#endif |
94 | 94 |
|
95 | 95 |
#if CONFIG_EAC3_MUXER |
96 |
-AVOutputFormat eac3_muxer = { |
|
96 |
+AVOutputFormat ff_eac3_muxer = { |
|
97 | 97 |
"eac3", |
98 | 98 |
NULL_IF_CONFIG_SMALL("raw E-AC-3"), |
99 | 99 |
"audio/x-eac3", |
... | ... |
@@ -108,7 +108,7 @@ AVOutputFormat eac3_muxer = { |
108 | 108 |
#endif |
109 | 109 |
|
110 | 110 |
#if CONFIG_G722_MUXER |
111 |
-AVOutputFormat g722_muxer = { |
|
111 |
+AVOutputFormat ff_g722_muxer = { |
|
112 | 112 |
"g722", |
113 | 113 |
NULL_IF_CONFIG_SMALL("raw G.722"), |
114 | 114 |
"audio/G722", |
... | ... |
@@ -123,7 +123,7 @@ AVOutputFormat g722_muxer = { |
123 | 123 |
#endif |
124 | 124 |
|
125 | 125 |
#if CONFIG_H261_MUXER |
126 |
-AVOutputFormat h261_muxer = { |
|
126 |
+AVOutputFormat ff_h261_muxer = { |
|
127 | 127 |
"h261", |
128 | 128 |
NULL_IF_CONFIG_SMALL("raw H.261"), |
129 | 129 |
"video/x-h261", |
... | ... |
@@ -138,7 +138,7 @@ AVOutputFormat h261_muxer = { |
138 | 138 |
#endif |
139 | 139 |
|
140 | 140 |
#if CONFIG_H263_MUXER |
141 |
-AVOutputFormat h263_muxer = { |
|
141 |
+AVOutputFormat ff_h263_muxer = { |
|
142 | 142 |
"h263", |
143 | 143 |
NULL_IF_CONFIG_SMALL("raw H.263"), |
144 | 144 |
"video/x-h263", |
... | ... |
@@ -153,7 +153,7 @@ AVOutputFormat h263_muxer = { |
153 | 153 |
#endif |
154 | 154 |
|
155 | 155 |
#if CONFIG_H264_MUXER |
156 |
-AVOutputFormat h264_muxer = { |
|
156 |
+AVOutputFormat ff_h264_muxer = { |
|
157 | 157 |
"h264", |
158 | 158 |
NULL_IF_CONFIG_SMALL("raw H.264 video format"), |
159 | 159 |
NULL, |
... | ... |
@@ -168,7 +168,7 @@ AVOutputFormat h264_muxer = { |
168 | 168 |
#endif |
169 | 169 |
|
170 | 170 |
#if CONFIG_CAVSVIDEO_MUXER |
171 |
-AVOutputFormat cavsvideo_muxer = { |
|
171 |
+AVOutputFormat ff_cavsvideo_muxer = { |
|
172 | 172 |
"cavsvideo", |
173 | 173 |
NULL_IF_CONFIG_SMALL("raw Chinese AVS video"), |
174 | 174 |
NULL, |
... | ... |
@@ -183,7 +183,7 @@ AVOutputFormat cavsvideo_muxer = { |
183 | 183 |
#endif |
184 | 184 |
|
185 | 185 |
#if CONFIG_M4V_MUXER |
186 |
-AVOutputFormat m4v_muxer = { |
|
186 |
+AVOutputFormat ff_m4v_muxer = { |
|
187 | 187 |
"m4v", |
188 | 188 |
NULL_IF_CONFIG_SMALL("raw MPEG-4 video format"), |
189 | 189 |
NULL, |
... | ... |
@@ -198,7 +198,7 @@ AVOutputFormat m4v_muxer = { |
198 | 198 |
#endif |
199 | 199 |
|
200 | 200 |
#if CONFIG_MJPEG_MUXER |
201 |
-AVOutputFormat mjpeg_muxer = { |
|
201 |
+AVOutputFormat ff_mjpeg_muxer = { |
|
202 | 202 |
"mjpeg", |
203 | 203 |
NULL_IF_CONFIG_SMALL("raw MJPEG video"), |
204 | 204 |
"video/x-mjpeg", |
... | ... |
@@ -213,7 +213,7 @@ AVOutputFormat mjpeg_muxer = { |
213 | 213 |
#endif |
214 | 214 |
|
215 | 215 |
#if CONFIG_MLP_MUXER |
216 |
-AVOutputFormat mlp_muxer = { |
|
216 |
+AVOutputFormat ff_mlp_muxer = { |
|
217 | 217 |
"mlp", |
218 | 218 |
NULL_IF_CONFIG_SMALL("raw MLP"), |
219 | 219 |
NULL, |
... | ... |
@@ -228,7 +228,7 @@ AVOutputFormat mlp_muxer = { |
228 | 228 |
#endif |
229 | 229 |
|
230 | 230 |
#if CONFIG_SRT_MUXER |
231 |
-AVOutputFormat srt_muxer = { |
|
231 |
+AVOutputFormat ff_srt_muxer = { |
|
232 | 232 |
.name = "srt", |
233 | 233 |
.long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle format"), |
234 | 234 |
.mime_type = "application/x-subrip", |
... | ... |
@@ -240,7 +240,7 @@ AVOutputFormat srt_muxer = { |
240 | 240 |
#endif |
241 | 241 |
|
242 | 242 |
#if CONFIG_TRUEHD_MUXER |
243 |
-AVOutputFormat truehd_muxer = { |
|
243 |
+AVOutputFormat ff_truehd_muxer = { |
|
244 | 244 |
"truehd", |
245 | 245 |
NULL_IF_CONFIG_SMALL("raw TrueHD"), |
246 | 246 |
NULL, |
... | ... |
@@ -255,7 +255,7 @@ AVOutputFormat truehd_muxer = { |
255 | 255 |
#endif |
256 | 256 |
|
257 | 257 |
#if CONFIG_MPEG1VIDEO_MUXER |
258 |
-AVOutputFormat mpeg1video_muxer = { |
|
258 |
+AVOutputFormat ff_mpeg1video_muxer = { |
|
259 | 259 |
"mpeg1video", |
260 | 260 |
NULL_IF_CONFIG_SMALL("raw MPEG-1 video"), |
261 | 261 |
"video/x-mpeg", |
... | ... |
@@ -270,7 +270,7 @@ AVOutputFormat mpeg1video_muxer = { |
270 | 270 |
#endif |
271 | 271 |
|
272 | 272 |
#if CONFIG_MPEG2VIDEO_MUXER |
273 |
-AVOutputFormat mpeg2video_muxer = { |
|
273 |
+AVOutputFormat ff_mpeg2video_muxer = { |
|
274 | 274 |
"mpeg2video", |
275 | 275 |
NULL_IF_CONFIG_SMALL("raw MPEG-2 video"), |
276 | 276 |
NULL, |
... | ... |
@@ -285,7 +285,7 @@ AVOutputFormat mpeg2video_muxer = { |
285 | 285 |
#endif |
286 | 286 |
|
287 | 287 |
#if CONFIG_RAWVIDEO_MUXER |
288 |
-AVOutputFormat rawvideo_muxer = { |
|
288 |
+AVOutputFormat ff_rawvideo_muxer = { |
|
289 | 289 |
"rawvideo", |
290 | 290 |
NULL_IF_CONFIG_SMALL("raw video format"), |
291 | 291 |
NULL, |
... | ... |
@@ -528,7 +528,7 @@ rdt_new_context (void) |
528 | 528 |
{ |
529 | 529 |
PayloadContext *rdt = av_mallocz(sizeof(PayloadContext)); |
530 | 530 |
|
531 |
- av_open_input_stream(&rdt->rmctx, NULL, "", &rdt_demuxer, NULL); |
|
531 |
+ av_open_input_stream(&rdt->rmctx, NULL, "", &ff_rdt_demuxer, NULL); |
|
532 | 532 |
|
533 | 533 |
return rdt; |
534 | 534 |
} |
... | ... |
@@ -287,7 +287,7 @@ static int rl2_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp |
287 | 287 |
return 0; |
288 | 288 |
} |
289 | 289 |
|
290 |
-AVInputFormat rl2_demuxer = { |
|
290 |
+AVInputFormat ff_rl2_demuxer = { |
|
291 | 291 |
"rl2", |
292 | 292 |
NULL_IF_CONFIG_SMALL("RL2 format"), |
293 | 293 |
sizeof(Rl2DemuxContext), |
... | ... |
@@ -35,7 +35,7 @@ RMStream *ff_rm_alloc_rmstream (void); |
35 | 35 |
void ff_rm_free_rmstream (RMStream *rms); |
36 | 36 |
|
37 | 37 |
/*< input format for Realmedia-style RTSP streams */ |
38 |
-extern AVInputFormat rdt_demuxer; |
|
38 |
+extern AVInputFormat ff_rdt_demuxer; |
|
39 | 39 |
|
40 | 40 |
/** |
41 | 41 |
* Read the MDPR chunk, which contains stream-specific codec initialization |
... | ... |
@@ -935,7 +935,7 @@ static int64_t rm_read_dts(AVFormatContext *s, int stream_index, |
935 | 935 |
return dts; |
936 | 936 |
} |
937 | 937 |
|
938 |
-AVInputFormat rm_demuxer = { |
|
938 |
+AVInputFormat ff_rm_demuxer = { |
|
939 | 939 |
"rm", |
940 | 940 |
NULL_IF_CONFIG_SMALL("RealMedia format"), |
941 | 941 |
sizeof(RMDemuxContext), |
... | ... |
@@ -947,7 +947,7 @@ AVInputFormat rm_demuxer = { |
947 | 947 |
rm_read_dts, |
948 | 948 |
}; |
949 | 949 |
|
950 |
-AVInputFormat rdt_demuxer = { |
|
950 |
+AVInputFormat ff_rdt_demuxer = { |
|
951 | 951 |
"rdt", |
952 | 952 |
NULL_IF_CONFIG_SMALL("RDT demuxer"), |
953 | 953 |
sizeof(RMDemuxContext), |
... | ... |
@@ -88,7 +88,7 @@ static int rso_read_packet(AVFormatContext *s, AVPacket *pkt) |
88 | 88 |
return 0; |
89 | 89 |
} |
90 | 90 |
|
91 |
-AVInputFormat rso_demuxer = { |
|
91 |
+AVInputFormat ff_rso_demuxer = { |
|
92 | 92 |
.name = "rso", |
93 | 93 |
.long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO format"), |
94 | 94 |
.extensions = "rso", |
... | ... |
@@ -100,7 +100,7 @@ static int rso_write_trailer(AVFormatContext *s) |
100 | 100 |
return 0; |
101 | 101 |
} |
102 | 102 |
|
103 |
-AVOutputFormat rso_muxer = { |
|
103 |
+AVOutputFormat ff_rso_muxer = { |
|
104 | 104 |
.name = "rso", |
105 | 105 |
.long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO format"), |
106 | 106 |
.extensions = "rso", |
... | ... |
@@ -109,7 +109,7 @@ int ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p) |
109 | 109 |
av_close_input_stream(rt->asf_ctx); |
110 | 110 |
rt->asf_ctx = NULL; |
111 | 111 |
} |
112 |
- ret = av_open_input_stream(&rt->asf_ctx, &pb, "", &asf_demuxer, NULL); |
|
112 |
+ ret = av_open_input_stream(&rt->asf_ctx, &pb, "", &ff_asf_demuxer, NULL); |
|
113 | 113 |
if (ret < 0) |
114 | 114 |
return ret; |
115 | 115 |
av_metadata_copy(&s->metadata, rt->asf_ctx->metadata, 0); |
... | ... |
@@ -1825,7 +1825,7 @@ static int sdp_read_close(AVFormatContext *s) |
1825 | 1825 |
return 0; |
1826 | 1826 |
} |
1827 | 1827 |
|
1828 |
-AVInputFormat sdp_demuxer = { |
|
1828 |
+AVInputFormat ff_sdp_demuxer = { |
|
1829 | 1829 |
"sdp", |
1830 | 1830 |
NULL_IF_CONFIG_SMALL("SDP"), |
1831 | 1831 |
sizeof(RTSPState), |
... | ... |
@@ -1929,7 +1929,7 @@ fail: |
1929 | 1929 |
return ret; |
1930 | 1930 |
} |
1931 | 1931 |
|
1932 |
-AVInputFormat rtp_demuxer = { |
|
1932 |
+AVInputFormat ff_rtp_demuxer = { |
|
1933 | 1933 |
"rtp", |
1934 | 1934 |
NULL_IF_CONFIG_SMALL("RTP input format"), |
1935 | 1935 |
sizeof(RTSPState), |
... | ... |
@@ -250,7 +250,7 @@ static int sap_write_packet(AVFormatContext *s, AVPacket *pkt) |
250 | 250 |
return ff_write_chained(rtpctx, 0, pkt, s); |
251 | 251 |
} |
252 | 252 |
|
253 |
-AVOutputFormat sap_muxer = { |
|
253 |
+AVOutputFormat ff_sap_muxer = { |
|
254 | 254 |
"sap", |
255 | 255 |
NULL_IF_CONFIG_SMALL("SAP output format"), |
256 | 256 |
NULL, |
... | ... |
@@ -282,7 +282,7 @@ static int film_read_close(AVFormatContext *s) |
282 | 282 |
return 0; |
283 | 283 |
} |
284 | 284 |
|
285 |
-AVInputFormat segafilm_demuxer = { |
|
285 |
+AVInputFormat ff_segafilm_demuxer = { |
|
286 | 286 |
"film_cpk", |
287 | 287 |
NULL_IF_CONFIG_SMALL("Sega FILM/CPK format"), |
288 | 288 |
sizeof(FilmDemuxContext), |
... | ... |
@@ -227,7 +227,7 @@ static int siff_read_packet(AVFormatContext *s, AVPacket *pkt) |
227 | 227 |
return pkt->size; |
228 | 228 |
} |
229 | 229 |
|
230 |
-AVInputFormat siff_demuxer = { |
|
230 |
+AVInputFormat ff_siff_demuxer = { |
|
231 | 231 |
"siff", |
232 | 232 |
NULL_IF_CONFIG_SMALL("Beam Software SIFF"), |
233 | 233 |
sizeof(SIFFContext), |
... | ... |
@@ -225,7 +225,7 @@ static int spdif_read_packet(AVFormatContext *s, AVPacket *pkt) |
225 | 225 |
return 0; |
226 | 226 |
} |
227 | 227 |
|
228 |
-AVInputFormat spdif_demuxer = { |
|
228 |
+AVInputFormat ff_spdif_demuxer = { |
|
229 | 229 |
"spdif", |
230 | 230 |
NULL_IF_CONFIG_SMALL("IEC 61937 (compressed data in S/PDIF)"), |
231 | 231 |
0, |
... | ... |
@@ -382,7 +382,7 @@ static int spdif_write_packet(struct AVFormatContext *s, AVPacket *pkt) |
382 | 382 |
return 0; |
383 | 383 |
} |
384 | 384 |
|
385 |
-AVOutputFormat spdif_muxer = { |
|
385 |
+AVOutputFormat ff_spdif_muxer = { |
|
386 | 386 |
"spdif", |
387 | 387 |
NULL_IF_CONFIG_SMALL("IEC 61937 (used on S/PDIF - IEC958)"), |
388 | 388 |
NULL, |
... | ... |
@@ -92,7 +92,7 @@ static int srt_read_packet(AVFormatContext *s, AVPacket *pkt) |
92 | 92 |
return res; |
93 | 93 |
} |
94 | 94 |
|
95 |
-AVInputFormat srt_demuxer = { |
|
95 |
+AVInputFormat ff_srt_demuxer = { |
|
96 | 96 |
.name = "srt", |
97 | 97 |
.long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle format"), |
98 | 98 |
.read_probe = srt_probe, |
... | ... |
@@ -506,7 +506,7 @@ static int swf_write_trailer(AVFormatContext *s) |
506 | 506 |
} |
507 | 507 |
|
508 | 508 |
#if CONFIG_SWF_MUXER |
509 |
-AVOutputFormat swf_muxer = { |
|
509 |
+AVOutputFormat ff_swf_muxer = { |
|
510 | 510 |
"swf", |
511 | 511 |
NULL_IF_CONFIG_SMALL("Flash format"), |
512 | 512 |
"application/x-shockwave-flash", |
... | ... |
@@ -520,7 +520,7 @@ AVOutputFormat swf_muxer = { |
520 | 520 |
}; |
521 | 521 |
#endif |
522 | 522 |
#if CONFIG_AVM2_MUXER |
523 |
-AVOutputFormat avm2_muxer = { |
|
523 |
+AVOutputFormat ff_avm2_muxer = { |
|
524 | 524 |
"avm2", |
525 | 525 |
NULL_IF_CONFIG_SMALL("Flash 9 (AVM2) format"), |
526 | 526 |
"application/x-shockwave-flash", |
... | ... |
@@ -302,7 +302,7 @@ static int seq_read_close(AVFormatContext *s) |
302 | 302 |
return 0; |
303 | 303 |
} |
304 | 304 |
|
305 |
-AVInputFormat tiertexseq_demuxer = { |
|
305 |
+AVInputFormat ff_tiertexseq_demuxer = { |
|
306 | 306 |
"tiertexseq", |
307 | 307 |
NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ format"), |
308 | 308 |
sizeof(SeqDemuxContext), |
... | ... |
@@ -143,7 +143,7 @@ static int tta_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp |
143 | 143 |
return 0; |
144 | 144 |
} |
145 | 145 |
|
146 |
-AVInputFormat tta_demuxer = { |
|
146 |
+AVInputFormat ff_tta_demuxer = { |
|
147 | 147 |
"tta", |
148 | 148 |
NULL_IF_CONFIG_SMALL("True Audio"), |
149 | 149 |
sizeof(TTAContext), |
... | ... |
@@ -124,7 +124,7 @@ static int read_packet(AVFormatContext *avctx, AVPacket *pkt) |
124 | 124 |
return 0; |
125 | 125 |
} |
126 | 126 |
|
127 |
-AVInputFormat tty_demuxer = { |
|
127 |
+AVInputFormat ff_tty_demuxer = { |
|
128 | 128 |
.name = "tty", |
129 | 129 |
.long_name = NULL_IF_CONFIG_SMALL("Tele-typewriter"), |
130 | 130 |
.priv_data_size = sizeof(TtyDemuxContext), |
... | ... |
@@ -156,7 +156,7 @@ static int voc_read_packet(AVFormatContext *s, AVPacket *pkt) |
156 | 156 |
return voc_get_packet(s, pkt, s->streams[0], 0); |
157 | 157 |
} |
158 | 158 |
|
159 |
-AVInputFormat voc_demuxer = { |
|
159 |
+AVInputFormat ff_voc_demuxer = { |
|
160 | 160 |
"voc", |
161 | 161 |
NULL_IF_CONFIG_SMALL("Creative Voice file format"), |
162 | 162 |
sizeof(VocDecContext), |
... | ... |
@@ -247,7 +247,7 @@ static int vqf_read_seek(AVFormatContext *s, |
247 | 247 |
return 0; |
248 | 248 |
} |
249 | 249 |
|
250 |
-AVInputFormat vqf_demuxer = { |
|
250 |
+AVInputFormat ff_vqf_demuxer = { |
|
251 | 251 |
"vqf", |
252 | 252 |
NULL_IF_CONFIG_SMALL("Nippon Telegraph and Telephone Corporation (NTT) TwinVQ"), |
253 | 253 |
sizeof(VqfContext), |
... | ... |
@@ -123,7 +123,7 @@ static int wav_write_trailer(AVFormatContext *s) |
123 | 123 |
return 0; |
124 | 124 |
} |
125 | 125 |
|
126 |
-AVOutputFormat wav_muxer = { |
|
126 |
+AVOutputFormat ff_wav_muxer = { |
|
127 | 127 |
"wav", |
128 | 128 |
NULL_IF_CONFIG_SMALL("WAV format"), |
129 | 129 |
"audio/x-wav", |
... | ... |
@@ -340,7 +340,7 @@ static int wav_read_seek(AVFormatContext *s, |
340 | 340 |
return pcm_read_seek(s, stream_index, timestamp, flags); |
341 | 341 |
} |
342 | 342 |
|
343 |
-AVInputFormat wav_demuxer = { |
|
343 |
+AVInputFormat ff_wav_demuxer = { |
|
344 | 344 |
"wav", |
345 | 345 |
NULL_IF_CONFIG_SMALL("WAV format"), |
346 | 346 |
sizeof(WAVContext), |
... | ... |
@@ -426,7 +426,7 @@ static int w64_read_header(AVFormatContext *s, AVFormatParameters *ap) |
426 | 426 |
return 0; |
427 | 427 |
} |
428 | 428 |
|
429 |
-AVInputFormat w64_demuxer = { |
|
429 |
+AVInputFormat ff_w64_demuxer = { |
|
430 | 430 |
"w64", |
431 | 431 |
NULL_IF_CONFIG_SMALL("Sony Wave64 format"), |
432 | 432 |
sizeof(WAVContext), |
... | ... |
@@ -291,7 +291,7 @@ static int wc3_read_close(AVFormatContext *s) |
291 | 291 |
return 0; |
292 | 292 |
} |
293 | 293 |
|
294 |
-AVInputFormat wc3_demuxer = { |
|
294 |
+AVInputFormat ff_wc3_demuxer = { |
|
295 | 295 |
"wc3movie", |
296 | 296 |
NULL_IF_CONFIG_SMALL("Wing Commander III movie format"), |
297 | 297 |
sizeof(Wc3DemuxContext), |
... | ... |
@@ -367,7 +367,7 @@ static int wsvqa_read_packet(AVFormatContext *s, |
367 | 367 |
} |
368 | 368 |
|
369 | 369 |
#if CONFIG_WSAUD_DEMUXER |
370 |
-AVInputFormat wsaud_demuxer = { |
|
370 |
+AVInputFormat ff_wsaud_demuxer = { |
|
371 | 371 |
"wsaud", |
372 | 372 |
NULL_IF_CONFIG_SMALL("Westwood Studios audio format"), |
373 | 373 |
sizeof(WsAudDemuxContext), |
... | ... |
@@ -377,7 +377,7 @@ AVInputFormat wsaud_demuxer = { |
377 | 377 |
}; |
378 | 378 |
#endif |
379 | 379 |
#if CONFIG_WSVQA_DEMUXER |
380 |
-AVInputFormat wsvqa_demuxer = { |
|
380 |
+AVInputFormat ff_wsvqa_demuxer = { |
|
381 | 381 |
"wsvqa", |
382 | 382 |
NULL_IF_CONFIG_SMALL("Westwood Studios VQA format"), |
383 | 383 |
sizeof(WsVqaDemuxContext), |
... | ... |
@@ -595,7 +595,7 @@ static int read_seek2(AVFormatContext *s, int stream_index, |
595 | 595 |
} |
596 | 596 |
} |
597 | 597 |
|
598 |
-AVInputFormat wtv_demuxer = { |
|
598 |
+AVInputFormat ff_wtv_demuxer = { |
|
599 | 599 |
.name = "wtv", |
600 | 600 |
.long_name = NULL_IF_CONFIG_SMALL("Windows Television (WTV)"), |
601 | 601 |
.priv_data_size = sizeof(WtvContext), |
... | ... |
@@ -169,7 +169,7 @@ static int yuv4_write_header(AVFormatContext *s) |
169 | 169 |
return 0; |
170 | 170 |
} |
171 | 171 |
|
172 |
-AVOutputFormat yuv4mpegpipe_muxer = { |
|
172 |
+AVOutputFormat ff_yuv4mpegpipe_muxer = { |
|
173 | 173 |
"yuv4mpegpipe", |
174 | 174 |
NULL_IF_CONFIG_SMALL("YUV4MPEG pipe format"), |
175 | 175 |
"", |
... | ... |
@@ -390,7 +390,7 @@ static int yuv4_probe(AVProbeData *pd) |
390 | 390 |
} |
391 | 391 |
|
392 | 392 |
#if CONFIG_YUV4MPEGPIPE_DEMUXER |
393 |
-AVInputFormat yuv4mpegpipe_demuxer = { |
|
393 |
+AVInputFormat ff_yuv4mpegpipe_demuxer = { |
|
394 | 394 |
"yuv4mpegpipe", |
395 | 395 |
NULL_IF_CONFIG_SMALL("YUV4MPEG pipe format"), |
396 | 396 |
sizeof(struct frame_attributes), |