Mercurial > libavformat.hg
annotate allformats.c @ 1340:79f90a950fe1 libavformat
add string param to PRINT_KEY for debug
author | bcoudurier |
---|---|
date | Fri, 29 Sep 2006 11:25:40 +0000 |
parents | 024cf76ac4d1 |
children | 0899bfe4105c |
rev | line source |
---|---|
0 | 1 /* |
2 * Register all the formats and protocols | |
3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard | |
4 * | |
5 * This library is free software; you can redistribute it and/or | |
6 * modify it under the terms of the GNU Lesser General Public | |
7 * License as published by the Free Software Foundation; either | |
8 * version 2 of the License, or (at your option) any later version. | |
9 * | |
10 * This library is distributed in the hope that it will be useful, | |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 * Lesser General Public License for more details. | |
14 * | |
15 * You should have received a copy of the GNU Lesser General Public | |
16 * License along with this library; if not, write to the Free Software | |
896
edbe5c3717f9
Update licensing information: The FSF changed postal address.
diego
parents:
885
diff
changeset
|
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
0 | 18 */ |
19 #include "avformat.h" | |
1142
e3a585883bbd
Move initialisations and internal symbols in allformats.h,
gpoirier
parents:
1044
diff
changeset
|
20 #include "allformats.h" |
0 | 21 |
22 /* If you do not call this function, then you can select exactly which | |
23 formats you want to support */ | |
24 | |
25 /** | |
26 * Initialize libavcodec and register all the codecs and formats. | |
27 */ | |
28 void av_register_all(void) | |
29 { | |
553 | 30 static int inited = 0; |
885 | 31 |
553 | 32 if (inited != 0) |
33 return; | |
34 inited = 1; | |
35 | |
0 | 36 avcodec_init(); |
37 avcodec_register_all(); | |
38 | |
1169 | 39 #ifdef CONFIG_FOURXM_DEMUXER |
40 av_register_input_format(&fourxm_demuxer); | |
41 #endif | |
42 #ifdef CONFIG_ADTS_MUXER | |
43 av_register_output_format(&adts_muxer); | |
44 #endif | |
45 #ifdef CONFIG_AIFF_DEMUXER | |
46 av_register_input_format(&aiff_demuxer); | |
47 #endif | |
48 #ifdef CONFIG_AIFF_MUXER | |
49 av_register_output_format(&aiff_muxer); | |
50 #endif | |
51 #ifdef CONFIG_AMR_DEMUXER | |
52 av_register_input_format(&amr_demuxer); | |
53 #endif | |
54 #ifdef CONFIG_AMR_MUXER | |
55 av_register_output_format(&amr_muxer); | |
56 #endif | |
57 #ifdef CONFIG_ASF_DEMUXER | |
58 av_register_input_format(&asf_demuxer); | |
59 #endif | |
60 #ifdef CONFIG_ASF_MUXER | |
61 av_register_output_format(&asf_muxer); | |
62 #endif | |
63 #ifdef CONFIG_ASF_STREAM_MUXER | |
64 av_register_output_format(&asf_stream_muxer); | |
65 #endif | |
66 #ifdef CONFIG_AU_DEMUXER | |
67 av_register_input_format(&au_demuxer); | |
68 #endif | |
69 #ifdef CONFIG_AU_MUXER | |
70 av_register_output_format(&au_muxer); | |
71 #endif | |
72 #if defined(CONFIG_AUDIO_OSS) || defined(CONFIG_AUDIO_BEOS) | |
73 #ifdef CONFIG_AUDIO_DEMUXER | |
74 av_register_input_format(&audio_demuxer); | |
75 #endif | |
76 #ifdef CONFIG_AUDIO_MUXER | |
77 av_register_output_format(&audio_muxer); | |
78 #endif | |
79 #endif /* CONFIG_AUDIO_OSS || CONFIG_AUDIO_BEOS */ | |
80 #ifdef CONFIG_AVI_DEMUXER | |
81 av_register_input_format(&avi_demuxer); | |
82 #endif | |
83 #ifdef CONFIG_AVI_MUXER | |
84 av_register_output_format(&avi_muxer); | |
85 #endif | |
1282
faf64f0d3445
AVISynth support, patch by Steve Lhomme % slhomme A divxcorp P com %
gpoirier
parents:
1186
diff
changeset
|
86 #ifdef CONFIG_AVISYNTH |
faf64f0d3445
AVISynth support, patch by Steve Lhomme % slhomme A divxcorp P com %
gpoirier
parents:
1186
diff
changeset
|
87 av_register_input_format(&avisynth_demuxer); |
faf64f0d3445
AVISynth support, patch by Steve Lhomme % slhomme A divxcorp P com %
gpoirier
parents:
1186
diff
changeset
|
88 #endif |
1169 | 89 #ifdef CONFIG_AVS_DEMUXER |
90 av_register_input_format(&avs_demuxer); | |
91 #endif | |
92 #ifdef CONFIG_CRC_MUXER | |
93 av_register_output_format(&crc_muxer); | |
94 #endif | |
95 #ifdef CONFIG_FRAMECRC_MUXER | |
96 av_register_output_format(&framecrc_muxer); | |
97 #endif | |
98 #ifdef CONFIG_DAUD_DEMUXER | |
99 av_register_input_format(&daud_demuxer); | |
100 #endif | |
101 #ifdef CONFIG_DC1394 | |
102 #ifdef CONFIG_DC1394_DEMUXER | |
103 av_register_input_format(&dc1394_demuxer); | |
104 #endif | |
105 #endif /* CONFIG_DC1394 */ | |
106 #ifdef CONFIG_DV1394 | |
107 #ifdef CONFIG_DV1394_DEMUXER | |
108 av_register_input_format(&dv1394_demuxer); | |
109 #endif | |
110 #endif /* CONFIG_DV1394 */ | |
111 #ifdef CONFIG_DV_DEMUXER | |
112 av_register_input_format(&dv_demuxer); | |
113 #endif | |
114 #ifdef CONFIG_DV_MUXER | |
115 av_register_output_format(&dv_muxer); | |
116 #endif | |
117 #ifdef CONFIG_EA_DEMUXER | |
118 av_register_input_format(&ea_demuxer); | |
119 #endif | |
120 #ifdef CONFIG_FFM_DEMUXER | |
121 av_register_input_format(&ffm_demuxer); | |
122 #endif | |
123 #ifdef CONFIG_FFM_MUXER | |
124 av_register_output_format(&ffm_muxer); | |
125 #endif | |
126 #ifdef CONFIG_FLIC_DEMUXER | |
127 av_register_input_format(&flic_demuxer); | |
128 #endif | |
129 #ifdef CONFIG_FLV_DEMUXER | |
130 av_register_input_format(&flv_demuxer); | |
131 #endif | |
132 #ifdef CONFIG_FLV_MUXER | |
133 av_register_output_format(&flv_muxer); | |
134 #endif | |
135 #ifdef CONFIG_GIF_MUXER | |
136 av_register_output_format(&gif_muxer); | |
137 #endif | |
138 #ifdef CONFIG_GIF_DEMUXER | |
139 av_register_input_format(&gif_demuxer); | |
140 #endif | |
141 #ifdef CONFIG_GXF_DEMUXER | |
142 av_register_input_format(&gxf_demuxer); | |
143 #endif | |
1183 | 144 #if defined(CONFIG_GXF_MUXER) && defined(CONFIG_GPL) |
145 av_register_output_format(&gxf_muxer); | |
146 #endif | |
1169 | 147 #ifdef CONFIG_IDCIN_DEMUXER |
148 av_register_input_format(&idcin_demuxer); | |
149 #endif | |
150 #ifdef CONFIG_ROQ_DEMUXER | |
151 av_register_input_format(&roq_demuxer); | |
152 #endif | |
153 #ifdef CONFIG_IMAGE2_DEMUXER | |
154 av_register_input_format(&image2_demuxer); | |
155 #endif | |
156 #ifdef CONFIG_IMAGE2PIPE_DEMUXER | |
157 av_register_input_format(&image2pipe_demuxer); | |
158 #endif | |
159 #ifdef CONFIG_IMAGE2_MUXER | |
160 av_register_output_format(&image2_muxer); | |
161 #endif | |
162 #ifdef CONFIG_IMAGE2PIPE_MUXER | |
163 av_register_output_format(&image2pipe_muxer); | |
164 #endif | |
165 #ifdef CONFIG_IMAGE_DEMUXER | |
166 av_register_input_format(&image_demuxer); | |
167 #endif | |
168 #ifdef CONFIG_IMAGEPIPE_DEMUXER | |
169 av_register_input_format(&imagepipe_demuxer); | |
170 #endif | |
171 #ifdef CONFIG_IMAGE_MUXER | |
172 av_register_output_format(&image_muxer); | |
173 #endif | |
174 #ifdef CONFIG_IMAGEPIPE_MUXER | |
175 av_register_output_format(&imagepipe_muxer); | |
176 #endif | |
177 #ifdef CONFIG_IPMOVIE_DEMUXER | |
178 av_register_input_format(&ipmovie_demuxer); | |
179 #endif | |
180 #ifdef CONFIG_MATROSKA_DEMUXER | |
181 av_register_input_format(&matroska_demuxer); | |
182 #endif | |
183 #ifdef CONFIG_MM_DEMUXER | |
184 av_register_input_format(&mm_demuxer); | |
185 #endif | |
186 #ifdef CONFIG_MMF_DEMUXER | |
187 av_register_input_format(&mmf_demuxer); | |
188 #endif | |
189 #ifdef CONFIG_MMF_MUXER | |
190 av_register_output_format(&mmf_muxer); | |
191 #endif | |
192 #ifdef CONFIG_MOV_DEMUXER | |
193 av_register_input_format(&mov_demuxer); | |
194 #endif | |
195 #ifdef CONFIG_MOV_MUXER | |
196 av_register_output_format(&mov_muxer); | |
197 #endif | |
198 #ifdef CONFIG_TGP_MUXER | |
199 av_register_output_format(&tgp_muxer); | |
200 #endif | |
201 #ifdef CONFIG_MP4_MUXER | |
202 av_register_output_format(&mp4_muxer); | |
203 #endif | |
204 #ifdef CONFIG_PSP_MUXER | |
205 av_register_output_format(&psp_muxer); | |
206 #endif | |
207 #ifdef CONFIG_TG2_MUXER | |
208 av_register_output_format(&tg2_muxer); | |
209 #endif | |
210 #ifdef CONFIG_MP3_DEMUXER | |
211 av_register_input_format(&mp3_demuxer); | |
212 #endif | |
213 #ifdef CONFIG_MP2_MUXER | |
214 av_register_output_format(&mp2_muxer); | |
215 #endif | |
216 #ifdef CONFIG_MP3_MUXER | |
217 av_register_output_format(&mp3_muxer); | |
218 #endif | |
219 #ifdef CONFIG_MPEG1SYSTEM_MUXER | |
220 av_register_output_format(&mpeg1system_muxer); | |
221 #endif | |
222 #ifdef CONFIG_MPEG1VCD_MUXER | |
223 av_register_output_format(&mpeg1vcd_muxer); | |
224 #endif | |
225 #ifdef CONFIG_MPEG2VOB_MUXER | |
226 av_register_output_format(&mpeg2vob_muxer); | |
227 #endif | |
228 #ifdef CONFIG_MPEG2SVCD_MUXER | |
229 av_register_output_format(&mpeg2svcd_muxer); | |
146 | 230 #endif |
1169 | 231 #ifdef CONFIG_MPEG2DVD_MUXER |
232 av_register_output_format(&mpeg2dvd_muxer); | |
233 #endif | |
234 #ifdef CONFIG_MPEGPS_DEMUXER | |
235 av_register_input_format(&mpegps_demuxer); | |
236 #endif | |
237 #ifdef CONFIG_MPEGTS_DEMUXER | |
238 av_register_input_format(&mpegts_demuxer); | |
239 #endif | |
240 #ifdef CONFIG_MPEGTS_MUXER | |
241 av_register_output_format(&mpegts_muxer); | |
242 #endif | |
243 #ifdef CONFIG_MPJPEG_MUXER | |
244 av_register_output_format(&mpjpeg_muxer); | |
245 #endif | |
1186 | 246 #ifdef CONFIG_MXF_DEMUXER |
247 av_register_input_format(&mxf_demuxer); | |
248 #endif | |
1169 | 249 #ifdef CONFIG_NSV_DEMUXER |
250 av_register_input_format(&nsv_demuxer); | |
251 #endif | |
252 #ifdef CONFIG_NUT_DEMUXER | |
253 av_register_input_format(&nut_demuxer); | |
254 #endif | |
255 #ifdef CONFIG_NUT_MUXER | |
256 av_register_output_format(&nut_muxer); | |
257 #endif | |
258 #ifdef CONFIG_NUV_DEMUXER | |
259 av_register_input_format(&nuv_demuxer); | |
260 #endif | |
261 #ifdef CONFIG_OGG_DEMUXER | |
262 av_register_input_format(&ogg_demuxer); | |
263 #endif | |
682 | 264 #ifdef CONFIG_LIBOGG |
1169 | 265 #ifdef CONFIG_OGG_MUXER |
266 av_register_output_format(&ogg_muxer); | |
267 #endif | |
268 #endif /* CONFIG_LIBOGG */ | |
269 #ifdef CONFIG_STR_DEMUXER | |
270 av_register_input_format(&str_demuxer); | |
271 #endif | |
272 #ifdef CONFIG_SHORTEN_DEMUXER | |
273 av_register_input_format(&shorten_demuxer); | |
274 #endif | |
275 #ifdef CONFIG_FLAC_DEMUXER | |
276 av_register_input_format(&flac_demuxer); | |
277 #endif | |
278 #ifdef CONFIG_FLAC_MUXER | |
279 av_register_output_format(&flac_muxer); | |
280 #endif | |
281 #ifdef CONFIG_AC3_DEMUXER | |
282 av_register_input_format(&ac3_demuxer); | |
283 #endif | |
284 #ifdef CONFIG_AC3_MUXER | |
285 av_register_output_format(&ac3_muxer); | |
286 #endif | |
287 #ifdef CONFIG_DTS_DEMUXER | |
288 av_register_input_format(&dts_demuxer); | |
289 #endif | |
290 #ifdef CONFIG_AAC_DEMUXER | |
291 av_register_input_format(&aac_demuxer); | |
292 #endif | |
293 #ifdef CONFIG_H261_DEMUXER | |
294 av_register_input_format(&h261_demuxer); | |
295 #endif | |
296 #ifdef CONFIG_H261_MUXER | |
297 av_register_output_format(&h261_muxer); | |
298 #endif | |
299 #ifdef CONFIG_H263_DEMUXER | |
300 av_register_input_format(&h263_demuxer); | |
301 #endif | |
302 #ifdef CONFIG_H263_MUXER | |
303 av_register_output_format(&h263_muxer); | |
304 #endif | |
305 #ifdef CONFIG_M4V_DEMUXER | |
306 av_register_input_format(&m4v_demuxer); | |
307 #endif | |
308 #ifdef CONFIG_M4V_MUXER | |
309 av_register_output_format(&m4v_muxer); | |
310 #endif | |
311 #ifdef CONFIG_H264_DEMUXER | |
312 av_register_input_format(&h264_demuxer); | |
313 #endif | |
314 #ifdef CONFIG_H264_MUXER | |
315 av_register_output_format(&h264_muxer); | |
316 #endif | |
317 #ifdef CONFIG_MPEGVIDEO_DEMUXER | |
318 av_register_input_format(&mpegvideo_demuxer); | |
319 #endif | |
320 #ifdef CONFIG_MPEG1VIDEO_MUXER | |
321 av_register_output_format(&mpeg1video_muxer); | |
322 #endif | |
323 #ifdef CONFIG_MPEG2VIDEO_MUXER | |
324 av_register_output_format(&mpeg2video_muxer); | |
325 #endif | |
326 #ifdef CONFIG_MJPEG_DEMUXER | |
327 av_register_input_format(&mjpeg_demuxer); | |
328 #endif | |
329 #ifdef CONFIG_INGENIENT_DEMUXER | |
330 av_register_input_format(&ingenient_demuxer); | |
331 #endif | |
332 #ifdef CONFIG_MJPEG_MUXER | |
333 av_register_output_format(&mjpeg_muxer); | |
334 #endif | |
1174 | 335 #ifdef CONFIG_PCM_S16LE_DEMUXER |
336 av_register_input_format(&pcm_s16le_demuxer); | |
337 #endif | |
338 #ifdef CONFIG_PCM_S16LE_MUXER | |
339 av_register_output_format(&pcm_s16le_muxer); | |
340 #endif | |
341 #ifdef CONFIG_PCM_S16BE_DEMUXER | |
342 av_register_input_format(&pcm_s16be_demuxer); | |
343 #endif | |
344 #ifdef CONFIG_PCM_S16BE_MUXER | |
345 av_register_output_format(&pcm_s16be_muxer); | |
346 #endif | |
347 #ifdef CONFIG_PCM_U16LE_DEMUXER | |
348 av_register_input_format(&pcm_u16le_demuxer); | |
349 #endif | |
350 #ifdef CONFIG_PCM_U16LE_MUXER | |
351 av_register_output_format(&pcm_u16le_muxer); | |
352 #endif | |
353 #ifdef CONFIG_PCM_U16BE_DEMUXER | |
354 av_register_input_format(&pcm_u16be_demuxer); | |
355 #endif | |
356 #ifdef CONFIG_PCM_U16BE_MUXER | |
357 av_register_output_format(&pcm_u16be_muxer); | |
358 #endif | |
359 #ifdef CONFIG_PCM_S8_DEMUXER | |
360 av_register_input_format(&pcm_s8_demuxer); | |
361 #endif | |
362 #ifdef CONFIG_PCM_S8_MUXER | |
363 av_register_output_format(&pcm_s8_muxer); | |
364 #endif | |
365 #ifdef CONFIG_PCM_U8_DEMUXER | |
366 av_register_input_format(&pcm_u8_demuxer); | |
367 #endif | |
368 #ifdef CONFIG_PCM_U8_MUXER | |
369 av_register_output_format(&pcm_u8_muxer); | |
370 #endif | |
371 #ifdef CONFIG_PCM_MULAW_DEMUXER | |
372 av_register_input_format(&pcm_mulaw_demuxer); | |
373 #endif | |
374 #ifdef CONFIG_PCM_MULAW_MUXER | |
375 av_register_output_format(&pcm_mulaw_muxer); | |
376 #endif | |
377 #ifdef CONFIG_PCM_ALAW_DEMUXER | |
378 av_register_input_format(&pcm_alaw_demuxer); | |
379 #endif | |
380 #ifdef CONFIG_PCM_ALAW_MUXER | |
381 av_register_output_format(&pcm_alaw_muxer); | |
382 #endif | |
1169 | 383 #ifdef CONFIG_RAWVIDEO_DEMUXER |
384 av_register_input_format(&rawvideo_demuxer); | |
385 #endif | |
386 #ifdef CONFIG_RAWVIDEO_MUXER | |
387 av_register_output_format(&rawvideo_muxer); | |
388 #endif | |
389 #ifdef CONFIG_NULL_MUXER | |
390 av_register_output_format(&null_muxer); | |
391 #endif | |
392 #ifdef CONFIG_RM_DEMUXER | |
393 av_register_input_format(&rm_demuxer); | |
394 #endif | |
395 #ifdef CONFIG_RM_MUXER | |
396 av_register_output_format(&rm_muxer); | |
397 #endif | |
398 #ifdef CONFIG_NETWORK | |
399 #ifdef CONFIG_RTP_MUXER | |
400 av_register_output_format(&rtp_muxer); | |
401 #endif | |
402 #ifdef CONFIG_RTSP_DEMUXER | |
403 av_register_input_format(&rtsp_demuxer); | |
404 #endif | |
405 #ifdef CONFIG_SDP_DEMUXER | |
406 av_register_input_format(&sdp_demuxer); | |
407 #endif | |
408 #ifdef CONFIG_REDIR_DEMUXER | |
409 av_register_input_format(&redir_demuxer); | |
410 #endif | |
411 #endif /* CONFIG_NETWORK */ | |
412 #ifdef CONFIG_SEGAFILM_DEMUXER | |
413 av_register_input_format(&segafilm_demuxer); | |
414 #endif | |
415 #ifdef CONFIG_VMD_DEMUXER | |
416 av_register_input_format(&vmd_demuxer); | |
417 #endif | |
418 #ifdef CONFIG_SMACKER_DEMUXER | |
419 av_register_input_format(&smacker_demuxer); | |
420 #endif | |
421 #ifdef CONFIG_SOL_DEMUXER | |
422 av_register_input_format(&sol_demuxer); | |
423 #endif | |
424 #ifdef CONFIG_SWF_DEMUXER | |
425 av_register_input_format(&swf_demuxer); | |
426 #endif | |
427 #ifdef CONFIG_SWF_MUXER | |
428 av_register_output_format(&swf_muxer); | |
429 #endif | |
430 #ifdef CONFIG_TTA_DEMUXER | |
431 av_register_input_format(&tta_demuxer); | |
432 #endif | |
433 #ifdef CONFIG_VIDEO4LINUX2 | |
434 #ifdef CONFIG_V4L2_DEMUXER | |
435 av_register_input_format(&v4l2_demuxer); | |
436 #endif | |
437 #endif /* CONFIG_VIDEO4LINUX2 */ | |
438 #if defined(CONFIG_VIDEO4LINUX) || defined(CONFIG_BKTR) | |
439 #ifdef CONFIG_VIDEO_GRAB_DEVICE_DEMUXER | |
440 av_register_input_format(&video_grab_device_demuxer); | |
441 #endif | |
442 #endif /* CONFIG_VIDEO4LINUX || CONFIG_BKTR */ | |
443 #ifdef CONFIG_VOC_DEMUXER | |
444 av_register_input_format(&voc_demuxer); | |
445 #endif | |
446 #ifdef CONFIG_VOC_MUXER | |
447 av_register_output_format(&voc_muxer); | |
448 #endif | |
449 #ifdef CONFIG_WAV_DEMUXER | |
450 av_register_input_format(&wav_demuxer); | |
451 #endif | |
452 #ifdef CONFIG_WAV_MUXER | |
453 av_register_output_format(&wav_muxer); | |
454 #endif | |
455 #ifdef CONFIG_WC3_DEMUXER | |
456 av_register_input_format(&wc3_demuxer); | |
457 #endif | |
458 #ifdef CONFIG_WSAUD_DEMUXER | |
459 av_register_input_format(&wsaud_demuxer); | |
460 #endif | |
461 #ifdef CONFIG_WSVQA_DEMUXER | |
462 av_register_input_format(&wsvqa_demuxer); | |
463 #endif | |
1324 | 464 #ifdef CONFIG_WV_DEMUXER |
465 av_register_input_format(&wv_demuxer); | |
466 #endif | |
1169 | 467 #ifdef CONFIG_YUV4MPEGPIPE_MUXER |
468 av_register_output_format(&yuv4mpegpipe_muxer); | |
469 #endif | |
470 #ifdef CONFIG_YUV4MPEGPIPE_DEMUXER | |
471 av_register_input_format(&yuv4mpegpipe_demuxer); | |
0 | 472 #endif |
473 | |
20 | 474 /* image formats */ |
589
f847832552e5
disable redundant image formats, otherwise we wont get any bugreports about -f image2
michael
parents:
571
diff
changeset
|
475 #if 0 |
20 | 476 av_register_image_format(&pnm_image_format); |
477 av_register_image_format(&pbm_image_format); | |
478 av_register_image_format(&pgm_image_format); | |
479 av_register_image_format(&ppm_image_format); | |
109
c82a6062485e
added new netpbm pam format support (needed for alpha plane support)
bellard
parents:
71
diff
changeset
|
480 av_register_image_format(&pam_image_format); |
20 | 481 av_register_image_format(&pgmyuv_image_format); |
482 av_register_image_format(&yuv_image_format); | |
71 | 483 #ifdef CONFIG_ZLIB |
44 | 484 av_register_image_format(&png_image_format); |
71 | 485 #endif |
47
45308962220f
added jpeg image encoder and decoder (new YUV handling routines and mjpeg codec fixes are necessary to go further)
bellard
parents:
44
diff
changeset
|
486 av_register_image_format(&jpeg_image_format); |
589
f847832552e5
disable redundant image formats, otherwise we wont get any bugreports about -f image2
michael
parents:
571
diff
changeset
|
487 #endif |
885 | 488 av_register_image_format(&gif_image_format); |
639 | 489 // av_register_image_format(&sgi_image_format); heap corruption, dont enable |
20 | 490 |
905
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
896
diff
changeset
|
491 #ifdef CONFIG_PROTOCOLS |
0 | 492 /* file protocols */ |
493 register_protocol(&file_protocol); | |
494 register_protocol(&pipe_protocol); | |
495 #ifdef CONFIG_NETWORK | |
496 register_protocol(&udp_protocol); | |
497 register_protocol(&rtp_protocol); | |
498 register_protocol(&tcp_protocol); | |
499 register_protocol(&http_protocol); | |
500 #endif | |
905
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
896
diff
changeset
|
501 #endif |
0 | 502 } |