Mercurial > libavformat.hg
annotate allformats.c @ 4225:0231b1d5cd15 libavformat
move actual writing before so new size can be taken into account
author | bcoudurier |
---|---|
date | Fri, 16 Jan 2009 01:12:32 +0000 |
parents | ec95366371ba |
children | f7c35963d089 |
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" | |
2545
213268d7594e
move unrelated functions declarations out of allformats.h
aurel
parents:
2534
diff
changeset
|
22 #include "rtp_internal.h" |
3902
5f9bec099c69
Add dynamic payload handlers to rdt.c. These follow the same API as the ones
rbultje
parents:
3862
diff
changeset
|
23 #include "rdt.h" |
0 | 24 |
4094 | 25 #define REGISTER_MUXER(X,x) { \ |
4093
d0b3e91594a5
cosmetics: Break some lines for a more aesthetically pleasing result.
diego
parents:
4091
diff
changeset
|
26 extern AVOutputFormat x##_muxer; \ |
4210
ec95366371ba
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
aurel
parents:
4206
diff
changeset
|
27 if(CONFIG_##X##_MUXER) av_register_output_format(&x##_muxer); } |
4091 | 28 |
4094 | 29 #define REGISTER_DEMUXER(X,x) { \ |
4093
d0b3e91594a5
cosmetics: Break some lines for a more aesthetically pleasing result.
diego
parents:
4091
diff
changeset
|
30 extern AVInputFormat x##_demuxer; \ |
4210
ec95366371ba
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
aurel
parents:
4206
diff
changeset
|
31 if(CONFIG_##X##_DEMUXER) av_register_input_format(&x##_demuxer); } |
4091 | 32 |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
33 #define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x) |
4091 | 34 |
4094 | 35 #define REGISTER_PROTOCOL(X,x) { \ |
4093
d0b3e91594a5
cosmetics: Break some lines for a more aesthetically pleasing result.
diego
parents:
4091
diff
changeset
|
36 extern URLProtocol x##_protocol; \ |
4210
ec95366371ba
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
aurel
parents:
4206
diff
changeset
|
37 if(CONFIG_##X##_PROTOCOL) register_protocol(&x##_protocol); } |
1541
463d731628b3
cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents:
1483
diff
changeset
|
38 |
0 | 39 /* If you do not call this function, then you can select exactly which |
40 formats you want to support */ | |
41 | |
42 /** | |
1975 | 43 * Initialize libavformat and register all the (de)muxers and protocols. |
0 | 44 */ |
45 void av_register_all(void) | |
46 { | |
3035 | 47 static int initialized; |
885 | 48 |
3035 | 49 if (initialized) |
553 | 50 return; |
3035 | 51 initialized = 1; |
553 | 52 |
0 | 53 avcodec_register_all(); |
54 | |
2715 | 55 /* (de)muxers */ |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
56 REGISTER_DEMUXER (AAC, aac); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
57 REGISTER_MUXDEMUX (AC3, ac3); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
58 REGISTER_MUXER (ADTS, adts); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
59 REGISTER_MUXDEMUX (AIFF, aiff); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
60 REGISTER_MUXDEMUX (AMR, amr); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
61 REGISTER_DEMUXER (APC, apc); |
2548 | 62 REGISTER_DEMUXER (APE, ape); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
63 REGISTER_MUXDEMUX (ASF, asf); |
3946 | 64 REGISTER_MUXDEMUX (ASS, ass); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
65 REGISTER_MUXER (ASF_STREAM, asf_stream); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
66 REGISTER_MUXDEMUX (AU, au); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
67 REGISTER_MUXDEMUX (AVI, avi); |
2580
f7e6f4b33f77
Fix avisynth compilation after allformats.h was removed
ramiro
parents:
2561
diff
changeset
|
68 REGISTER_DEMUXER (AVISYNTH, avisynth); |
2956 | 69 REGISTER_MUXER (AVM2, avm2); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
70 REGISTER_DEMUXER (AVS, avs); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
71 REGISTER_DEMUXER (BETHSOFTVID, bethsoftvid); |
3213 | 72 REGISTER_DEMUXER (BFI, bfi); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
73 REGISTER_DEMUXER (C93, c93); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
74 REGISTER_MUXER (CRC, crc); |
3627 | 75 REGISTER_MUXDEMUX (DAUD, daud); |
3272
07038dc492ab
Import Dirac demuxer/muxer from SoC branch; written by Marco Gerards,
lu_zero
parents:
3269
diff
changeset
|
76 REGISTER_MUXDEMUX (DIRAC, dirac); |
4004 | 77 REGISTER_MUXDEMUX (DNXHD, dnxhd); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
78 REGISTER_DEMUXER (DSICIN, dsicin); |
3235 | 79 REGISTER_MUXDEMUX (DTS, dts); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
80 REGISTER_MUXDEMUX (DV, dv); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
81 REGISTER_DEMUXER (DXA, dxa); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
82 REGISTER_DEMUXER (EA, ea); |
2701
25028505671c
add support for demuxing Electronic Arts .cdata files
aurel
parents:
2682
diff
changeset
|
83 REGISTER_DEMUXER (EA_CDATA, ea_cdata); |
3862 | 84 REGISTER_MUXDEMUX (EAC3, eac3); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
85 REGISTER_MUXDEMUX (FFM, ffm); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
86 REGISTER_MUXDEMUX (FLAC, flac); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
87 REGISTER_DEMUXER (FLIC, flic); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
88 REGISTER_MUXDEMUX (FLV, flv); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
89 REGISTER_DEMUXER (FOURXM, fourxm); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
90 REGISTER_MUXER (FRAMECRC, framecrc); |
3577
c1762e7b1ff3
Remove gif demuxer, the code contains a gif decoder and lzw decoder neither
michael
parents:
3556
diff
changeset
|
91 REGISTER_MUXER (GIF, gif); |
3269
55d4f01c9728
raw GSM demuxer (does not work yet as parser is missing)
michael
parents:
3235
diff
changeset
|
92 REGISTER_DEMUXER (GSM, gsm); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
93 REGISTER_MUXDEMUX (GXF, gxf); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
94 REGISTER_MUXDEMUX (H261, h261); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
95 REGISTER_MUXDEMUX (H263, h263); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
96 REGISTER_MUXDEMUX (H264, h264); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
97 REGISTER_DEMUXER (IDCIN, idcin); |
3189 | 98 REGISTER_DEMUXER (IFF, iff); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
99 REGISTER_MUXDEMUX (IMAGE2, image2); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
100 REGISTER_MUXDEMUX (IMAGE2PIPE, image2pipe); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
101 REGISTER_DEMUXER (INGENIENT, ingenient); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
102 REGISTER_DEMUXER (IPMOVIE, ipmovie); |
3143 | 103 REGISTER_MUXER (IPOD, ipod); |
2911 | 104 REGISTER_DEMUXER (LMLM4, lmlm4); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
105 REGISTER_MUXDEMUX (M4V, m4v); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
106 REGISTER_MUXDEMUX (MATROSKA, matroska); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
107 REGISTER_MUXER (MATROSKA_AUDIO, matroska_audio); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
108 REGISTER_MUXDEMUX (MJPEG, mjpeg); |
3405 | 109 REGISTER_DEMUXER (MLP, mlp); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
110 REGISTER_DEMUXER (MM, mm); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
111 REGISTER_MUXDEMUX (MMF, mmf); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
112 REGISTER_MUXDEMUX (MOV, mov); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
113 REGISTER_MUXER (MP2, mp2); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
114 REGISTER_MUXDEMUX (MP3, mp3); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
115 REGISTER_MUXER (MP4, mp4); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
116 REGISTER_DEMUXER (MPC, mpc); |
2709 | 117 REGISTER_DEMUXER (MPC8, mpc8); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
118 REGISTER_MUXER (MPEG1SYSTEM, mpeg1system); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
119 REGISTER_MUXER (MPEG1VCD, mpeg1vcd); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
120 REGISTER_MUXER (MPEG1VIDEO, mpeg1video); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
121 REGISTER_MUXER (MPEG2DVD, mpeg2dvd); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
122 REGISTER_MUXER (MPEG2SVCD, mpeg2svcd); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
123 REGISTER_MUXER (MPEG2VIDEO, mpeg2video); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
124 REGISTER_MUXER (MPEG2VOB, mpeg2vob); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
125 REGISTER_DEMUXER (MPEGPS, mpegps); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
126 REGISTER_MUXDEMUX (MPEGTS, mpegts); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
127 REGISTER_DEMUXER (MPEGTSRAW, mpegtsraw); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
128 REGISTER_DEMUXER (MPEGVIDEO, mpegvideo); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
129 REGISTER_MUXER (MPJPEG, mpjpeg); |
3148 | 130 REGISTER_DEMUXER (MSNWC_TCP, msnwc_tcp); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
131 REGISTER_DEMUXER (MTV, mtv); |
3556 | 132 REGISTER_DEMUXER (MVI, mvi); |
3780
261cd3e672e5
Remaining parts of GSoC MXF muxer by Zhentan Feng.
cehoyos
parents:
3757
diff
changeset
|
133 REGISTER_MUXDEMUX (MXF, mxf); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
134 REGISTER_DEMUXER (NSV, nsv); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
135 REGISTER_MUXER (NULL, null); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
136 REGISTER_MUXDEMUX (NUT, nut); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
137 REGISTER_DEMUXER (NUV, nuv); |
2731 | 138 REGISTER_MUXDEMUX (OGG, ogg); |
3439 | 139 REGISTER_DEMUXER (OMA, oma); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
140 REGISTER_MUXDEMUX (PCM_ALAW, pcm_alaw); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
141 REGISTER_MUXDEMUX (PCM_MULAW, pcm_mulaw); |
3757
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
142 REGISTER_MUXDEMUX (PCM_F64BE, pcm_f64be); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
143 REGISTER_MUXDEMUX (PCM_F64LE, pcm_f64le); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
144 REGISTER_MUXDEMUX (PCM_F32BE, pcm_f32be); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
145 REGISTER_MUXDEMUX (PCM_F32LE, pcm_f32le); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
146 REGISTER_MUXDEMUX (PCM_S32BE, pcm_s32be); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
147 REGISTER_MUXDEMUX (PCM_S32LE, pcm_s32le); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
148 REGISTER_MUXDEMUX (PCM_S24BE, pcm_s24be); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
149 REGISTER_MUXDEMUX (PCM_S24LE, pcm_s24le); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
150 REGISTER_MUXDEMUX (PCM_S16BE, pcm_s16be); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
151 REGISTER_MUXDEMUX (PCM_S16LE, pcm_s16le); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
152 REGISTER_MUXDEMUX (PCM_S8, pcm_s8); |
3757
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
153 REGISTER_MUXDEMUX (PCM_U32BE, pcm_u32be); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
154 REGISTER_MUXDEMUX (PCM_U32LE, pcm_u32le); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
155 REGISTER_MUXDEMUX (PCM_U24BE, pcm_u24be); |
7ab85dd1ef03
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
pross
parents:
3627
diff
changeset
|
156 REGISTER_MUXDEMUX (PCM_U24LE, pcm_u24le); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
157 REGISTER_MUXDEMUX (PCM_U16BE, pcm_u16be); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
158 REGISTER_MUXDEMUX (PCM_U16LE, pcm_u16le); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
159 REGISTER_MUXDEMUX (PCM_U8, pcm_u8); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
160 REGISTER_MUXER (PSP, psp); |
2880 | 161 REGISTER_DEMUXER (PVA, pva); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
162 REGISTER_MUXDEMUX (RAWVIDEO, rawvideo); |
3186 | 163 REGISTER_DEMUXER (REDIR, redir); |
3172 | 164 REGISTER_DEMUXER (RL2, rl2); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
165 REGISTER_MUXDEMUX (RM, rm); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
166 REGISTER_MUXDEMUX (ROQ, roq); |
3197 | 167 REGISTER_DEMUXER (RPL, rpl); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
168 REGISTER_MUXER (RTP, rtp); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
169 REGISTER_DEMUXER (RTSP, rtsp); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
170 REGISTER_DEMUXER (SDP, sdp); |
4206 | 171 #if CONFIG_SDP_DEMUXER |
1419 | 172 av_register_rtp_dynamic_payload_handlers(); |
3902
5f9bec099c69
Add dynamic payload handlers to rdt.c. These follow the same API as the ones
rbultje
parents:
3862
diff
changeset
|
173 av_register_rdt_dynamic_payload_handlers(); |
1169 | 174 #endif |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
175 REGISTER_DEMUXER (SEGAFILM, segafilm); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
176 REGISTER_DEMUXER (SHORTEN, shorten); |
2659 | 177 REGISTER_DEMUXER (SIFF, siff); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
178 REGISTER_DEMUXER (SMACKER, smacker); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
179 REGISTER_DEMUXER (SOL, sol); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
180 REGISTER_DEMUXER (STR, str); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
181 REGISTER_MUXDEMUX (SWF, swf); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
182 REGISTER_MUXER (TG2, tg2); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
183 REGISTER_MUXER (TGP, tgp); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
184 REGISTER_DEMUXER (THP, thp); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
185 REGISTER_DEMUXER (TIERTEXSEQ, tiertexseq); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
186 REGISTER_DEMUXER (TTA, tta); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
187 REGISTER_DEMUXER (TXD, txd); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
188 REGISTER_DEMUXER (VC1, vc1); |
3594 | 189 REGISTER_MUXDEMUX (VC1T, vc1t); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
190 REGISTER_DEMUXER (VMD, vmd); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
191 REGISTER_MUXDEMUX (VOC, voc); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
192 REGISTER_MUXDEMUX (WAV, wav); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
193 REGISTER_DEMUXER (WC3, wc3); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
194 REGISTER_DEMUXER (WSAUD, wsaud); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
195 REGISTER_DEMUXER (WSVQA, wsvqa); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
196 REGISTER_DEMUXER (WV, wv); |
3220 | 197 REGISTER_DEMUXER (XA, xa); |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
198 REGISTER_MUXDEMUX (YUV4MPEGPIPE, yuv4mpegpipe); |
0 | 199 |
2716
570c003fe0ed
Move external library registrations into a separate block after all native
diego
parents:
2715
diff
changeset
|
200 /* external libraries */ |
570c003fe0ed
Move external library registrations into a separate block after all native
diego
parents:
2715
diff
changeset
|
201 REGISTER_MUXDEMUX (LIBNUT, libnut); |
570c003fe0ed
Move external library registrations into a separate block after all native
diego
parents:
2715
diff
changeset
|
202 |
2715 | 203 /* protocols */ |
2531
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
204 REGISTER_PROTOCOL (FILE, file); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
205 REGISTER_PROTOCOL (HTTP, http); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
206 REGISTER_PROTOCOL (PIPE, pipe); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
207 REGISTER_PROTOCOL (RTP, rtp); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
208 REGISTER_PROTOCOL (TCP, tcp); |
d126dc8b628c
cosmetics: Add some whitespace for better readability.
diego
parents:
2526
diff
changeset
|
209 REGISTER_PROTOCOL (UDP, udp); |
0 | 210 } |