Makefile 27.1 KB
Newer Older
1 2
include $(SUBDIR)../config.mak

3
NAME = avformat
4
FFLIBS = avcodec avutil
5

6 7 8
HEADERS = avformat.h                                                    \
          avio.h                                                        \
          version.h                                                     \
Fabrice Bellard's avatar
Fabrice Bellard committed
9

10
OBJS = allformats.o         \
11 12
       avio.o               \
       aviobuf.o            \
13
       cutils.o             \
14
       format.o             \
15 16
       id3v1.o              \
       id3v2.o              \
17
       metadata.o           \
18
       mux.o                \
19 20
       options.o            \
       os_support.o         \
21
       riff.o               \
22 23
       sdp.o                \
       seek.o               \
24
       url.o                \
25
       utils.o              \
26

27
OBJS-$(CONFIG_NETWORK)                   += network.o
28
OBJS-$(CONFIG_RIFFDEC)                   += riffdec.o
29
OBJS-$(CONFIG_RIFFENC)                   += riffenc.o
30 31 32 33 34 35 36 37 38 39 40 41
OBJS-$(CONFIG_RTPDEC)                    += rdt.o                       \
                                            rtp.o                       \
                                            rtpdec.o                    \
                                            rtpdec_amr.o                \
                                            rtpdec_asf.o                \
                                            rtpdec_g726.o               \
                                            rtpdec_h263.o               \
                                            rtpdec_h263_rfc2190.o       \
                                            rtpdec_h264.o               \
                                            rtpdec_ilbc.o               \
                                            rtpdec_jpeg.o               \
                                            rtpdec_latm.o               \
42
                                            rtpdec_mpeg12.o             \
43
                                            rtpdec_mpeg4.o              \
44
                                            rtpdec_mpegts.o             \
45 46 47 48 49
                                            rtpdec_qcelp.o              \
                                            rtpdec_qdm2.o               \
                                            rtpdec_qt.o                 \
                                            rtpdec_svq3.o               \
                                            rtpdec_vp8.o                \
50 51
                                            rtpdec_xiph.o               \
                                            srtp.o
52
OBJS-$(CONFIG_RTPENC_CHAIN)              += rtpenc_chain.o rtp.o
53
OBJS-$(CONFIG_SHARED)                    += log2_tab.o
54

55
# muxers/demuxers
56
OBJS-$(CONFIG_A64_MUXER)                 += a64.o rawenc.o
57
OBJS-$(CONFIG_AAC_DEMUXER)               += aacdec.o apetag.o img2.o rawdec.o
58 59
OBJS-$(CONFIG_AC3_DEMUXER)               += ac3dec.o rawdec.o
OBJS-$(CONFIG_AC3_MUXER)                 += rawenc.o
Vladimir Voroshilov's avatar
Vladimir Voroshilov committed
60
OBJS-$(CONFIG_ACT_DEMUXER)               += act.o
Peter Ross's avatar
Peter Ross committed
61
OBJS-$(CONFIG_ADF_DEMUXER)               += bintext.o sauce.o
James Almer's avatar
James Almer committed
62
OBJS-$(CONFIG_ADP_DEMUXER)               += adp.o
63
OBJS-$(CONFIG_ADX_DEMUXER)               += adxdec.o
Justin Ruggles's avatar
Justin Ruggles committed
64
OBJS-$(CONFIG_ADX_MUXER)                 += rawenc.o
65
OBJS-$(CONFIG_ADTS_MUXER)                += adtsenc.o apetag.o img2.o
66
OBJS-$(CONFIG_AEA_DEMUXER)               += aea.o pcm.o
Paul B Mahol's avatar
Paul B Mahol committed
67
OBJS-$(CONFIG_AFC_DEMUXER)               += afc.o
68 69
OBJS-$(CONFIG_AIFF_DEMUXER)              += aiffdec.o pcm.o isom.o \
                                            mov_chan.o
70
OBJS-$(CONFIG_AIFF_MUXER)                += aiffenc.o isom.o id3v2enc.o
71 72
OBJS-$(CONFIG_AMR_DEMUXER)               += amr.o
OBJS-$(CONFIG_AMR_MUXER)                 += amr.o
73
OBJS-$(CONFIG_ANM_DEMUXER)               += anm.o
Anssi Hannula's avatar
Anssi Hannula committed
74
OBJS-$(CONFIG_APC_DEMUXER)               += apc.o
75
OBJS-$(CONFIG_APE_DEMUXER)               += ape.o apetag.o img2.o
76
OBJS-$(CONFIG_AQTITLE_DEMUXER)           += aqtitledec.o subtitles.o
77
OBJS-$(CONFIG_ASF_DEMUXER)               += asfdec.o asf.o asfcrypt.o \
78 79
                                            avlanguage.o
OBJS-$(CONFIG_ASF_MUXER)                 += asfenc.o asf.o
80
OBJS-$(CONFIG_ASS_DEMUXER)               += assdec.o subtitles.o
Michael Niedermayer's avatar
Michael Niedermayer committed
81
OBJS-$(CONFIG_ASS_MUXER)                 += assenc.o
James Almer's avatar
James Almer committed
82 83
OBJS-$(CONFIG_AST_DEMUXER)               += ast.o astdec.o
OBJS-$(CONFIG_AST_MUXER)                 += ast.o astenc.o
84
OBJS-$(CONFIG_AU_DEMUXER)                += au.o pcm.o
85
OBJS-$(CONFIG_AU_MUXER)                  += au.o rawenc.o
86 87
OBJS-$(CONFIG_AVI_DEMUXER)               += avidec.o
OBJS-$(CONFIG_AVI_MUXER)                 += avienc.o
88
OBJS-$(CONFIG_AVISYNTH)                  += avisynth.o
89
OBJS-$(CONFIG_AVM2_MUXER)                += swfenc.o swf.o
90
OBJS-$(CONFIG_AVR_DEMUXER)               += avr.o pcm.o
91
OBJS-$(CONFIG_AVS_DEMUXER)               += avs.o vocdec.o voc.o
92
OBJS-$(CONFIG_BETHSOFTVID_DEMUXER)       += bethsoftvid.o
Sisir Koppaka's avatar
Sisir Koppaka committed
93
OBJS-$(CONFIG_BFI_DEMUXER)               += bfi.o
Peter Ross's avatar
Peter Ross committed
94
OBJS-$(CONFIG_BINK_DEMUXER)              += bink.o
Peter Ross's avatar
Peter Ross committed
95
OBJS-$(CONFIG_BINTEXT_DEMUXER)           += bintext.o sauce.o
96 97
OBJS-$(CONFIG_BIT_DEMUXER)               += bit.o
OBJS-$(CONFIG_BIT_MUXER)                 += bit.o
98
OBJS-$(CONFIG_BMV_DEMUXER)               += bmv.o
99
OBJS-$(CONFIG_BOA_DEMUXER)               += boadec.o
Paul B Mahol's avatar
Paul B Mahol committed
100
OBJS-$(CONFIG_BRSTM_DEMUXER)             += brstm.o
101
OBJS-$(CONFIG_C93_DEMUXER)               += c93.o vocdec.o voc.o
102
OBJS-$(CONFIG_CAF_DEMUXER)               += cafdec.o caf.o mov.o mov_chan.o \
103
                                            isom.o
Carl Eugen Hoyos's avatar
Carl Eugen Hoyos committed
104
OBJS-$(CONFIG_CAF_MUXER)                 += cafenc.o caf.o riff.o isom.o
105
OBJS-$(CONFIG_CAVSVIDEO_DEMUXER)         += cavsvideodec.o rawdec.o
106
OBJS-$(CONFIG_CAVSVIDEO_MUXER)           += rawenc.o
Michael Tison's avatar
Michael Tison committed
107
OBJS-$(CONFIG_CDG_DEMUXER)               += cdg.o
Paul B Mahol's avatar
Paul B Mahol committed
108
OBJS-$(CONFIG_CDXL_DEMUXER)              += cdxl.o
109
OBJS-$(CONFIG_CONCAT_DEMUXER)            += concatdec.o
110
OBJS-$(CONFIG_CRC_MUXER)                 += crcenc.o
111 112
OBJS-$(CONFIG_DATA_DEMUXER)              += rawdec.o
OBJS-$(CONFIG_DATA_MUXER)                += rawdec.o
113
OBJS-$(CONFIG_DAUD_DEMUXER)              += daud.o
Peter Ross's avatar
Peter Ross committed
114
OBJS-$(CONFIG_DAUD_MUXER)                += daud.o
115
OBJS-$(CONFIG_DFA_DEMUXER)               += dfa.o
116 117 118 119
OBJS-$(CONFIG_DIRAC_DEMUXER)             += diracdec.o rawdec.o
OBJS-$(CONFIG_DIRAC_MUXER)               += rawenc.o
OBJS-$(CONFIG_DNXHD_DEMUXER)             += dnxhddec.o rawdec.o
OBJS-$(CONFIG_DNXHD_MUXER)               += rawenc.o
120
OBJS-$(CONFIG_DSICIN_DEMUXER)            += dsicin.o
Paul B Mahol's avatar
Paul B Mahol committed
121
OBJS-$(CONFIG_DTSHD_DEMUXER)             += dtshddec.o
122 123
OBJS-$(CONFIG_DTS_DEMUXER)               += dtsdec.o rawdec.o
OBJS-$(CONFIG_DTS_MUXER)                 += rawenc.o
124
OBJS-$(CONFIG_DV_DEMUXER)                += dv.o
125
OBJS-$(CONFIG_DV_MUXER)                  += dvenc.o
126
OBJS-$(CONFIG_DXA_DEMUXER)               += dxa.o
127
OBJS-$(CONFIG_EA_CDATA_DEMUXER)          += eacdata.o
128
OBJS-$(CONFIG_EA_DEMUXER)                += electronicarts.o
129 130
OBJS-$(CONFIG_EAC3_DEMUXER)              += ac3dec.o rawdec.o
OBJS-$(CONFIG_EAC3_MUXER)                += rawenc.o
131
OBJS-$(CONFIG_EPAF_DEMUXER)              += epafdec.o pcm.o
Baptiste Coudurier's avatar
Baptiste Coudurier committed
132 133
OBJS-$(CONFIG_FFM_DEMUXER)               += ffmdec.o
OBJS-$(CONFIG_FFM_MUXER)                 += ffmenc.o
134 135
OBJS-$(CONFIG_FFMETADATA_DEMUXER)        += ffmetadec.o
OBJS-$(CONFIG_FFMETADATA_MUXER)          += ffmetaenc.o
136 137
OBJS-$(CONFIG_FILMSTRIP_DEMUXER)         += filmstripdec.o
OBJS-$(CONFIG_FILMSTRIP_MUXER)           += filmstripenc.o
138
OBJS-$(CONFIG_FLAC_DEMUXER)              += flacdec.o rawdec.o \
139
                                            flac_picture.o   \
140
                                            oggparsevorbis.o \
141
                                            vorbiscomment.o
142 143
OBJS-$(CONFIG_FLAC_MUXER)                += flacenc.o flacenc_header.o \
                                            vorbiscomment.o
144 145
OBJS-$(CONFIG_FLIC_DEMUXER)              += flic.o
OBJS-$(CONFIG_FLV_DEMUXER)               += flvdec.o
146
OBJS-$(CONFIG_FLV_MUXER)                 += flvenc.o avc.o
147
OBJS-$(CONFIG_FOURXM_DEMUXER)            += 4xm.o
148 149
OBJS-$(CONFIG_FRAMECRC_MUXER)            += framecrcenc.o framehash.o
OBJS-$(CONFIG_FRAMEMD5_MUXER)            += md5enc.o framehash.o
Peter Ross's avatar
Peter Ross committed
150
OBJS-$(CONFIG_FRM_DEMUXER)               += frmdec.o
151
OBJS-$(CONFIG_GIF_MUXER)                 += gif.o
Vitaliy E Sugrobov's avatar
Vitaliy E Sugrobov committed
152
OBJS-$(CONFIG_GIF_DEMUXER)               += gifdec.o
153
OBJS-$(CONFIG_GSM_DEMUXER)               += gsmdec.o
154
OBJS-$(CONFIG_GXF_DEMUXER)               += gxf.o
155
OBJS-$(CONFIG_GXF_MUXER)                 += gxfenc.o audiointerleave.o
156
OBJS-$(CONFIG_G722_DEMUXER)              += g722.o rawdec.o
157
OBJS-$(CONFIG_G722_MUXER)                += rawenc.o
158
OBJS-$(CONFIG_G723_1_DEMUXER)            += g723_1.o
Mohamed Naufal's avatar
Mohamed Naufal committed
159
OBJS-$(CONFIG_G723_1_MUXER)              += rawenc.o
160
OBJS-$(CONFIG_G729_DEMUXER)              += g729dec.o
161 162 163 164 165 166
OBJS-$(CONFIG_H261_DEMUXER)              += h261dec.o rawdec.o
OBJS-$(CONFIG_H261_MUXER)                += rawenc.o
OBJS-$(CONFIG_H263_DEMUXER)              += h263dec.o rawdec.o
OBJS-$(CONFIG_H263_MUXER)                += rawenc.o
OBJS-$(CONFIG_H264_DEMUXER)              += h264dec.o rawdec.o
OBJS-$(CONFIG_H264_MUXER)                += rawenc.o
167
OBJS-$(CONFIG_HDS_MUXER)                 += hdsenc.o
168
OBJS-$(CONFIG_HEVC_DEMUXER)              += hevcdec.o rawdec.o
Derek Buitenhuis's avatar
Derek Buitenhuis committed
169
OBJS-$(CONFIG_HEVC_MUXER)                += rawenc.o
170
OBJS-$(CONFIG_HLS_DEMUXER)               += hls.o
171
OBJS-$(CONFIG_HLS_MUXER)                 += hlsenc.o
172
OBJS-$(CONFIG_HNM_DEMUXER)               += hnm.o
173
OBJS-$(CONFIG_ICO_DEMUXER)               += icodec.o
Michael Bradshaw's avatar
Michael Bradshaw committed
174
OBJS-$(CONFIG_ICO_MUXER)                 += icoenc.o
175
OBJS-$(CONFIG_IDCIN_DEMUXER)             += idcin.o
176
OBJS-$(CONFIG_IDF_DEMUXER)               += bintext.o sauce.o
Jai Menon's avatar
Jai Menon committed
177
OBJS-$(CONFIG_IFF_DEMUXER)               += iff.o
178 179
OBJS-$(CONFIG_ILBC_DEMUXER)              += ilbc.o
OBJS-$(CONFIG_ILBC_MUXER)                += ilbc.o
180 181 182 183
OBJS-$(CONFIG_IMAGE2_DEMUXER)            += img2dec.o img2.o
OBJS-$(CONFIG_IMAGE2_MUXER)              += img2enc.o img2.o
OBJS-$(CONFIG_IMAGE2PIPE_DEMUXER)        += img2dec.o img2.o
OBJS-$(CONFIG_IMAGE2PIPE_MUXER)          += img2enc.o img2.o
184
OBJS-$(CONFIG_INGENIENT_DEMUXER)         += ingenientdec.o rawdec.o
185
OBJS-$(CONFIG_IPMOVIE_DEMUXER)           += ipmovie.o
Paul B Mahol's avatar
Paul B Mahol committed
186 187
OBJS-$(CONFIG_IRCAM_DEMUXER)             += ircamdec.o ircam.o pcm.o
OBJS-$(CONFIG_IRCAM_MUXER)               += ircamenc.o ircam.o rawenc.o
188
OBJS-$(CONFIG_ISS_DEMUXER)               += iss.o
189
OBJS-$(CONFIG_IV8_DEMUXER)               += iv8.o
190
OBJS-$(CONFIG_IVF_DEMUXER)               += ivfdec.o
191
OBJS-$(CONFIG_IVF_MUXER)                 += ivfenc.o
192
OBJS-$(CONFIG_JACOSUB_DEMUXER)           += jacosubdec.o subtitles.o
193
OBJS-$(CONFIG_JACOSUB_MUXER)             += jacosubenc.o rawenc.o
Peter Ross's avatar
Peter Ross committed
194
OBJS-$(CONFIG_JV_DEMUXER)                += jvdec.o
Janne Grunau's avatar
Janne Grunau committed
195
OBJS-$(CONFIG_LATM_DEMUXER)              += rawdec.o
196
OBJS-$(CONFIG_LATM_MUXER)                += latmenc.o rawenc.o
197
OBJS-$(CONFIG_LMLM4_DEMUXER)             += lmlm4.o
198
OBJS-$(CONFIG_LOAS_DEMUXER)              += loasdec.o rawdec.o
Paul B Mahol's avatar
Paul B Mahol committed
199
OBJS-$(CONFIG_LVF_DEMUXER)               += lvfdec.o
200
OBJS-$(CONFIG_LXF_DEMUXER)               += lxfdec.o
201 202
OBJS-$(CONFIG_M4V_DEMUXER)               += m4vdec.o rawdec.o
OBJS-$(CONFIG_M4V_MUXER)                 += rawenc.o
203 204
OBJS-$(CONFIG_MATROSKA_DEMUXER)          += matroskadec.o matroska.o  \
                                            isom.o rmsipr.o
205
OBJS-$(CONFIG_MATROSKA_MUXER)            += matroskaenc.o matroska.o \
206
                                            isom.o avc.o \
207
                                            flacenc_header.o avlanguage.o wv.o
208
OBJS-$(CONFIG_MD5_MUXER)                 += md5enc.o
209
OBJS-$(CONFIG_MGSTS_DEMUXER)             += mgsts.o
210
OBJS-$(CONFIG_MICRODVD_DEMUXER)          += microdvddec.o subtitles.o
211
OBJS-$(CONFIG_MICRODVD_MUXER)            += microdvdenc.o
212 213 214 215
OBJS-$(CONFIG_MJPEG_DEMUXER)             += rawdec.o
OBJS-$(CONFIG_MJPEG_MUXER)               += rawenc.o
OBJS-$(CONFIG_MLP_DEMUXER)               += rawdec.o
OBJS-$(CONFIG_MLP_MUXER)                 += rawenc.o
216
OBJS-$(CONFIG_MM_DEMUXER)                += mm.o
Paul B Mahol's avatar
Paul B Mahol committed
217
OBJS-$(CONFIG_MMF_DEMUXER)               += mmf.o
218
OBJS-$(CONFIG_MMF_MUXER)                 += mmf.o rawenc.o
219 220
OBJS-$(CONFIG_MOV_DEMUXER)               += mov.o isom.o mov_chan.o
OBJS-$(CONFIG_MOV_MUXER)                 += movenc.o isom.o avc.o \
221
                                            movenchint.o mov_chan.o rtp.o
222
OBJS-$(CONFIG_MP2_MUXER)                 += mp3enc.o rawenc.o id3v2enc.o
223
OBJS-$(CONFIG_MP3_DEMUXER)               += mp3dec.o
224
OBJS-$(CONFIG_MP3_MUXER)                 += mp3enc.o rawenc.o id3v2enc.o
225 226
OBJS-$(CONFIG_MPC_DEMUXER)               += mpc.o apetag.o img2.o
OBJS-$(CONFIG_MPC8_DEMUXER)              += mpc8.o apetag.o img2.o
227 228 229 230 231
OBJS-$(CONFIG_MPEG1SYSTEM_MUXER)         += mpegenc.o
OBJS-$(CONFIG_MPEG1VCD_MUXER)            += mpegenc.o
OBJS-$(CONFIG_MPEG2DVD_MUXER)            += mpegenc.o
OBJS-$(CONFIG_MPEG2VOB_MUXER)            += mpegenc.o
OBJS-$(CONFIG_MPEG2SVCD_MUXER)           += mpegenc.o
232 233
OBJS-$(CONFIG_MPEG1VIDEO_MUXER)          += rawenc.o
OBJS-$(CONFIG_MPEG2VIDEO_MUXER)          += rawenc.o
234
OBJS-$(CONFIG_MPEGPS_DEMUXER)            += mpeg.o
235
OBJS-$(CONFIG_MPEGTS_DEMUXER)            += mpegts.o isom.o
236
OBJS-$(CONFIG_MPEGTS_MUXER)              += mpegtsenc.o
237
OBJS-$(CONFIG_MPEGVIDEO_DEMUXER)         += mpegvideodec.o rawdec.o
238
OBJS-$(CONFIG_MPJPEG_MUXER)              += mpjpeg.o
239 240
OBJS-$(CONFIG_MPL2_DEMUXER)              += mpl2dec.o subtitles.o
OBJS-$(CONFIG_MPSUB_DEMUXER)             += mpsubdec.o subtitles.o
241
OBJS-$(CONFIG_MSNWC_TCP_DEMUXER)         += msnwc_tcp.o
Diego Biurrun's avatar
Diego Biurrun committed
242
OBJS-$(CONFIG_MTV_DEMUXER)               += mtv.o
243
OBJS-$(CONFIG_MVI_DEMUXER)               += mvi.o
244
OBJS-$(CONFIG_MV_DEMUXER)                += mvdec.o
245
OBJS-$(CONFIG_MXF_DEMUXER)               += mxfdec.o mxf.o
246
OBJS-$(CONFIG_MXF_MUXER)                 += mxfenc.o mxf.o audiointerleave.o
Anatoly Nenashev's avatar
Anatoly Nenashev committed
247
OBJS-$(CONFIG_MXG_DEMUXER)               += mxg.o
Nicolas Martin's avatar
Nicolas Martin committed
248
OBJS-$(CONFIG_NC_DEMUXER)                += ncdec.o
Paul B Mahol's avatar
Paul B Mahol committed
249
OBJS-$(CONFIG_NISTSPHERE_DEMUXER)        += nistspheredec.o pcm.o
250
OBJS-$(CONFIG_NSV_DEMUXER)               += nsvdec.o
251
OBJS-$(CONFIG_NULL_MUXER)                += nullenc.o
252 253 254
OBJS-$(CONFIG_NUT_DEMUXER)               += nutdec.o nut.o
OBJS-$(CONFIG_NUT_MUXER)                 += nutenc.o nut.o
OBJS-$(CONFIG_NUV_DEMUXER)               += nuv.o
255
OBJS-$(CONFIG_OGG_DEMUXER)               += oggdec.o         \
256
                                            oggparsecelt.o   \
257
                                            oggparsedirac.o  \
258
                                            oggparseflac.o   \
259
                                            oggparseogm.o    \
260
                                            oggparseopus.o   \
261
                                            oggparseskeleton.o \
262
                                            oggparsespeex.o  \
Diego Biurrun's avatar
Diego Biurrun committed
263 264
                                            oggparsetheora.o \
                                            oggparsevorbis.o \
265
                                            oggparsevp8.o    \
266
                                            vorbiscomment.o  \
267
                                            flac_picture.o
268 269
OBJS-$(CONFIG_OGG_MUXER)                 += oggenc.o \
                                            vorbiscomment.o
270
OBJS-$(CONFIG_OMA_DEMUXER)               += omadec.o pcm.o oma.o
271
OBJS-$(CONFIG_OMA_MUXER)                 += omaenc.o rawenc.o oma.o id3v2enc.o
272 273
OBJS-$(CONFIG_OPUS_MUXER)                += oggenc.o \
                                            vorbiscomment.o
Paul B Mahol's avatar
Paul B Mahol committed
274
OBJS-$(CONFIG_PAF_DEMUXER)               += paf.o
275
OBJS-$(CONFIG_PCM_ALAW_DEMUXER)          += pcmdec.o pcm.o
276
OBJS-$(CONFIG_PCM_ALAW_MUXER)            += pcmenc.o rawenc.o
277
OBJS-$(CONFIG_PCM_F32BE_DEMUXER)         += pcmdec.o pcm.o
278
OBJS-$(CONFIG_PCM_F32BE_MUXER)           += pcmenc.o rawenc.o
279
OBJS-$(CONFIG_PCM_F32LE_DEMUXER)         += pcmdec.o pcm.o
280
OBJS-$(CONFIG_PCM_F32LE_MUXER)           += pcmenc.o rawenc.o
281
OBJS-$(CONFIG_PCM_F64BE_DEMUXER)         += pcmdec.o pcm.o
282
OBJS-$(CONFIG_PCM_F64BE_MUXER)           += pcmenc.o rawenc.o
283
OBJS-$(CONFIG_PCM_F64LE_DEMUXER)         += pcmdec.o pcm.o
284
OBJS-$(CONFIG_PCM_F64LE_MUXER)           += pcmenc.o rawenc.o
285
OBJS-$(CONFIG_PCM_MULAW_DEMUXER)         += pcmdec.o pcm.o
286
OBJS-$(CONFIG_PCM_MULAW_MUXER)           += pcmenc.o rawenc.o
287
OBJS-$(CONFIG_PCM_S16BE_DEMUXER)         += pcmdec.o pcm.o
288
OBJS-$(CONFIG_PCM_S16BE_MUXER)           += pcmenc.o rawenc.o
289
OBJS-$(CONFIG_PCM_S16LE_DEMUXER)         += pcmdec.o pcm.o
290
OBJS-$(CONFIG_PCM_S16LE_MUXER)           += pcmenc.o rawenc.o
291
OBJS-$(CONFIG_PCM_S24BE_DEMUXER)         += pcmdec.o pcm.o
292
OBJS-$(CONFIG_PCM_S24BE_MUXER)           += pcmenc.o rawenc.o
293
OBJS-$(CONFIG_PCM_S24LE_DEMUXER)         += pcmdec.o pcm.o
294
OBJS-$(CONFIG_PCM_S24LE_MUXER)           += pcmenc.o rawenc.o
295
OBJS-$(CONFIG_PCM_S32BE_DEMUXER)         += pcmdec.o pcm.o
296
OBJS-$(CONFIG_PCM_S32BE_MUXER)           += pcmenc.o rawenc.o
297
OBJS-$(CONFIG_PCM_S32LE_DEMUXER)         += pcmdec.o pcm.o
298
OBJS-$(CONFIG_PCM_S32LE_MUXER)           += pcmenc.o rawenc.o
299
OBJS-$(CONFIG_PCM_S8_DEMUXER)            += pcmdec.o pcm.o
300
OBJS-$(CONFIG_PCM_S8_MUXER)              += pcmenc.o rawenc.o
301
OBJS-$(CONFIG_PCM_U16BE_DEMUXER)         += pcmdec.o pcm.o
302
OBJS-$(CONFIG_PCM_U16BE_MUXER)           += pcmenc.o rawenc.o
303
OBJS-$(CONFIG_PCM_U16LE_DEMUXER)         += pcmdec.o pcm.o
304
OBJS-$(CONFIG_PCM_U16LE_MUXER)           += pcmenc.o rawenc.o
305
OBJS-$(CONFIG_PCM_U24BE_DEMUXER)         += pcmdec.o pcm.o
306
OBJS-$(CONFIG_PCM_U24BE_MUXER)           += pcmenc.o rawenc.o
307
OBJS-$(CONFIG_PCM_U24LE_DEMUXER)         += pcmdec.o pcm.o
308
OBJS-$(CONFIG_PCM_U24LE_MUXER)           += pcmenc.o rawenc.o
309
OBJS-$(CONFIG_PCM_U32BE_DEMUXER)         += pcmdec.o pcm.o
310
OBJS-$(CONFIG_PCM_U32BE_MUXER)           += pcmenc.o rawenc.o
311
OBJS-$(CONFIG_PCM_U32LE_DEMUXER)         += pcmdec.o pcm.o
312
OBJS-$(CONFIG_PCM_U32LE_MUXER)           += pcmenc.o rawenc.o
313
OBJS-$(CONFIG_PCM_U8_DEMUXER)            += pcmdec.o pcm.o
314
OBJS-$(CONFIG_PCM_U8_MUXER)              += pcmenc.o rawenc.o
315
OBJS-$(CONFIG_PJS_DEMUXER)               += pjsdec.o subtitles.o
316
OBJS-$(CONFIG_PMP_DEMUXER)               += pmpdec.o
317
OBJS-$(CONFIG_PVA_DEMUXER)               += pva.o
Paul B Mahol's avatar
Paul B Mahol committed
318
OBJS-$(CONFIG_PVF_DEMUXER)               += pvfdec.o pcm.o
Kenan Gillet's avatar
Kenan Gillet committed
319
OBJS-$(CONFIG_QCP_DEMUXER)               += qcp.o
320
OBJS-$(CONFIG_R3D_DEMUXER)               += r3d.o
321
OBJS-$(CONFIG_RAWVIDEO_DEMUXER)          += rawvideodec.o
322
OBJS-$(CONFIG_RAWVIDEO_MUXER)            += rawenc.o
323
OBJS-$(CONFIG_REALTEXT_DEMUXER)          += realtextdec.o subtitles.o
James Almer's avatar
James Almer committed
324
OBJS-$(CONFIG_REDSPARK_DEMUXER)          += redspark.o
Sascha Sommer's avatar
Sascha Sommer committed
325
OBJS-$(CONFIG_RL2_DEMUXER)               += rl2.o
326
OBJS-$(CONFIG_RM_DEMUXER)                += rmdec.o rm.o rmsipr.o
327
OBJS-$(CONFIG_RM_MUXER)                  += rmenc.o rm.o
328
OBJS-$(CONFIG_ROQ_DEMUXER)               += idroqdec.o
329
OBJS-$(CONFIG_ROQ_MUXER)                 += idroqenc.o rawenc.o
James Almer's avatar
James Almer committed
330
OBJS-$(CONFIG_RSD_DEMUXER)               += rsd.o
331
OBJS-$(CONFIG_RSO_DEMUXER)               += rsodec.o rso.o pcm.o
332
OBJS-$(CONFIG_RSO_MUXER)                 += rsoenc.o rso.o
Eli Friedman's avatar
Eli Friedman committed
333
OBJS-$(CONFIG_RPL_DEMUXER)               += rpl.o
334
OBJS-$(CONFIG_RTP_MUXER)                 += rtp.o         \
335
                                            rtpenc_aac.o     \
336
                                            rtpenc_latm.o    \
337 338
                                            rtpenc_amr.o     \
                                            rtpenc_h263.o    \
339
                                            rtpenc_h263_rfc2190.o \
340
                                            rtpenc_jpeg.o \
341
                                            rtpenc_mpv.o     \
342
                                            rtpenc.o      \
343
                                            rtpenc_h264.o \
344
                                            rtpenc_vp8.o  \
345
                                            rtpenc_xiph.o \
346
                                            avc.o
347 348
OBJS-$(CONFIG_RTSP_DEMUXER)              += rtsp.o rtspdec.o httpauth.o \
                                            urldecode.o
349
OBJS-$(CONFIG_RTSP_MUXER)                += rtsp.o rtspenc.o httpauth.o \
350
                                            urldecode.o
351
OBJS-$(CONFIG_SAMI_DEMUXER)              += samidec.o subtitles.o
352
OBJS-$(CONFIG_SAP_DEMUXER)               += sapdec.o
353
OBJS-$(CONFIG_SAP_MUXER)                 += sapenc.o
Nicolas George's avatar
Nicolas George committed
354
OBJS-$(CONFIG_SBG_DEMUXER)               += sbgdec.o
355
OBJS-$(CONFIG_SDP_DEMUXER)               += rtsp.o
Paul B Mahol's avatar
Paul B Mahol committed
356
OBJS-$(CONFIG_SDR2_DEMUXER)              += sdr2.o
357
OBJS-$(CONFIG_SEGAFILM_DEMUXER)          += segafilm.o
358
OBJS-$(CONFIG_SEGMENT_MUXER)             += segment.o
359
OBJS-$(CONFIG_SHORTEN_DEMUXER)           += rawdec.o
360
OBJS-$(CONFIG_SIFF_DEMUXER)              += siff.o
361
OBJS-$(CONFIG_SMACKER_DEMUXER)           += smacker.o
362
OBJS-$(CONFIG_SMJPEG_DEMUXER)            += smjpegdec.o smjpeg.o
Paul B Mahol's avatar
Paul B Mahol committed
363
OBJS-$(CONFIG_SMJPEG_MUXER)              += smjpegenc.o smjpeg.o
364
OBJS-$(CONFIG_SMOOTHSTREAMING_MUXER)     += smoothstreamingenc.o isom.o
Paul B Mahol's avatar
Paul B Mahol committed
365
OBJS-$(CONFIG_SMUSH_DEMUXER)             += smush.o
366 367
OBJS-$(CONFIG_SOL_DEMUXER)               += sol.o pcm.o
OBJS-$(CONFIG_SOX_DEMUXER)               += soxdec.o pcm.o
368
OBJS-$(CONFIG_SOX_MUXER)                 += soxenc.o rawenc.o
Anssi Hannula's avatar
Anssi Hannula committed
369
OBJS-$(CONFIG_SPDIF_DEMUXER)             += spdif.o spdifdec.o
370
OBJS-$(CONFIG_SPDIF_MUXER)               += spdif.o spdifenc.o
371 372
OBJS-$(CONFIG_SPEEX_MUXER)               += oggenc.o \
                                            vorbiscomment.o
373
OBJS-$(CONFIG_SRT_DEMUXER)               += srtdec.o subtitles.o
374
OBJS-$(CONFIG_SRT_MUXER)                 += srtenc.o
375
OBJS-$(CONFIG_STR_DEMUXER)               += psxstr.o
376 377
OBJS-$(CONFIG_SUBVIEWER1_DEMUXER)        += subviewer1dec.o subtitles.o
OBJS-$(CONFIG_SUBVIEWER_DEMUXER)         += subviewerdec.o subtitles.o
378 379
OBJS-$(CONFIG_SWF_DEMUXER)               += swfdec.o swf.o
OBJS-$(CONFIG_SWF_MUXER)                 += swfenc.o swf.o
380
OBJS-$(CONFIG_TAK_DEMUXER)               += takdec.o apetag.o img2.o rawdec.o
381
OBJS-$(CONFIG_TEDCAPTIONS_DEMUXER)       += tedcaptionsdec.o subtitles.o
382
OBJS-$(CONFIG_TEE_MUXER)                 += tee.o
383
OBJS-$(CONFIG_THP_DEMUXER)               += thp.o
384
OBJS-$(CONFIG_TIERTEXSEQ_DEMUXER)        += tiertexseq.o
385
OBJS-$(CONFIG_MKVTIMESTAMP_V2_MUXER)     += mkvtimestamp_v2.o
386
OBJS-$(CONFIG_TMV_DEMUXER)               += tmv.o
387 388
OBJS-$(CONFIG_TRUEHD_DEMUXER)            += rawdec.o
OBJS-$(CONFIG_TRUEHD_MUXER)              += rawenc.o
389
OBJS-$(CONFIG_TTA_DEMUXER)               += tta.o apetag.o img2.o
Peter Ross's avatar
Peter Ross committed
390
OBJS-$(CONFIG_TTY_DEMUXER)               += tty.o sauce.o
Ivo van Poorten's avatar
Ivo van Poorten committed
391
OBJS-$(CONFIG_TXD_DEMUXER)               += txd.o
392
OBJS-$(CONFIG_UNCODEDFRAMECRC_MUXER)     += uncodedframecrcenc.o framehash.o
393
OBJS-$(CONFIG_VC1_DEMUXER)               += rawdec.o
394
OBJS-$(CONFIG_VC1_MUXER)                 += rawenc.o
395
OBJS-$(CONFIG_VC1T_DEMUXER)              += vc1test.o
396
OBJS-$(CONFIG_VC1T_MUXER)                += vc1testenc.o
Daniel Verkamp's avatar
Daniel Verkamp committed
397
OBJS-$(CONFIG_VIVO_DEMUXER)              += vivo.o
398
OBJS-$(CONFIG_VMD_DEMUXER)               += sierravmd.o
399
OBJS-$(CONFIG_VOBSUB_DEMUXER)            += subtitles.o # mpeg demuxer is in the dependencies
400 401
OBJS-$(CONFIG_VOC_DEMUXER)               += vocdec.o voc.o
OBJS-$(CONFIG_VOC_MUXER)                 += vocenc.o voc.o
402
OBJS-$(CONFIG_VPLAYER_DEMUXER)           += vplayerdec.o subtitles.o
Vitor Sessak's avatar
Vitor Sessak committed
403
OBJS-$(CONFIG_VQF_DEMUXER)               += vqf.o
Paul B Mahol's avatar
Paul B Mahol committed
404 405
OBJS-$(CONFIG_W64_DEMUXER)               += wavdec.o w64.o pcm.o
OBJS-$(CONFIG_W64_MUXER)                 += wavenc.o w64.o
406 407
OBJS-$(CONFIG_WAV_DEMUXER)               += wavdec.o pcm.o
OBJS-$(CONFIG_WAV_MUXER)                 += wavenc.o
408
OBJS-$(CONFIG_WC3_DEMUXER)               += wc3movie.o
James Zern's avatar
James Zern committed
409
OBJS-$(CONFIG_WEBM_MUXER)                += matroskaenc.o matroska.o \
410
                                            isom.o avc.o \
411
                                            flacenc_header.o avlanguage.o wv.o
412
OBJS-$(CONFIG_WEBVTT_DEMUXER)            += webvttdec.o subtitles.o
Matthew Heaney's avatar
Matthew Heaney committed
413
OBJS-$(CONFIG_WEBVTT_MUXER)              += webvttenc.o
414 415
OBJS-$(CONFIG_WSAUD_DEMUXER)             += westwood_aud.o
OBJS-$(CONFIG_WSVQA_DEMUXER)             += westwood_vqa.o
416
OBJS-$(CONFIG_WTV_DEMUXER)               += wtvdec.o wtv_common.o asfdec.o asf.o asfcrypt.o \
417
                                            avlanguage.o mpegts.o isom.o
418
OBJS-$(CONFIG_WTV_MUXER)                 += wtvenc.o wtv_common.o
419
OBJS-$(CONFIG_WV_DEMUXER)                += wvdec.o wv.o apetag.o img2.o
420
OBJS-$(CONFIG_WV_MUXER)                  += wvenc.o wv.o apetag.o img2.o
421
OBJS-$(CONFIG_XA_DEMUXER)                += xa.o
Peter Ross's avatar
Peter Ross committed
422
OBJS-$(CONFIG_XBIN_DEMUXER)              += bintext.o sauce.o
423 424
OBJS-$(CONFIG_XMV_DEMUXER)               += xmv.o
OBJS-$(CONFIG_XWMA_DEMUXER)              += xwma.o
425
OBJS-$(CONFIG_YOP_DEMUXER)               += yop.o
426 427
OBJS-$(CONFIG_YUV4MPEGPIPE_MUXER)        += yuv4mpeg.o
OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER)      += yuv4mpeg.o
Zdenek Kabelac's avatar
Zdenek Kabelac committed
428

429
# external libraries
wm4's avatar
wm4 committed
430
OBJS-$(CONFIG_LIBGME_DEMUXER)            += libgme.o
431
OBJS-$(CONFIG_LIBMODPLUG_DEMUXER)        += libmodplug.o
432 433
OBJS-$(CONFIG_LIBNUT_DEMUXER)            += libnut.o
OBJS-$(CONFIG_LIBNUT_MUXER)              += libnut.o
434
OBJS-$(CONFIG_LIBQUVI_DEMUXER)           += libquvi.o
435
OBJS-$(CONFIG_LIBRTMP)                   += librtmp.o
436
OBJS-$(CONFIG_LIBSSH_PROTOCOL)           += libssh.o
437

438
# protocols I/O
439
OBJS-$(CONFIG_APPLEHTTP_PROTOCOL)        += hlsproto.o
Petri Hintukainen's avatar
Petri Hintukainen committed
440
OBJS-$(CONFIG_BLURAY_PROTOCOL)           += bluray.o
Michael Niedermayer's avatar
Michael Niedermayer committed
441
OBJS-$(CONFIG_CACHE_PROTOCOL)            += cache.o
442
OBJS-$(CONFIG_CONCAT_PROTOCOL)           += concat.o
443
OBJS-$(CONFIG_CRYPTO_PROTOCOL)           += crypto.o
444
OBJS-$(CONFIG_DATA_PROTOCOL)             += data_uri.o
Samuel Pitoiset's avatar
Samuel Pitoiset committed
445
OBJS-$(CONFIG_FFRTMPCRYPT_PROTOCOL)      += rtmpcrypt.o rtmpdh.o
446
OBJS-$(CONFIG_FFRTMPHTTP_PROTOCOL)       += rtmphttp.o
447
OBJS-$(CONFIG_FILE_PROTOCOL)             += file.o
Lukasz Marek's avatar
Lukasz Marek committed
448
OBJS-$(CONFIG_FTP_PROTOCOL)              += ftp.o
449
OBJS-$(CONFIG_GOPHER_PROTOCOL)           += gopher.o
450
OBJS-$(CONFIG_HLS_PROTOCOL)              += hlsproto.o
451 452 453
OBJS-$(CONFIG_HTTP_PROTOCOL)             += http.o httpauth.o urldecode.o
OBJS-$(CONFIG_HTTPPROXY_PROTOCOL)        += http.o httpauth.o urldecode.o
OBJS-$(CONFIG_HTTPS_PROTOCOL)            += http.o httpauth.o urldecode.o
454
OBJS-$(CONFIG_MMSH_PROTOCOL)             += mmsh.o mms.o asf.o
455
OBJS-$(CONFIG_MMST_PROTOCOL)             += mmst.o mms.o asf.o
Måns Rullgård's avatar
Måns Rullgård committed
456
OBJS-$(CONFIG_MD5_PROTOCOL)              += md5proto.o
457
OBJS-$(CONFIG_PIPE_PROTOCOL)             += file.o
458
OBJS-$(CONFIG_RTMP_PROTOCOL)             += rtmpproto.o rtmppkt.o
Samuel Pitoiset's avatar
Samuel Pitoiset committed
459
OBJS-$(CONFIG_RTMPE_PROTOCOL)            += rtmpproto.o rtmppkt.o
Samuel Pitoiset's avatar
Samuel Pitoiset committed
460
OBJS-$(CONFIG_RTMPS_PROTOCOL)            += rtmpproto.o rtmppkt.o
Samuel Pitoiset's avatar
Samuel Pitoiset committed
461
OBJS-$(CONFIG_RTMPT_PROTOCOL)            += rtmpproto.o rtmppkt.o
462
OBJS-$(CONFIG_RTMPTE_PROTOCOL)           += rtmpproto.o rtmppkt.o
463
OBJS-$(CONFIG_RTMPTS_PROTOCOL)           += rtmpproto.o rtmppkt.o
464
OBJS-$(CONFIG_RTP_PROTOCOL)              += rtpproto.o
465
OBJS-$(CONFIG_SCTP_PROTOCOL)             += sctp.o
466
OBJS-$(CONFIG_SRTP_PROTOCOL)             += srtpproto.o srtp.o
467
OBJS-$(CONFIG_TCP_PROTOCOL)              += tcp.o
468
OBJS-$(CONFIG_TLS_PROTOCOL)              += tls.o
469
OBJS-$(CONFIG_UDP_PROTOCOL)              += udp.o
470
OBJS-$(CONFIG_UNIX_PROTOCOL)             += unix.o
Fabrice Bellard's avatar
Fabrice Bellard committed
471

472 473
OBJS-$(HAVE_LIBC_MSVCRT)                 += file_open.o

474 475 476
# Windows resource file
SLIBOBJS-$(HAVE_GNU_WINDRES)             += avformatres.o

477
SKIPHEADERS-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += rtmpdh.h
478 479
SKIPHEADERS-$(CONFIG_NETWORK)            += network.h rtsp.h

480
TESTPROGS = seek                                                        \
481
            srtp                                                        \
482
            url                                                         \
483

484 485
TESTPROGS-$(CONFIG_NETWORK)              += noproxy

486 487 488 489
TOOLS     = aviocat                                                     \
            ismindex                                                    \
            pktdumper                                                   \
            probetest                                                   \
Nicolas George's avatar
Nicolas George committed
490
            seek_print                                                  \