Mercurial > libavformat.hg
annotate allformats.c @ 1967:8c20d8c19e1f libavformat
fix demuxing of IMAG0002.ASF
author | michael |
---|---|
date | Fri, 30 Mar 2007 16:20:40 +0000 |
parents | 7ccf23e42481 |
children | 51c5fe603dba |
rev | line source |
---|---|
0 | 1 /* |
2 * Register all the formats and protocols | |
3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard | |
4 * | |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1324
diff
changeset
|
5 * This file is part of FFmpeg. |
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1324
diff
changeset
|
6 * |
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1324
diff
changeset
|
7 * FFmpeg is free software; you can redistribute it and/or |
0 | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1324
diff
changeset
|
10 * version 2.1 of the License, or (at your option) any later version. |
0 | 11 * |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1324
diff
changeset
|
12 * FFmpeg is distributed in the hope that it will be useful, |
0 | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 * Lesser General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU Lesser General Public | |
1358
0899bfe4105c
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
1324
diff
changeset
|
18 * License along with FFmpeg; if not, write to the Free Software |
896
edbe5c3717f9
Update licensing information: The FSF changed postal address.
diego
parents:
885
diff
changeset
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
0 | 20 */ |
21 #include "avformat.h" | |
1142
e3a585883bbd
Move initialisations and internal symbols in allformats.h,
gpoirier
parents:
1044
diff
changeset
|
22 #include "allformats.h" |
0 | 23 |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
24 #define REGISTER_MUXER(X,x) \ |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
25 if(ENABLE_##X##_MUXER) av_register_output_format(&x##_muxer) |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
26 #define REGISTER_DEMUXER(X,x) \ |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
27 if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer) |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
28 #define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x) |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
29 |
0 | 30 /* If you do not call this function, then you can select exactly which |
31 formats you want to support */ | |
32 | |
33 /** | |
34 * Initialize libavcodec and register all the codecs and formats. | |
35 */ | |
36 void av_register_all(void) | |
37 { | |
553 | 38 static int inited = 0; |
885 | 39 |
553 | 40 if (inited != 0) |
41 return; | |
42 inited = 1; | |
43 | |
0 | 44 avcodec_init(); |
45 avcodec_register_all(); | |
46 | |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
47 REGISTER_DEMUXER (AAC, aac); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
48 REGISTER_MUXDEMUX(AC3, ac3); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
49 REGISTER_MUXER (ADTS, adts); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
50 REGISTER_MUXDEMUX(AIFF, aiff); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
51 REGISTER_MUXDEMUX(AMR, amr); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
52 REGISTER_MUXDEMUX(ASF, asf); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
53 REGISTER_MUXER (ASF_STREAM, asf_stream); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
54 REGISTER_MUXDEMUX(AU, au); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
55 REGISTER_MUXDEMUX(AUDIO, audio); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
56 REGISTER_MUXDEMUX(AVI, avi); |
1282
faf64f0d3445
AVISynth support, patch by Steve Lhomme % slhomme A divxcorp P com %
gpoirier
parents:
1186
diff
changeset
|
57 #ifdef CONFIG_AVISYNTH |
faf64f0d3445
AVISynth support, patch by Steve Lhomme % slhomme A divxcorp P com %
gpoirier
parents:
1186
diff
changeset
|
58 av_register_input_format(&avisynth_demuxer); |
faf64f0d3445
AVISynth support, patch by Steve Lhomme % slhomme A divxcorp P com %
gpoirier
parents:
1186
diff
changeset
|
59 #endif |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
60 REGISTER_DEMUXER (AVS, avs); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
61 REGISTER_MUXER (CRC, crc); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
62 REGISTER_DEMUXER (DAUD, daud); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
63 REGISTER_DEMUXER (DC1394, dc1394); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
64 REGISTER_DEMUXER (DSICIN, dsicin); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
65 REGISTER_DEMUXER (DTS, dts); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
66 REGISTER_MUXDEMUX(DV, dv); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
67 REGISTER_DEMUXER (DV1394, dv1394); |
1918 | 68 REGISTER_DEMUXER (DXA, dxa); |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
69 REGISTER_DEMUXER (EA, ea); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
70 REGISTER_MUXDEMUX(FFM, ffm); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
71 REGISTER_MUXDEMUX(FLAC, flac); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
72 REGISTER_DEMUXER (FLIC, flic); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
73 REGISTER_MUXDEMUX(FLV, flv); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
74 REGISTER_DEMUXER (FOURXM, fourxm); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
75 REGISTER_MUXER (FRAMECRC, framecrc); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
76 REGISTER_MUXDEMUX(GIF, gif); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
77 REGISTER_DEMUXER (GXF, gxf); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
78 REGISTER_MUXER (GXF, gxf); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
79 REGISTER_MUXDEMUX(H261, h261); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
80 REGISTER_MUXDEMUX(H263, h263); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
81 REGISTER_MUXDEMUX(H264, h264); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
82 REGISTER_DEMUXER (IDCIN, idcin); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
83 REGISTER_MUXDEMUX(IMAGE2, image2); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
84 REGISTER_MUXDEMUX(IMAGE2PIPE, image2pipe); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
85 REGISTER_DEMUXER (INGENIENT, ingenient); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
86 REGISTER_DEMUXER (IPMOVIE, ipmovie); |
1769 | 87 if (!ENABLE_NUT_DEMUXER) REGISTER_DEMUXER (LIBNUT, libnut); |
88 REGISTER_MUXER (LIBNUT, libnut); | |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
89 REGISTER_MUXDEMUX(M4V, m4v); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
90 REGISTER_DEMUXER (MATROSKA, matroska); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
91 REGISTER_MUXDEMUX(MJPEG, mjpeg); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
92 REGISTER_DEMUXER (MM, mm); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
93 REGISTER_MUXDEMUX(MMF, mmf); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
94 REGISTER_MUXDEMUX(MOV, mov); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
95 REGISTER_MUXER (MP2, mp2); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
96 REGISTER_MUXDEMUX(MP3, mp3); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
97 REGISTER_MUXER (MP4, mp4); |
1602 | 98 REGISTER_DEMUXER (MPC, mpc); |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
99 REGISTER_MUXER (MPEG1SYSTEM, mpeg1system); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
100 REGISTER_MUXER (MPEG1VCD, mpeg1vcd); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
101 REGISTER_MUXER (MPEG1VIDEO, mpeg1video); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
102 REGISTER_MUXER (MPEG2DVD, mpeg2dvd); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
103 REGISTER_MUXER (MPEG2SVCD, mpeg2svcd); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
104 REGISTER_MUXER (MPEG2VIDEO, mpeg2video); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
105 REGISTER_MUXER (MPEG2VOB, mpeg2vob); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
106 REGISTER_DEMUXER (MPEGPS, mpegps); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
107 REGISTER_MUXDEMUX(MPEGTS, mpegts); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
108 REGISTER_DEMUXER (MPEGVIDEO, mpegvideo); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
109 REGISTER_MUXER (MPJPEG, mpjpeg); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
110 REGISTER_DEMUXER (MTV, mtv); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
111 REGISTER_DEMUXER (MXF, mxf); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
112 REGISTER_DEMUXER (NSV, nsv); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
113 REGISTER_MUXER (NULL, null); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
114 REGISTER_DEMUXER (NUT, nut); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
115 REGISTER_DEMUXER (NUV, nuv); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
116 REGISTER_DEMUXER (OGG, ogg); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
117 REGISTER_MUXER (OGG, ogg); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
118 REGISTER_MUXDEMUX(PCM_ALAW, pcm_alaw); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
119 REGISTER_MUXDEMUX(PCM_MULAW, pcm_mulaw); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
120 REGISTER_MUXDEMUX(PCM_S16BE, pcm_s16be); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
121 REGISTER_MUXDEMUX(PCM_S16LE, pcm_s16le); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
122 REGISTER_MUXDEMUX(PCM_S8, pcm_s8); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
123 REGISTER_MUXDEMUX(PCM_U16BE, pcm_u16be); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
124 REGISTER_MUXDEMUX(PCM_U16LE, pcm_u16le); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
125 REGISTER_MUXDEMUX(PCM_U8, pcm_u8); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
126 REGISTER_MUXER (PSP, psp); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
127 REGISTER_MUXDEMUX(RAWVIDEO, rawvideo); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
128 REGISTER_MUXDEMUX(RM, rm); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
129 REGISTER_DEMUXER (ROQ, roq); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
130 REGISTER_DEMUXER (REDIR, redir); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
131 REGISTER_MUXER (RTP, rtp); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
132 REGISTER_DEMUXER (RTSP, rtsp); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
133 REGISTER_DEMUXER (SDP, sdp); |
1690 | 134 #ifdef CONFIG_NETWORK |
1419 | 135 av_register_rtp_dynamic_payload_handlers(); |
1169 | 136 #endif |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
137 REGISTER_DEMUXER (SEGAFILM, segafilm); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
138 REGISTER_DEMUXER (SHORTEN, shorten); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
139 REGISTER_DEMUXER (SMACKER, smacker); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
140 REGISTER_DEMUXER (SOL, sol); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
141 REGISTER_DEMUXER (STR, str); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
142 REGISTER_MUXDEMUX(SWF, swf); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
143 REGISTER_MUXER (TG2, tg2); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
144 REGISTER_MUXER (TGP, tgp); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
145 REGISTER_DEMUXER (TIERTEXSEQ, tiertexseq); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
146 REGISTER_DEMUXER (TTA, tta); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
147 REGISTER_DEMUXER (V4L2, v4l2); |
1773 | 148 REGISTER_DEMUXER (VC1, vc1); |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
149 REGISTER_DEMUXER (VIDEO_GRAB_DEVICE, video_grab_device); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
150 REGISTER_DEMUXER (VMD, vmd); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
151 REGISTER_MUXDEMUX(VOC, voc); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
152 REGISTER_MUXDEMUX(WAV, wav); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
153 REGISTER_DEMUXER (WC3, wc3); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
154 REGISTER_DEMUXER (WSAUD, wsaud); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
155 REGISTER_DEMUXER (WSVQA, wsvqa); |
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
156 REGISTER_DEMUXER (WV, wv); |
1580
32bfc91cb541
Original X11 device demuxer patch from Clemens Fruhwirth
gpoirier
parents:
1579
diff
changeset
|
157 REGISTER_DEMUXER (X11_GRAB_DEVICE, x11_grab_device); |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
158 REGISTER_MUXDEMUX(YUV4MPEGPIPE, yuv4mpegpipe); |
0 | 159 |
905
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
896
diff
changeset
|
160 #ifdef CONFIG_PROTOCOLS |
0 | 161 /* file protocols */ |
162 register_protocol(&file_protocol); | |
163 register_protocol(&pipe_protocol); | |
164 #ifdef CONFIG_NETWORK | |
165 register_protocol(&udp_protocol); | |
166 register_protocol(&rtp_protocol); | |
167 register_protocol(&tcp_protocol); | |
168 register_protocol(&http_protocol); | |
169 #endif | |
905
dbc0145bbf11
Add --disable-protocols option to configure to disable I/O protocol from
diego
parents:
896
diff
changeset
|
170 #endif |
0 | 171 } |