编译环境:



32位 ubuntu12.10



android-ndk-r9c-linux-x86.tar.bz2



ffmpeg-2.4.2.tar.bz2

网上的教程都是以低版本号ffmpeg编译居多。本人特别喜欢折腾新版本号。所以就有了下面这篇文章:

一、准备一下两个文件:

1、config.sh

./configure \
--disable-static \
--enable-shared \
--enable-gpl \
--enable-version3 \
--enable-nonfree \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-avfilter \
--disable-postproc \
--enable-small \
--cross-prefix=/home/weller/ndkdome/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi- \
--enable-cross-compile \
--target-os=linux \
--extra-cflags='-I/home/weller/ndkdome/android-ndk-r9c/platforms/android-9/arch-arm/usr/include' \
--extra-ldflags='-L/home/weller/ndkdome/android-ndk-r9c/platforms/android-9/arch-arm/usr/lib -nostdlib' \
--arch=arm \
--disable-symver \
--disable-debug \
--disable-stripping \ sed -i 's/HAVE_LRINT 0/HAVE_LRINT 1/g' config.h
sed -i 's/HAVE_LRINTF 0/HAVE_LRINTF 1/g' config.h
sed -i 's/HAVE_ROUND 0/HAVE_ROUND 1/g' config.h
sed -i 's/HAVE_ROUNDF 0/HAVE_ROUNDF 1/g' config.h
sed -i 's/HAVE_TRUNC 0/HAVE_TRUNC 1/g' config.h
sed -i 's/HAVE_TRUNCF 0/HAVE_TRUNCF 1/g' config.h

注意: --enable-prefix,
--extra-cflags, --extra-ldflags
路径须要依据个人的实际路径去配置。

2、Android.mk

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := ffmpeg

include $(LOCAL_PATH)/config.mak

LOCAL_CFLAGS := -DHAVE_AV_CONFIG_H -std=c99

AVUTIL_C_FILES = adler32.c \
aes.c \
audioconvert.c \
avstring.c \
base64.c \
cpu.c \
crc.c \
des.c \
error.c \
eval.c \
fifo.c \
file.c \
imgutils.c \
intfloat_readwrite.c \
inverse.c \
lfg.c \
lls.c \
log.c \
lzo.c \
mathematics.c \
md5.c \
mem.c \
dict.c \
opt.c \
parseutils.c \
pixdesc.c \
random_seed.c \
rational.c \
rc4.c \
samplefmt.c \
sha.c \
tree.c \
utils.c \
arm/cpu.c AVUTIL_SRC_FILES = $(addprefix libavutil/, $(sort $(AVUTIL_C_FILES))) AVCODEC_C_FILES = allcodecs.c \
audioconvert.c \
avpacket.c \
bitstream.c \
bitstream_filter.c \
dsputil.c \
faanidct.c \
fmtconvert.c \
imgconvert.c \
jrevdct.c \
options.c \
parser.c \
raw.c \
rawdec.c \
resample.c \
resample2.c \
simple_idct.c \
utils.c \ AVCODEC_C_FILES-$(CONFIG_AANDCT) += aandcttab.c
AVCODEC_C_FILES-$(CONFIG_AC3DSP) += ac3dsp.c
AVCODEC_C_FILES-$(CONFIG_CRYSTALHD) += crystalhd.c
AVCODEC_C_FILES-$(CONFIG_ENCODERS) += faandct.c jfdctfst.c jfdctint.c
AVCODEC_C_FILES-$(CONFIG_DCT) += dct.c dct32_fixed.c dct32_float.c
AVCODEC_C_FILES-$(CONFIG_DWT) += dwt.c
AVCODEC_C_FILES-$(CONFIG_DXVA2) += dxva2.c
FFT-FILES-$(CONFIG_HARDCODED_TABLES) += cos_tables.c cos_fixed_tables.c
AVCODEC_C_FILES-$(CONFIG_FFT) += avfft.c fft_fixed.c fft_float.c \
$(FFT-FILES-yes)
AVCODEC_C_FILES-$(CONFIG_GOLOMB) += golomb.c
AVCODEC_C_FILES-$(CONFIG_H264DSP) += h264dsp.c h264idct.c
AVCODEC_C_FILES-$(CONFIG_H264PRED) += h264pred.c
AVCODEC_C_FILES-$(CONFIG_HUFFMAN) += huffman.c
AVCODEC_C_FILES-$(CONFIG_LPC) += lpc.c
AVCODEC_C_FILES-$(CONFIG_LSP) += lsp.c
AVCODEC_C_FILES-$(CONFIG_MDCT) += mdct_fixed.c mdct_float.c
AVCODEC_C_FILES-$(CONFIG_MPEGAUDIODSP) += mpegaudiodsp.c \
mpegaudiodsp_fixed.c \
mpegaudiodsp_float.c
RDFT-FILES-$(CONFIG_HARDCODED_TABLES) += sin_tables.c
AVCODEC_C_FILES-$(CONFIG_RDFT) += rdft.c $(RDFT-FILES-yes)
AVCODEC_C_FILES-$(CONFIG_SINEWIN) += sinewin.c
AVCODEC_C_FILES-$(CONFIG_VAAPI) += vaapi.c
AVCODEC_C_FILES-$(CONFIG_VDPAU) += vdpau.c AVCODEC_C_FILES-$(CONFIG_A64MULTI_ENCODER) += a64multienc.c elbg.c
AVCODEC_C_FILES-$(CONFIG_A64MULTI5_ENCODER) += a64multienc.c elbg.c
AVCODEC_C_FILES-$(CONFIG_AAC_DECODER) += aacdec.c aactab.c aacsbr.c aacps.c \
aacadtsdec.c mpeg4audio.c kbdwin.c
AVCODEC_C_FILES-$(CONFIG_AAC_ENCODER) += aacenc.c aaccoder.c \
aacpsy.c aactab.c \
psymodel.c iirfilter.c \
mpeg4audio.c kbdwin.c
AVCODEC_C_FILES-$(CONFIG_AASC_DECODER) += aasc.c msrledec.c
AVCODEC_C_FILES-$(CONFIG_AC3_DECODER) += ac3dec.c ac3dec_data.c ac3.c kbdwin.c
AVCODEC_C_FILES-$(CONFIG_AC3_ENCODER) += ac3enc_combined.c ac3enc_fixed.c ac3enc_float.c ac3tab.c ac3.c kbdwin.c ac3enc.c
AVCODEC_C_FILES-$(CONFIG_AC3_FLOAT_ENCODER) += ac3enc_float.c ac3tab.c ac3tab.c ac3.c kbdwin.c
AVCODEC_C_FILES-$(CONFIG_AC3_FIXED_ENCODER) += ac3enc_fixed.c ac3tab.c ac3tab.c ac3.c ac3enc.c
AVCODEC_C_FILES-$(CONFIG_ALAC_DECODER) += alac.c
AVCODEC_C_FILES-$(CONFIG_ALAC_ENCODER) += alacenc.c
AVCODEC_C_FILES-$(CONFIG_ALS_DECODER) += alsdec.c bgmc.c mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_AMRNB_DECODER) += amrnbdec.c celp_filters.c \
celp_math.c acelp_filters.c \
acelp_vectors.c \
acelp_pitch_delay.c
AVCODEC_C_FILES-$(CONFIG_AMRWB_DECODER) += amrwbdec.c celp_filters.c \
celp_math.c acelp_filters.c \
acelp_vectors.c \
acelp_pitch_delay.c lsp.c
AVCODEC_C_FILES-$(CONFIG_AMV_DECODER) += sp5xdec.c mjpegdec.c mjpeg.c
AVCODEC_C_FILES-$(CONFIG_ANM_DECODER) += anm.c
AVCODEC_C_FILES-$(CONFIG_ANSI_DECODER) += ansi.c cga_data.c
AVCODEC_C_FILES-$(CONFIG_APE_DECODER) += apedec.c
AVCODEC_C_FILES-$(CONFIG_ASS_DECODER) += assdec.c ass.c ass_split.c
AVCODEC_C_FILES-$(CONFIG_ASS_ENCODER) += assenc.c ass.c
AVCODEC_C_FILES-$(CONFIG_ASV1_DECODER) += asv1.c mpeg12data.c
AVCODEC_C_FILES-$(CONFIG_ASV1_ENCODER) += asv1.c mpeg12data.c
AVCODEC_C_FILES-$(CONFIG_ASV2_DECODER) += asv1.c mpeg12data.c
AVCODEC_C_FILES-$(CONFIG_ASV2_ENCODER) += asv1.c mpeg12data.c
AVCODEC_C_FILES-$(CONFIG_ATRAC1_DECODER) += atrac1.c atrac.c
AVCODEC_C_FILES-$(CONFIG_ATRAC3_DECODER) += atrac3.c atrac.c
AVCODEC_C_FILES-$(CONFIG_AURA_DECODER) += cyuv.c
AVCODEC_C_FILES-$(CONFIG_AURA2_DECODER) += aura.c
AVCODEC_C_FILES-$(CONFIG_AVS_DECODER) += avs.c
AVCODEC_C_FILES-$(CONFIG_BETHSOFTVID_DECODER) += bethsoftvideo.c
AVCODEC_C_FILES-$(CONFIG_BFI_DECODER) += bfi.c
AVCODEC_C_FILES-$(CONFIG_BINK_DECODER) += bink.c binkidct.c
AVCODEC_C_FILES-$(CONFIG_BINKAUDIO_DCT_DECODER) += binkaudio.c wma.c
AVCODEC_C_FILES-$(CONFIG_BINKAUDIO_RDFT_DECODER) += binkaudio.c wma.c
AVCODEC_C_FILES-$(CONFIG_BMP_DECODER) += bmp.c msrledec.c
AVCODEC_C_FILES-$(CONFIG_BMP_ENCODER) += bmpenc.c
AVCODEC_C_FILES-$(CONFIG_C93_DECODER) += c93.c
AVCODEC_C_FILES-$(CONFIG_CAVS_DECODER) += cavs.c cavsdec.c cavsdsp.c \
mpeg12data.c mpegvideo.c
AVCODEC_C_FILES-$(CONFIG_CDGRAPHICS_DECODER) += cdgraphics.c
AVCODEC_C_FILES-$(CONFIG_CINEPAK_DECODER) += cinepak.c
AVCODEC_C_FILES-$(CONFIG_CLJR_DECODER) += cljr.c
AVCODEC_C_FILES-$(CONFIG_CLJR_ENCODER) += cljr.c
AVCODEC_C_FILES-$(CONFIG_COOK_DECODER) += cook.c
AVCODEC_C_FILES-$(CONFIG_CSCD_DECODER) += cscd.c
AVCODEC_C_FILES-$(CONFIG_CYUV_DECODER) += cyuv.c
AVCODEC_C_FILES-$(CONFIG_DCA_DECODER) += dca.c synth_filter.c dcadsp.c
AVCODEC_C_FILES-$(CONFIG_DCA_ENCODER) += dcaenc.c
AVCODEC_C_FILES-$(CONFIG_DFA_DECODER) += dfa.c
AVCODEC_C_FILES-$(CONFIG_DNXHD_DECODER) += dnxhddec.c dnxhddata.c
AVCODEC_C_FILES-$(CONFIG_DNXHD_ENCODER) += dnxhdenc.c dnxhddata.c \
mpegvideo_enc.c motion_est.c \
ratecontrol.c mpeg12data.c \
mpegvideo.c
AVCODEC_C_FILES-$(CONFIG_DPX_DECODER) += dpx.c
AVCODEC_C_FILES-$(CONFIG_DPX_ENCODER) += dpxenc.c
AVCODEC_C_FILES-$(CONFIG_DSICINAUDIO_DECODER) += dsicinav.c
AVCODEC_C_FILES-$(CONFIG_DSICINVIDEO_DECODER) += dsicinav.c
AVCODEC_C_FILES-$(CONFIG_DVBSUB_DECODER) += dvbsubdec.c
AVCODEC_C_FILES-$(CONFIG_DVBSUB_ENCODER) += dvbsub.c
AVCODEC_C_FILES-$(CONFIG_DVDSUB_DECODER) += dvdsubdec.c
AVCODEC_C_FILES-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.c
AVCODEC_C_FILES-$(CONFIG_DVVIDEO_DECODER) += dv.c dvdata.c
AVCODEC_C_FILES-$(CONFIG_DVVIDEO_ENCODER) += dv.c dvdata.c
AVCODEC_C_FILES-$(CONFIG_DXA_DECODER) += dxa.c
AVCODEC_C_FILES-$(CONFIG_EAC3_DECODER) += eac3dec.c eac3dec_data.c
AVCODEC_C_FILES-$(CONFIG_EAC3_ENCODER) += eac3enc.c ac3enc.c ac3enc_float.c \
ac3tab.c ac3.c kbdwin.c
AVCODEC_C_FILES-$(CONFIG_EACMV_DECODER) += eacmv.c
AVCODEC_C_FILES-$(CONFIG_EAMAD_DECODER) += eamad.c eaidct.c mpeg12.c \
mpeg12data.c mpegvideo.c \
error_resilience.c
AVCODEC_C_FILES-$(CONFIG_EATGQ_DECODER) += eatgq.c eaidct.c
AVCODEC_C_FILES-$(CONFIG_EATGV_DECODER) += eatgv.c
AVCODEC_C_FILES-$(CONFIG_EATQI_DECODER) += eatqi.c eaidct.c mpeg12.c \
mpeg12data.c mpegvideo.c \
error_resilience.c
AVCODEC_C_FILES-$(CONFIG_EIGHTBPS_DECODER) += 8bps.c
AVCODEC_C_FILES-$(CONFIG_EIGHTSVX_EXP_DECODER) += 8svx.c
AVCODEC_C_FILES-$(CONFIG_EIGHTSVX_FIB_DECODER) += 8svx.c
AVCODEC_C_FILES-$(CONFIG_EIGHTSVX_RAW_DECODER) += 8svx.c
AVCODEC_C_FILES-$(CONFIG_ESCAPE124_DECODER) += escape124.c
AVCODEC_C_FILES-$(CONFIG_FFV1_DECODER) += ffv1.c rangecoder.c
AVCODEC_C_FILES-$(CONFIG_FFV1_ENCODER) += ffv1.c rangecoder.c
AVCODEC_C_FILES-$(CONFIG_FFVHUFF_DECODER) += huffyuv.c
AVCODEC_C_FILES-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.c
AVCODEC_C_FILES-$(CONFIG_FLAC_DECODER) += flacdec.c flacdata.c flac.c vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_FLAC_ENCODER) += flacenc.c flacdata.c flac.c vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_FLASHSV_DECODER) += flashsv.c
AVCODEC_C_FILES-$(CONFIG_FLASHSV_ENCODER) += flashsvenc.c
AVCODEC_C_FILES-$(CONFIG_FLASHSV2_ENCODER) += flashsv2enc.c
AVCODEC_C_FILES-$(CONFIG_FLIC_DECODER) += flicvideo.c
AVCODEC_C_FILES-$(CONFIG_FOURXM_DECODER) += 4xm.c
AVCODEC_C_FILES-$(CONFIG_FRAPS_DECODER) += fraps.c
AVCODEC_C_FILES-$(CONFIG_FRWU_DECODER) += frwu.c
AVCODEC_C_FILES-$(CONFIG_GIF_DECODER) += gifdec.c lzw.c
AVCODEC_C_FILES-$(CONFIG_GIF_ENCODER) += gif.c lzwenc.c
AVCODEC_C_FILES-$(CONFIG_GSM_DECODER) += gsmdec.c gsmdec_data.c msgsmdec.c
AVCODEC_C_FILES-$(CONFIG_GSM_MS_DECODER) += gsmdec.c gsmdec_data.c msgsmdec.c
AVCODEC_C_FILES-$(CONFIG_H261_DECODER) += h261dec.c h261.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_H261_ENCODER) += h261enc.c h261.c \
mpegvideo_enc.c motion_est.c \
ratecontrol.c mpeg12data.c \
mpegvideo.c
AVCODEC_C_FILES-$(CONFIG_H263_DECODER) += h263dec.c h263.c ituh263dec.c \
mpeg4video.c mpeg4videodec.c flvdec.c\
intelh263dec.c mpegvideo.c \
error_resilience.c
AVCODEC_C_FILES-$(CONFIG_H263_VAAPI_HWACCEL) += vaapi_mpeg4.c
AVCODEC_C_FILES-$(CONFIG_H263_ENCODER) += mpegvideo_enc.c mpeg4video.c \
mpeg4videoenc.c motion_est.c \
ratecontrol.c h263.c ituh263enc.c \
flvenc.c mpeg12data.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_H264_DECODER) += h264.c \
h264_loopfilter.c h264_direct.c \
cabac.c h264_sei.c h264_ps.c \
h264_refs.c h264_cavlc.c h264_cabac.c\
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_H264_DXVA2_HWACCEL) += dxva2_h264.c
AVCODEC_C_FILES-$(CONFIG_H264_VAAPI_HWACCEL) += vaapi_h264.c
AVCODEC_C_FILES-$(CONFIG_HUFFYUV_DECODER) += huffyuv.c
AVCODEC_C_FILES-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.c
AVCODEC_C_FILES-$(CONFIG_IDCIN_DECODER) += idcinvideo.c
AVCODEC_C_FILES-$(CONFIG_IFF_BYTERUN1_DECODER) += iff.c
AVCODEC_C_FILES-$(CONFIG_IFF_ILBM_DECODER) += iff.c
AVCODEC_C_FILES-$(CONFIG_IMC_DECODER) += imc.c
AVCODEC_C_FILES-$(CONFIG_INDEO2_DECODER) += indeo2.c
AVCODEC_C_FILES-$(CONFIG_INDEO3_DECODER) += indeo3.c
AVCODEC_C_FILES-$(CONFIG_INDEO5_DECODER) += indeo5.c ivi_common.c ivi_dsp.c
AVCODEC_C_FILES-$(CONFIG_INTERPLAY_DPCM_DECODER) += dpcm.c
AVCODEC_C_FILES-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.c
AVCODEC_C_FILES-$(CONFIG_JPEG2000_DECODER) += j2kdec.c mqcdec.c mqc.c j2k.c j2k_dwt.c
AVCODEC_C_FILES-$(CONFIG_JPEGLS_DECODER) += jpeglsdec.c jpegls.c \
mjpegdec.c mjpeg.c
AVCODEC_C_FILES-$(CONFIG_JPEGLS_ENCODER) += jpeglsenc.c jpegls.c
AVCODEC_C_FILES-$(CONFIG_JV_DECODER) += jvdec.c
AVCODEC_C_FILES-$(CONFIG_KGV1_DECODER) += kgv1dec.c
AVCODEC_C_FILES-$(CONFIG_KMVC_DECODER) += kmvc.c
AVCODEC_C_FILES-$(CONFIG_LAGARITH_DECODER) += lagarith.c lagarithrac.c
AVCODEC_C_FILES-$(CONFIG_LJPEG_ENCODER) += ljpegenc.c mjpegenc.c mjpeg.c \
mpegvideo_enc.c motion_est.c \
ratecontrol.c mpeg12data.c \
mpegvideo.c
AVCODEC_C_FILES-$(CONFIG_LOCO_DECODER) += loco.c
AVCODEC_C_FILES-$(CONFIG_MACE3_DECODER) += mace.c
AVCODEC_C_FILES-$(CONFIG_MACE6_DECODER) += mace.c
AVCODEC_C_FILES-$(CONFIG_MDEC_DECODER) += mdec.c mpeg12.c mpeg12data.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_MIMIC_DECODER) += mimic.c
AVCODEC_C_FILES-$(CONFIG_MJPEG_DECODER) += mjpegdec.c mjpeg.c
AVCODEC_C_FILES-$(CONFIG_MJPEG_ENCODER) += mjpegenc.c mjpeg.c \
mpegvideo_enc.c motion_est.c \
ratecontrol.c mpeg12data.c \
mpegvideo.c
AVCODEC_C_FILES-$(CONFIG_MJPEGB_DECODER) += mjpegbdec.c mjpegdec.c mjpeg.c
AVCODEC_C_FILES-$(CONFIG_MLP_DECODER) += mlpdec.c mlpdsp.c
AVCODEC_C_FILES-$(CONFIG_MMVIDEO_DECODER) += mmvideo.c
AVCODEC_C_FILES-$(CONFIG_MOTIONPIXELS_DECODER) += motionpixels.c
AVCODEC_C_FILES-$(CONFIG_MP1_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MP1FLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MP2_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MP2_ENCODER) += mpegaudioenc.c mpegaudio.c \
mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MP2FLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MP3ADU_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MP3ADUFLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MP3ON4_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c \
mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_MP3ON4FLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c \
mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_MP3_DECODER) += mpegaudiodec.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MP3FLOAT_DECODER) += mpegaudiodec_float.c mpegaudiodecheader.c \
mpegaudio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MPC7_DECODER) += mpc7.c mpc.c mpegaudiodec.c \
mpegaudiodecheader.c mpegaudio.c \
mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MPC8_DECODER) += mpc8.c mpc.c mpegaudiodec.c \
mpegaudiodecheader.c mpegaudio.c \
mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MPEGVIDEO_DECODER) += mpeg12.c mpeg12data.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_MPEG_XVMC_DECODER) += mpegvideo_xvmc.c
AVCODEC_C_FILES-$(CONFIG_MPEG1VIDEO_DECODER) += mpeg12.c mpeg12data.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_MPEG1VIDEO_ENCODER) += mpeg12enc.c mpegvideo_enc.c \
motion_est.c ratecontrol.c \
mpeg12.c mpeg12data.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_MPEG2_DXVA2_HWACCEL) += dxva2_mpeg2.c
AVCODEC_C_FILES-$(CONFIG_MPEG2_VAAPI_HWACCEL) += vaapi_mpeg2.c
AVCODEC_C_FILES-$(CONFIG_MPEG2VIDEO_DECODER) += mpeg12.c mpeg12data.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_MPEG2VIDEO_ENCODER) += mpeg12enc.c mpegvideo_enc.c \
motion_est.c ratecontrol.c \
mpeg12.c mpeg12data.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_MPEG4_VAAPI_HWACCEL) += vaapi_mpeg4.c
AVCODEC_C_FILES-$(CONFIG_MSMPEG4V1_DECODER) += msmpeg4.c msmpeg4data.c
AVCODEC_C_FILES-$(CONFIG_MSMPEG4V2_DECODER) += msmpeg4.c msmpeg4data.c h263dec.c \
h263.c ituh263dec.c mpeg4videodec.c
AVCODEC_C_FILES-$(CONFIG_MSMPEG4V2_ENCODER) += msmpeg4.c msmpeg4data.c h263dec.c \
h263.c ituh263dec.c mpeg4videodec.c
AVCODEC_C_FILES-$(CONFIG_MSMPEG4V3_DECODER) += msmpeg4.c msmpeg4data.c h263dec.c \
h263.c ituh263dec.c mpeg4videodec.c
AVCODEC_C_FILES-$(CONFIG_MSMPEG4V3_ENCODER) += msmpeg4.c msmpeg4data.c h263dec.c \
h263.c ituh263dec.c mpeg4videodec.c
AVCODEC_C_FILES-$(CONFIG_MSRLE_DECODER) += msrle.c msrledec.c
AVCODEC_C_FILES-$(CONFIG_MSVIDEO1_DECODER) += msvideo1.c
AVCODEC_C_FILES-$(CONFIG_MSVIDEO1_ENCODER) += msvideo1enc.c elbg.c
AVCODEC_C_FILES-$(CONFIG_MSZH_DECODER) += lcldec.c
AVCODEC_C_FILES-$(CONFIG_MXPEG_DECODER) += mxpegdec.c mjpegdec.c mjpeg.c
AVCODEC_C_FILES-$(CONFIG_NELLYMOSER_DECODER) += nellymoserdec.c nellymoser.c
AVCODEC_C_FILES-$(CONFIG_NELLYMOSER_ENCODER) += nellymoserenc.c nellymoser.c
AVCODEC_C_FILES-$(CONFIG_NUV_DECODER) += nuv.c rtjpeg.c
AVCODEC_C_FILES-$(CONFIG_PAM_DECODER) += pnmdec.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PAM_ENCODER) += pamenc.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PBM_DECODER) += pnmdec.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PBM_ENCODER) += pnmenc.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PCX_DECODER) += pcx.c
AVCODEC_C_FILES-$(CONFIG_PCX_ENCODER) += pcxenc.c
AVCODEC_C_FILES-$(CONFIG_PGM_DECODER) += pnmdec.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PGM_ENCODER) += pnmenc.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PGMYUV_DECODER) += pnmdec.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PGMYUV_ENCODER) += pnmenc.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PGSSUB_DECODER) += pgssubdec.c
AVCODEC_C_FILES-$(CONFIG_PICTOR_DECODER) += pictordec.c cga_data.c
AVCODEC_C_FILES-$(CONFIG_PNG_DECODER) += png.c pngdec.c
AVCODEC_C_FILES-$(CONFIG_PNG_ENCODER) += png.c pngenc.c
AVCODEC_C_FILES-$(CONFIG_PPM_DECODER) += pnmdec.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PPM_ENCODER) += pnmenc.c pnm.c
AVCODEC_C_FILES-$(CONFIG_PTX_DECODER) += ptx.c
AVCODEC_C_FILES-$(CONFIG_QCELP_DECODER) += qcelpdec.c celp_math.c \
celp_filters.c acelp_vectors.c \
acelp_filters.c
AVCODEC_C_FILES-$(CONFIG_QDM2_DECODER) += qdm2.c mpegaudiodec.c \
mpegaudiodecheader.c mpegaudio.c \
mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_QDRAW_DECODER) += qdrw.c
AVCODEC_C_FILES-$(CONFIG_QPEG_DECODER) += qpeg.c
AVCODEC_C_FILES-$(CONFIG_QTRLE_DECODER) += qtrle.c
AVCODEC_C_FILES-$(CONFIG_QTRLE_ENCODER) += qtrleenc.c
AVCODEC_C_FILES-$(CONFIG_R10K_DECODER) += r210dec.c
AVCODEC_C_FILES-$(CONFIG_R210_DECODER) += r210dec.c
AVCODEC_C_FILES-$(CONFIG_RA_144_DECODER) += ra144dec.c ra144.c celp_filters.c
AVCODEC_C_FILES-$(CONFIG_RA_144_ENCODER) += ra144enc.c ra144.c celp_filters.c
AVCODEC_C_FILES-$(CONFIG_RA_288_DECODER) += ra288.c celp_math.c celp_filters.c
AVCODEC_C_FILES-$(CONFIG_RAWVIDEO_DECODER) += rawdec.c
AVCODEC_C_FILES-$(CONFIG_RAWVIDEO_ENCODER) += rawenc.c
AVCODEC_C_FILES-$(CONFIG_RL2_DECODER) += rl2.c
AVCODEC_C_FILES-$(CONFIG_ROQ_DECODER) += roqvideodec.c roqvideo.c
AVCODEC_C_FILES-$(CONFIG_ROQ_ENCODER) += roqvideoenc.c roqvideo.c elbg.c
AVCODEC_C_FILES-$(CONFIG_ROQ_DPCM_DECODER) += dpcm.c
AVCODEC_C_FILES-$(CONFIG_ROQ_DPCM_ENCODER) += roqaudioenc.c
AVCODEC_C_FILES-$(CONFIG_RPZA_DECODER) += rpza.c
AVCODEC_C_FILES-$(CONFIG_RV10_DECODER) += rv10.c
AVCODEC_C_FILES-$(CONFIG_RV10_ENCODER) += rv10enc.c
AVCODEC_C_FILES-$(CONFIG_RV20_DECODER) += rv10.c
AVCODEC_C_FILES-$(CONFIG_RV20_ENCODER) += rv20enc.c
AVCODEC_C_FILES-$(CONFIG_RV30_DECODER) += rv30.c rv34.c rv30dsp.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_RV40_DECODER) += rv40.c rv34.c rv40dsp.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_S302M_DECODER) += s302m.c
AVCODEC_C_FILES-$(CONFIG_SGI_DECODER) += sgidec.c
AVCODEC_C_FILES-$(CONFIG_SGI_ENCODER) += sgienc.c rle.c
AVCODEC_C_FILES-$(CONFIG_SHORTEN_DECODER) += shorten.c
AVCODEC_C_FILES-$(CONFIG_SIPR_DECODER) += sipr.c acelp_pitch_delay.c \
celp_math.c acelp_vectors.c \
acelp_filters.c celp_filters.c \
sipr16k.c
AVCODEC_C_FILES-$(CONFIG_SMACKAUD_DECODER) += smacker.c
AVCODEC_C_FILES-$(CONFIG_SMACKER_DECODER) += smacker.c
AVCODEC_C_FILES-$(CONFIG_SMC_DECODER) += smc.c
AVCODEC_C_FILES-$(CONFIG_SNOW_DECODER) += snow.c rangecoder.c
AVCODEC_C_FILES-$(CONFIG_SNOW_ENCODER) += snow.c rangecoder.c motion_est.c \
ratecontrol.c h263.c \
mpegvideo.c error_resilience.c \
ituh263enc.c mpegvideo_enc.c \
mpeg12data.c
AVCODEC_C_FILES-$(CONFIG_SOL_DPCM_DECODER) += dpcm.c
AVCODEC_C_FILES-$(CONFIG_SONIC_DECODER) += sonic.c
AVCODEC_C_FILES-$(CONFIG_SONIC_ENCODER) += sonic.c
AVCODEC_C_FILES-$(CONFIG_SONIC_LS_ENCODER) += sonic.c
AVCODEC_C_FILES-$(CONFIG_SP5X_DECODER) += sp5xdec.c mjpegdec.c mjpeg.c
AVCODEC_C_FILES-$(CONFIG_SRT_DECODER) += srtdec.c ass.c
AVCODEC_C_FILES-$(CONFIG_SRT_ENCODER) += srtenc.c ass_split.c
AVCODEC_C_FILES-$(CONFIG_SUNRAST_DECODER) += sunrast.c
AVCODEC_C_FILES-$(CONFIG_SVQ1_DECODER) += svq1dec.c svq1.c h263.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_SVQ1_ENCODER) += svq1enc.c svq1.c \
motion_est.c h263.c \
mpegvideo.c error_resilience.c \
ituh263enc.c mpegvideo_enc.c \
ratecontrol.c mpeg12data.c
AVCODEC_C_FILES-$(CONFIG_SVQ3_DECODER) += h264.c svq3.c \
h264_loopfilter.c h264_direct.c \
h264_sei.c h264_ps.c h264_refs.c \
h264_cavlc.c h264_cabac.c cabac.c \
mpegvideo.c error_resilience.c \
svq1dec.c svq1.c h263.c
AVCODEC_C_FILES-$(CONFIG_TARGA_DECODER) += targa.c
AVCODEC_C_FILES-$(CONFIG_TARGA_ENCODER) += targaenc.c rle.c
AVCODEC_C_FILES-$(CONFIG_THEORA_DECODER) += xiph.c
AVCODEC_C_FILES-$(CONFIG_THP_DECODER) += mjpegdec.c mjpeg.c
AVCODEC_C_FILES-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.c
AVCODEC_C_FILES-$(CONFIG_TIFF_DECODER) += tiff.c lzw.c faxcompr.c
AVCODEC_C_FILES-$(CONFIG_TIFF_ENCODER) += tiffenc.c rle.c lzwenc.c
AVCODEC_C_FILES-$(CONFIG_TMV_DECODER) += tmv.c cga_data.c
AVCODEC_C_FILES-$(CONFIG_TRUEMOTION1_DECODER) += truemotion1.c
AVCODEC_C_FILES-$(CONFIG_TRUEMOTION2_DECODER) += truemotion2.c
AVCODEC_C_FILES-$(CONFIG_TRUESPEECH_DECODER) += truespeech.c
AVCODEC_C_FILES-$(CONFIG_TSCC_DECODER) += tscc.c msrledec.c
AVCODEC_C_FILES-$(CONFIG_TTA_DECODER) += tta.c
AVCODEC_C_FILES-$(CONFIG_TWINVQ_DECODER) += twinvq.c celp_math.c
AVCODEC_C_FILES-$(CONFIG_TXD_DECODER) += txd.c s3tc.c
AVCODEC_C_FILES-$(CONFIG_ULTI_DECODER) += ulti.c
AVCODEC_C_FILES-$(CONFIG_V210_DECODER) += v210dec.c
AVCODEC_C_FILES-$(CONFIG_V210_ENCODER) += v210enc.c
AVCODEC_C_FILES-$(CONFIG_V210X_DECODER) += v210x.c
AVCODEC_C_FILES-$(CONFIG_VB_DECODER) += vb.c
AVCODEC_C_FILES-$(CONFIG_VC1_DECODER) += vc1dec.c vc1.c vc1data.c vc1dsp.c \
msmpeg4.c msmpeg4data.c \
intrax8.c intrax8dsp.c
AVCODEC_C_FILES-$(CONFIG_VC1_DXVA2_HWACCEL) += dxva2_vc1.c
AVCODEC_C_FILES-$(CONFIG_VC1_VAAPI_HWACCEL) += vaapi_vc1.c
AVCODEC_C_FILES-$(CONFIG_VCR1_DECODER) += vcr1.c
AVCODEC_C_FILES-$(CONFIG_VCR1_ENCODER) += vcr1.c
AVCODEC_C_FILES-$(CONFIG_VMDAUDIO_DECODER) += vmdav.c
AVCODEC_C_FILES-$(CONFIG_VMDVIDEO_DECODER) += vmdav.c
AVCODEC_C_FILES-$(CONFIG_VMNC_DECODER) += vmnc.c
AVCODEC_C_FILES-$(CONFIG_VORBIS_DECODER) += vorbisdec.c vorbis.c \
vorbis_data.c xiph.c
AVCODEC_C_FILES-$(CONFIG_VORBIS_ENCODER) += vorbisenc.c vorbis.c \
vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_VP3_DECODER) += vp3.c vp3dsp.c
AVCODEC_C_FILES-$(CONFIG_VP5_DECODER) += vp5.c vp56.c vp56data.c vp56dsp.c \
vp3dsp.c vp56rac.c
AVCODEC_C_FILES-$(CONFIG_VP6_DECODER) += vp6.c vp56.c vp56data.c vp56dsp.c \
vp3dsp.c vp6dsp.c vp56rac.c
AVCODEC_C_FILES-$(CONFIG_VP8_DECODER) += vp8.c vp8dsp.c vp56rac.c
AVCODEC_C_FILES-$(CONFIG_VQA_DECODER) += vqavideo.c
AVCODEC_C_FILES-$(CONFIG_WAVPACK_DECODER) += wavpack.c
AVCODEC_C_FILES-$(CONFIG_WMAPRO_DECODER) += wmaprodec.c wma.c
AVCODEC_C_FILES-$(CONFIG_WMAV1_DECODER) += wmadec.c wma.c aactab.c
AVCODEC_C_FILES-$(CONFIG_WMAV1_ENCODER) += wmaenc.c wma.c aactab.c
AVCODEC_C_FILES-$(CONFIG_WMAV2_DECODER) += wmadec.c wma.c aactab.c
AVCODEC_C_FILES-$(CONFIG_WMAV2_ENCODER) += wmaenc.c wma.c aactab.c
AVCODEC_C_FILES-$(CONFIG_WMAVOICE_DECODER) += wmavoice.c \
celp_math.c celp_filters.c \
acelp_vectors.c acelp_filters.c
AVCODEC_C_FILES-$(CONFIG_WMV1_DECODER) += msmpeg4.c msmpeg4data.c
AVCODEC_C_FILES-$(CONFIG_WMV2_DECODER) += wmv2dec.c wmv2.c \
msmpeg4.c msmpeg4data.c \
intrax8.c intrax8dsp.c
AVCODEC_C_FILES-$(CONFIG_WMV2_ENCODER) += wmv2enc.c wmv2.c \
msmpeg4.c msmpeg4data.c \
mpeg4videodec.c ituh263dec.c h263dec.c
AVCODEC_C_FILES-$(CONFIG_WNV1_DECODER) += wnv1.c
AVCODEC_C_FILES-$(CONFIG_WS_SND1_DECODER) += ws-snd1.c
AVCODEC_C_FILES-$(CONFIG_XAN_DPCM_DECODER) += dpcm.c
AVCODEC_C_FILES-$(CONFIG_XAN_WC3_DECODER) += xan.c
AVCODEC_C_FILES-$(CONFIG_XAN_WC4_DECODER) += xxan.c
AVCODEC_C_FILES-$(CONFIG_XL_DECODER) += xl.c
AVCODEC_C_FILES-$(CONFIG_XSUB_DECODER) += xsubdec.c
AVCODEC_C_FILES-$(CONFIG_XSUB_ENCODER) += xsubenc.c
AVCODEC_C_FILES-$(CONFIG_YOP_DECODER) += yop.c
AVCODEC_C_FILES-$(CONFIG_ZLIB_DECODER) += lcldec.c
AVCODEC_C_FILES-$(CONFIG_ZLIB_ENCODER) += lclenc.c
AVCODEC_C_FILES-$(CONFIG_ZMBV_DECODER) += zmbv.c
AVCODEC_C_FILES-$(CONFIG_ZMBV_ENCODER) += zmbvenc.c AVCODEC_C_FILES-$(CONFIG_PCM_ALAW_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_ALAW_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_BLURAY_DECODER) += pcm-mpeg.c
AVCODEC_C_FILES-$(CONFIG_PCM_DVD_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_DVD_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_F32BE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_F32BE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_F32LE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_F32LE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_F64BE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_F64BE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_F64LE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_F64LE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_LXF_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_MULAW_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_MULAW_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S8_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S8_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S16BE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S16BE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S16LE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S16LE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S16LE_PLANAR_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S24BE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S24BE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S24DAUD_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S24DAUD_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S24LE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S24LE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S32BE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S32BE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S32LE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_S32LE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U8_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U8_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U16BE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U16BE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U16LE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U16LE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U24BE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U24BE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U24LE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U24LE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U32BE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U32BE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U32LE_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_U32LE_ENCODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_ZORK_DECODER) += pcm.c
AVCODEC_C_FILES-$(CONFIG_PCM_ZORK_ENCODER) += pcm.c AVCODEC_C_FILES-$(CONFIG_ADPCM_4XM_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_ADX_DECODER) += adxdec.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_ADX_ENCODER) += adxenc.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_CT_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_MAXIS_XA_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_R1_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_R2_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_R3_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_EA_XAS_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_G722_DECODER) += g722.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_G722_ENCODER) += g722.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_G726_DECODER) += g726.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_G726_ENCODER) += g726.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_AMV_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_DK3_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_DK4_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_EA_EACS_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_EA_SEAD_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_ISS_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_QT_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_QT_ENCODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_WAV_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_WAV_ENCODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_IMA_WS_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_MS_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_MS_ENCODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_SBPRO_2_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_SBPRO_3_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_SBPRO_4_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_SWF_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_SWF_ENCODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_THP_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_XA_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_YAMAHA_DECODER) += adpcm.c
AVCODEC_C_FILES-$(CONFIG_ADPCM_YAMAHA_ENCODER) += adpcm.c AVCODEC_C_FILES-$(CONFIG_ADTS_MUXER) += mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_CAF_DEMUXER) += mpeg4audio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_DV_DEMUXER) += dvdata.c
AVCODEC_C_FILES-$(CONFIG_DV_MUXER) += dvdata.c
AVCODEC_C_FILES-$(CONFIG_FLAC_DEMUXER) += flacdec.c flacdata.c flac.c vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_FLAC_MUXER) += flacdec.c flacdata.c flac.c vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_FLV_DEMUXER) += mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_GXF_DEMUXER) += mpeg12data.c
AVCODEC_C_FILES-$(CONFIG_IFF_DEMUXER) += iff.c
AVCODEC_C_FILES-$(CONFIG_MATROSKA_AUDIO_MUXER) += xiph.c mpeg4audio.c vorbis_data.c \
flacdec.c flacdata.c flac.c
AVCODEC_C_FILES-$(CONFIG_MATROSKA_DEMUXER) += mpeg4audio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MATROSKA_MUXER) += xiph.c mpeg4audio.c \
flacdec.c flacdata.c flac.c \
mpegaudiodata.c vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_MOV_DEMUXER) += mpeg4audio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MOV_MUXER) += mpeg4audio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MPEGTS_MUXER) += mpegvideo.c mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_MPEGTS_DEMUXER) += mpeg4audio.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_NUT_MUXER) += mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_OGG_DEMUXER) += flacdec.c flacdata.c flac.c \
dirac.c mpeg12data.c vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_OGG_MUXER) += xiph.c flacdec.c flacdata.c flac.c \
vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_RTP_MUXER) += mpeg4audio.c mpegvideo.c xiph.c
AVCODEC_C_FILES-$(CONFIG_SPDIF_DEMUXER) += aacadtsdec.c mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_WEBM_MUXER) += xiph.c mpeg4audio.c \
flacdec.c flacdata.c flac.c \
mpegaudiodata.c vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_WTV_DEMUXER) += mpeg4audio.c mpegaudiodata.c AVCODEC_C_FILES-$(CONFIG_LIBCELT_DECODER) += libcelt_dec.c
AVCODEC_C_FILES-$(CONFIG_LIBDIRAC_DECODER) += libdiracdec.c
AVCODEC_C_FILES-$(CONFIG_LIBDIRAC_ENCODER) += libdiracenc.c libdirac_libschro.c
AVCODEC_C_FILES-$(CONFIG_LIBFAAC_ENCODER) += libfaac.c
AVCODEC_C_FILES-$(CONFIG_LIBGSM_DECODER) += libgsm.c
AVCODEC_C_FILES-$(CONFIG_LIBGSM_ENCODER) += libgsm.c
AVCODEC_C_FILES-$(CONFIG_LIBGSM_MS_DECODER) += libgsm.c
AVCODEC_C_FILES-$(CONFIG_LIBGSM_MS_ENCODER) += libgsm.c
AVCODEC_C_FILES-$(CONFIG_LIBMP3LAME_ENCODER) += libmp3lame.c
AVCODEC_C_FILES-$(CONFIG_LIBOPENCORE_AMRNB_DECODER) += libopencore-amr.c
AVCODEC_C_FILES-$(CONFIG_LIBOPENCORE_AMRNB_ENCODER) += libopencore-amr.c
AVCODEC_C_FILES-$(CONFIG_LIBOPENCORE_AMRWB_DECODER) += libopencore-amr.c
AVCODEC_C_FILES-$(CONFIG_LIBOPENJPEG_DECODER) += libopenjpeg.c
AVCODEC_C_FILES-$(CONFIG_LIBSCHROEDINGER_DECODER) += libschroedingerdec.c \
libschroedinger.c \
libdirac_libschro.c
AVCODEC_C_FILES-$(CONFIG_LIBSCHROEDINGER_ENCODER) += libschroedingerenc.c \
libschroedinger.c \
libdirac_libschro.c
AVCODEC_C_FILES-$(CONFIG_LIBSPEEX_DECODER) += libspeexdec.c
AVCODEC_C_FILES-$(CONFIG_LIBTHEORA_ENCODER) += libtheoraenc.c
AVCODEC_C_FILES-$(CONFIG_LIBVO_AACENC_ENCODER) += libvo-aacenc.c mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_LIBVO_AMRWBENC_ENCODER) += libvo-amrwbenc.c
AVCODEC_C_FILES-$(CONFIG_LIBVORBIS_ENCODER) += libvorbis.c vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_LIBVPX_DECODER) += libvpxdec.c
AVCODEC_C_FILES-$(CONFIG_LIBVPX_ENCODER) += libvpxenc.c
AVCODEC_C_FILES-$(CONFIG_LIBX264_ENCODER) += libx264.c
AVCODEC_C_FILES-$(CONFIG_LIBXAVS_ENCODER) += libxavs.c
AVCODEC_C_FILES-$(CONFIG_LIBXVID) += libxvidff.c libxvid_rc.c AVCODEC_C_FILES-$(CONFIG_AAC_PARSER) += aac_parser.c aac_ac3_parser.c \
aacadtsdec.c mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_AC3_PARSER) += ac3_parser.c ac3tab.c \
aac_ac3_parser.c
AVCODEC_C_FILES-$(CONFIG_CAVSVIDEO_PARSER) += cavs_parser.c
AVCODEC_C_FILES-$(CONFIG_DCA_PARSER) += dca_parser.c
AVCODEC_C_FILES-$(CONFIG_DIRAC_PARSER) += dirac_parser.c
AVCODEC_C_FILES-$(CONFIG_DNXHD_PARSER) += dnxhd_parser.c
AVCODEC_C_FILES-$(CONFIG_DVBSUB_PARSER) += dvbsub_parser.c
AVCODEC_C_FILES-$(CONFIG_DVDSUB_PARSER) += dvdsub_parser.c
AVCODEC_C_FILES-$(CONFIG_FLAC_PARSER) += flac_parser.c flacdata.c flac.c \
vorbis_data.c
AVCODEC_C_FILES-$(CONFIG_H261_PARSER) += h261_parser.c
AVCODEC_C_FILES-$(CONFIG_H263_PARSER) += h263_parser.c
AVCODEC_C_FILES-$(CONFIG_H264_PARSER) += h264_parser.c h264.c \
cabac.c \
h264_refs.c h264_sei.c h264_direct.c \
h264_loopfilter.c h264_cabac.c \
h264_cavlc.c h264_ps.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_AAC_LATM_PARSER) += latm_parser.c
AVCODEC_C_FILES-$(CONFIG_MJPEG_PARSER) += mjpeg_parser.c
AVCODEC_C_FILES-$(CONFIG_MLP_PARSER) += mlp_parser.c mlp.c
AVCODEC_C_FILES-$(CONFIG_MPEG4VIDEO_PARSER) += mpeg4video_parser.c h263.c \
mpegvideo.c error_resilience.c \
mpeg4videodec.c mpeg4video.c \
ituh263dec.c h263dec.c
AVCODEC_C_FILES-$(CONFIG_MPEGAUDIO_PARSER) += mpegaudio_parser.c \
mpegaudiodecheader.c mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_MPEGVIDEO_PARSER) += mpegvideo_parser.c \
mpeg12.c mpeg12data.c \
mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_PNM_PARSER) += pnm_parser.c pnm.c
AVCODEC_C_FILES-$(CONFIG_VC1_PARSER) += vc1_parser.c vc1.c vc1data.c \
msmpeg4.c msmpeg4data.c mpeg4video.c \
h263.c mpegvideo.c error_resilience.c
AVCODEC_C_FILES-$(CONFIG_VP3_PARSER) += vp3_parser.c
AVCODEC_C_FILES-$(CONFIG_VP8_PARSER) += vp8_parser.c AVCODEC_C_FILES-$(CONFIG_AAC_ADTSTOASC_BSF) += aac_adtstoasc_bsf.c aacadtsdec.c \
mpeg4audio.c
AVCODEC_C_FILES-$(CONFIG_CHOMP_BSF) += chomp_bsf.c
AVCODEC_C_FILES-$(CONFIG_DUMP_EXTRADATA_BSF) += dump_extradata_bsf.c
AVCODEC_C_FILES-$(CONFIG_H264_MP4TOANNEXB_BSF) += h264_mp4toannexb_bsf.c
AVCODEC_C_FILES-$(CONFIG_IMX_DUMP_HEADER_BSF) += imx_dump_header_bsf.c
AVCODEC_C_FILES-$(CONFIG_MJPEG2JPEG_BSF) += mjpeg2jpeg_bsf.c mjpeg.c
AVCODEC_C_FILES-$(CONFIG_MJPEGA_DUMP_HEADER_BSF) += mjpega_dump_header_bsf.c
AVCODEC_C_FILES-$(CONFIG_MOV2TEXTSUB_BSF) += movsub_bsf.c
AVCODEC_C_FILES-$(CONFIG_MP3_HEADER_COMPRESS_BSF) += mp3_header_compress_bsf.c
AVCODEC_C_FILES-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF) += mp3_header_decompress_bsf.c \
mpegaudiodata.c
AVCODEC_C_FILES-$(CONFIG_NOISE_BSF) += noise_bsf.c
AVCODEC_C_FILES-$(CONFIG_REMOVE_EXTRADATA_BSF) += remove_extradata_bsf.c
AVCODEC_C_FILES-$(CONFIG_TEXT2MOVSUB_BSF) += movsub_bsf.c AVCODEC_C_FILES-$(HAVE_PTHREADS) += pthread.c
AVCODEC_C_FILES-$(HAVE_W32THREADS) += w32thread.c AVCODEC_C_FILES-$(CONFIG_MLIB) += mlib/dsputil_mlib.c AVCODEC_C_FILES-$(!CONFIG_SMALL) += inverse.c AVCODEC_C_FILES += $(AVCODEC_C_FILES-yes) AVCODEC_SRC_FILES = $(addprefix libavcodec/, $(sort $(AVCODEC_C_FILES))) AVCODEC_ARM_C_FILES-$(CONFIG_AC3DSP) += arm/ac3dsp_init_arm.c \
arm/ac3dsp_arm.S AVCODEC_ARM_C_FILES-$(CONFIG_DCA_DECODER) += arm/dcadsp_init_arm.c \ ARMV6-FILES-$(CONFIG_AC3DSP) += arm/ac3dsp_armv6.S AVCODEC_ARM_C_FILES-$(CONFIG_MPEGAUDIODSP) += arm/mpegaudiodsp_init_arm.c
ARMV6-FILES-$(CONFIG_MPEGAUDIODSP) += arm/mpegaudiodsp_fixed_armv6.S AVCODEC_ARM_C_FILES-$(CONFIG_VP5_DECODER) += arm/vp56dsp_init_arm.c
AVCODEC_ARM_C_FILES-$(CONFIG_VP6_DECODER) += arm/vp56dsp_init_arm.c
AVCODEC_ARM_C_FILES-$(CONFIG_VP8_DECODER) += arm/vp8dsp_init_arm.c
ARMV6-FILES-$(CONFIG_VP8_DECODER) += arm/vp8_armv6.S AVCODEC_ARM_C_FILES-$(CONFIG_H264DSP) += arm/h264dsp_init_arm.c
AVCODEC_ARM_C_FILES-$(CONFIG_H264PRED) += arm/h264pred_init_arm.c AVCODEC_ARM_C_FILES += arm/dsputil_init_arm.c \
arm/dsputil_arm.S \
arm/fft_init_arm.c \
arm/fft_fixed_init_arm.c \
arm/fmtconvert_init_arm.c \
arm/jrevdct_arm.S \
arm/mpegvideo_arm.c \
arm/simple_idct_arm.S \ AVCODEC_ARM_C_FILES-$(HAVE_ARMV5TE) += arm/dsputil_init_armv5te.c \
arm/mpegvideo_armv5te.c \
arm/mpegvideo_armv5te_s.S \
arm/simple_idct_armv5te.S \ AVCODEC_ARM_C_FILES-$(HAVE_ARMV6) += arm/dsputil_init_armv6.c \
arm/dsputil_armv6.S \
arm/simple_idct_armv6.S \
$(ARMV6-FILES-yes) VFP-FILES-$(HAVE_ARMV6) += arm/fmtconvert_vfp.S \ AVCODEC_ARM_C_FILES-$(HAVE_ARMVFP) += arm/dsputil_vfp.S \
arm/dsputil_init_vfp.c \
$(VFP-FILES-yes) AVCODEC_ARM_C_FILES-$(HAVE_IWMMXT) += arm/dsputil_iwmmxt.c \
arm/mpegvideo_iwmmxt.c \ NEON-FILES-$(CONFIG_FFT) += arm/fft_neon.S.neon \
arm/fft_fixed_neon.c.neon \ NEON-FILES-$(CONFIG_MDCT) += arm/mdct_neon.S.neon \
arm/mdct_fixed_neon.c.neon \ NEON-FILES-$(CONFIG_RDFT) += arm/rdft_neon.S.neon \ NEON-FILES-$(CONFIG_H264DSP) += arm/h264dsp_neon.S.neon \
arm/h264idct_neon.c.neon \ NEON-FILES-$(CONFIG_H264PRED) += arm/h264pred_neon.S.neon \ NEON-FILES-$(CONFIG_AC3DSP) += arm/ac3dsp_neon.S.neon NEON-FILES-$(CONFIG_DCA_DECODER) += arm/dcadsp_neon.S.neon \
arm/synth_filter_neon.c.neon \ NEON-FILES-$(CONFIG_VP3_DECODER) += arm/vp3dsp_neon.S.neon NEON-FILES-$(CONFIG_VP5_DECODER) += arm/vp56dsp_neon.S.neon \
arm/vp3dsp_neon.c.neon \ NEON-FILES-$(CONFIG_VP6_DECODER) += arm/vp56dsp_neon.S.neon \
arm/vp3dsp_neon.c.neon \ NEON-FILES-$(CONFIG_VP8_DECODER) += arm/vp8dsp_neon.S.neon AVCODEC_ARM_C_FILES-$(HAVE_NEON) += arm/dsputil_init_neon.c.neon \
arm/dsputil_neon.S.neon \
arm/fmtconvert_neon.S.neon \
arm/int_neon.S.neon \
arm/mpegvideo_neon.S.neon \
arm/simple_idct_neon.S.neon \
$(NEON-FILES-yes) AVCODEC_ARM_C_FILES += $(AVCODEC_ARM_C_FILES-yes) AVCODEC_ARM_SRC_FILES = $(addprefix libavcodec/, $(sort $(AVCODEC_ARM_C_FILES))) AVFORMAT_C_FILES = allformats.c \
cutils.c \
id3v1.c \
id3v2.c \
metadata.c \
options.c \
os_support.c \
sdp.c \
seek.c \
utils.c \ AVFORMAT_C_FILES-$(CONFIG_A64_MUXER) += a64.c
AVFORMAT_C_FILES-$(CONFIG_AAC_DEMUXER) += aacdec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_AC3_DEMUXER) += ac3dec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_AC3_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_ADTS_MUXER) += adtsenc.c
AVFORMAT_C_FILES-$(CONFIG_AEA_DEMUXER) += aea.c pcm.c
AVFORMAT_C_FILES-$(CONFIG_AIFF_DEMUXER) += aiffdec.c riff.c pcm.c isom.c
AVFORMAT_C_FILES-$(CONFIG_AIFF_MUXER) += aiffenc.c riff.c isom.c
AVFORMAT_C_FILES-$(CONFIG_AMR_DEMUXER) += amr.c
AVFORMAT_C_FILES-$(CONFIG_AMR_MUXER) += amr.c
AVFORMAT_C_FILES-$(CONFIG_ANM_DEMUXER) += anm.c
AVFORMAT_C_FILES-$(CONFIG_APC_DEMUXER) += apc.c
AVFORMAT_C_FILES-$(CONFIG_APE_DEMUXER) += ape.c apetag.c
AVFORMAT_C_FILES-$(CONFIG_APPLEHTTP_DEMUXER) += applehttp.c
AVFORMAT_C_FILES-$(CONFIG_ASF_DEMUXER) += asfdec.c asf.c asfcrypt.c \
riff.c avlanguage.c
AVFORMAT_C_FILES-$(CONFIG_ASF_MUXER) += asfenc.c asf.c riff.c
AVFORMAT_C_FILES-$(CONFIG_ASS_DEMUXER) += assdec.c
AVFORMAT_C_FILES-$(CONFIG_ASS_MUXER) += assenc.c
AVFORMAT_C_FILES-$(CONFIG_AU_DEMUXER) += au.c pcm.c
AVFORMAT_C_FILES-$(CONFIG_AU_MUXER) += au.c
AVFORMAT_C_FILES-$(CONFIG_AVI_DEMUXER) += avidec.c riff.c avi.c
AVFORMAT_C_FILES-$(CONFIG_AVI_MUXER) += avienc.c riff.c avi.c
AVFORMAT_C_FILES-$(CONFIG_AVISYNTH) += avisynth.c
AVFORMAT_C_FILES-$(CONFIG_AVM2_MUXER) += swfenc.c
AVFORMAT_C_FILES-$(CONFIG_AVS_DEMUXER) += avs.c vocdec.c voc.c
AVFORMAT_C_FILES-$(CONFIG_BETHSOFTVID_DEMUXER) += bethsoftvid.c
AVFORMAT_C_FILES-$(CONFIG_BFI_DEMUXER) += bfi.c
AVFORMAT_C_FILES-$(CONFIG_BINK_DEMUXER) += bink.c
AVFORMAT_C_FILES-$(CONFIG_C93_DEMUXER) += c93.c vocdec.c voc.c
AVFORMAT_C_FILES-$(CONFIG_CAF_DEMUXER) += cafdec.c caf.c mov.c riff.c isom.c
AVFORMAT_C_FILES-$(CONFIG_CAF_MUXER) += cafenc.c caf.c riff.c isom.c
AVFORMAT_C_FILES-$(CONFIG_CAVSVIDEO_DEMUXER) += cavsvideodec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_CAVSVIDEO_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_CDG_DEMUXER) += cdg.c
AVFORMAT_C_FILES-$(CONFIG_CRC_MUXER) += crcenc.c
AVFORMAT_C_FILES-$(CONFIG_DAUD_DEMUXER) += daud.c
AVFORMAT_C_FILES-$(CONFIG_DAUD_MUXER) += daud.c
AVFORMAT_C_FILES-$(CONFIG_DFA_DEMUXER) += dfa.c
AVFORMAT_C_FILES-$(CONFIG_DIRAC_DEMUXER) += diracdec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_DIRAC_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_DNXHD_DEMUXER) += dnxhddec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_DNXHD_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_DSICIN_DEMUXER) += dsicin.c
AVFORMAT_C_FILES-$(CONFIG_DTS_DEMUXER) += dtsdec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_DTS_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_DV_DEMUXER) += dv.c
AVFORMAT_C_FILES-$(CONFIG_DV_MUXER) += dvenc.c
AVFORMAT_C_FILES-$(CONFIG_DXA_DEMUXER) += dxa.c riff.c
AVFORMAT_C_FILES-$(CONFIG_EA_CDATA_DEMUXER) += eacdata.c
AVFORMAT_C_FILES-$(CONFIG_EA_DEMUXER) += electronicarts.c
AVFORMAT_C_FILES-$(CONFIG_EAC3_DEMUXER) += ac3dec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_EAC3_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_FFM_DEMUXER) += ffmdec.c
AVFORMAT_C_FILES-$(CONFIG_FFM_MUXER) += ffmenc.c
AVFORMAT_C_FILES-$(CONFIG_FFMETADATA_DEMUXER) += ffmetadec.c
AVFORMAT_C_FILES-$(CONFIG_FFMETADATA_MUXER) += ffmetaenc.c
AVFORMAT_C_FILES-$(CONFIG_FILMSTRIP_DEMUXER) += filmstripdec.c
AVFORMAT_C_FILES-$(CONFIG_FILMSTRIP_MUXER) += filmstripenc.c
AVFORMAT_C_FILES-$(CONFIG_FLAC_DEMUXER) += flacdec.c rawdec.c \
oggparsevorbis.c \
vorbiscomment.c
AVFORMAT_C_FILES-$(CONFIG_FLAC_MUXER) += flacenc.c flacenc_header.c \
vorbiscomment.c
AVFORMAT_C_FILES-$(CONFIG_FLIC_DEMUXER) += flic.c
AVFORMAT_C_FILES-$(CONFIG_FLV_DEMUXER) += flvdec.c
AVFORMAT_C_FILES-$(CONFIG_FLV_MUXER) += flvenc.c avc.c
AVFORMAT_C_FILES-$(CONFIG_FOURXM_DEMUXER) += 4xm.c
AVFORMAT_C_FILES-$(CONFIG_FRAMECRC_MUXER) += framecrcenc.c
AVFORMAT_C_FILES-$(CONFIG_FRAMEMD5_MUXER) += md5enc.c
AVFORMAT_C_FILES-$(CONFIG_GIF_MUXER) += gif.c
AVFORMAT_C_FILES-$(CONFIG_GSM_DEMUXER) += rawdec.c
AVFORMAT_C_FILES-$(CONFIG_GXF_DEMUXER) += gxf.c
AVFORMAT_C_FILES-$(CONFIG_GXF_MUXER) += gxfenc.c audiointerleave.c
AVFORMAT_C_FILES-$(CONFIG_G722_DEMUXER) += rawdec.c
AVFORMAT_C_FILES-$(CONFIG_G722_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_H261_DEMUXER) += h261dec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_H261_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_H263_DEMUXER) += h263dec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_H263_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_H264_DEMUXER) += h264dec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_H264_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_IDCIN_DEMUXER) += idcin.c
AVFORMAT_C_FILES-$(CONFIG_IFF_DEMUXER) += iff.c
AVFORMAT_C_FILES-$(CONFIG_IMAGE2_DEMUXER) += img2.c
AVFORMAT_C_FILES-$(CONFIG_IMAGE2_MUXER) += img2.c
AVFORMAT_C_FILES-$(CONFIG_IMAGE2PIPE_DEMUXER) += img2.c
AVFORMAT_C_FILES-$(CONFIG_IMAGE2PIPE_MUXER) += img2.c
AVFORMAT_C_FILES-$(CONFIG_INGENIENT_DEMUXER) += ingenientdec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_IPMOVIE_DEMUXER) += ipmovie.c
AVFORMAT_C_FILES-$(CONFIG_ISS_DEMUXER) += iss.c
AVFORMAT_C_FILES-$(CONFIG_IV8_DEMUXER) += iv8.c
AVFORMAT_C_FILES-$(CONFIG_IVF_DEMUXER) += ivfdec.c riff.c
AVFORMAT_C_FILES-$(CONFIG_IVF_MUXER) += ivfenc.c
AVFORMAT_C_FILES-$(CONFIG_JV_DEMUXER) += jvdec.c
AVFORMAT_C_FILES-$(CONFIG_LMLM4_DEMUXER) += lmlm4.c
AVFORMAT_C_FILES-$(CONFIG_LXF_DEMUXER) += lxfdec.c
AVFORMAT_C_FILES-$(CONFIG_M4V_DEMUXER) += m4vdec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_M4V_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_MATROSKA_DEMUXER) += matroskadec.c matroska.c \
riff.c isom.c rmdec.c rm.c
AVFORMAT_C_FILES-$(CONFIG_MATROSKA_MUXER) += matroskaenc.c matroska.c \
riff.c isom.c avc.c \
flacenc_header.c avlanguage.c
AVFORMAT_C_FILES-$(CONFIG_MD5_MUXER) += md5enc.c
AVFORMAT_C_FILES-$(CONFIG_MICRODVD_DEMUXER) += microdvddec.c
AVFORMAT_C_FILES-$(CONFIG_MICRODVD_MUXER) += microdvdenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_MJPEG_DEMUXER) += rawdec.c
AVFORMAT_C_FILES-$(CONFIG_MJPEG_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_MLP_DEMUXER) += rawdec.c
AVFORMAT_C_FILES-$(CONFIG_MLP_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_MM_DEMUXER) += mm.c
AVFORMAT_C_FILES-$(CONFIG_MMF_DEMUXER) += mmf.c pcm.c
AVFORMAT_C_FILES-$(CONFIG_MMF_MUXER) += mmf.c riff.c
AVFORMAT_C_FILES-$(CONFIG_MOV_DEMUXER) += mov.c riff.c isom.c
AVFORMAT_C_FILES-$(CONFIG_MOV_MUXER) += movenc.c riff.c isom.c avc.c \
movenchint.c rtpenc_chain.c
AVFORMAT_C_FILES-$(CONFIG_MP2_MUXER) += mp3enc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_MP3_DEMUXER) += mp3dec.c
AVFORMAT_C_FILES-$(CONFIG_MP3_MUXER) += mp3enc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_MPC_DEMUXER) += mpc.c apetag.c
AVFORMAT_C_FILES-$(CONFIG_MPC8_DEMUXER) += mpc8.c
AVFORMAT_C_FILES-$(CONFIG_MPEG1SYSTEM_MUXER) += mpegenc.c
AVFORMAT_C_FILES-$(CONFIG_MPEG1VCD_MUXER) += mpegenc.c
AVFORMAT_C_FILES-$(CONFIG_MPEG2DVD_MUXER) += mpegenc.c
AVFORMAT_C_FILES-$(CONFIG_MPEG2VOB_MUXER) += mpegenc.c
AVFORMAT_C_FILES-$(CONFIG_MPEG2SVCD_MUXER) += mpegenc.c
AVFORMAT_C_FILES-$(CONFIG_MPEG1VIDEO_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_MPEG2VIDEO_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_MPEGPS_DEMUXER) += mpeg.c
AVFORMAT_C_FILES-$(CONFIG_MPEGTS_DEMUXER) += mpegts.c isom.c
AVFORMAT_C_FILES-$(CONFIG_MPEGTS_MUXER) += mpegtsenc.c adtsenc.c
AVFORMAT_C_FILES-$(CONFIG_MPEGVIDEO_DEMUXER) += mpegvideodec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_MPJPEG_MUXER) += mpjpeg.c
AVFORMAT_C_FILES-$(CONFIG_MSNWC_TCP_DEMUXER) += msnwc_tcp.c
AVFORMAT_C_FILES-$(CONFIG_MTV_DEMUXER) += mtv.c
AVFORMAT_C_FILES-$(CONFIG_MVI_DEMUXER) += mvi.c
AVFORMAT_C_FILES-$(CONFIG_MXF_DEMUXER) += mxfdec.c mxf.c
AVFORMAT_C_FILES-$(CONFIG_MXF_MUXER) += mxfenc.c mxf.c audiointerleave.c
AVFORMAT_C_FILES-$(CONFIG_MXG_DEMUXER) += mxg.c
AVFORMAT_C_FILES-$(CONFIG_NC_DEMUXER) += ncdec.c
AVFORMAT_C_FILES-$(CONFIG_NSV_DEMUXER) += nsvdec.c
AVFORMAT_C_FILES-$(CONFIG_NULL_MUXER) += nullenc.c
AVFORMAT_C_FILES-$(CONFIG_NUT_DEMUXER) += nutdec.c nut.c riff.c
AVFORMAT_C_FILES-$(CONFIG_NUT_MUXER) += nutenc.c nut.c riff.c
AVFORMAT_C_FILES-$(CONFIG_NUV_DEMUXER) += nuv.c riff.c
AVFORMAT_C_FILES-$(CONFIG_OGG_DEMUXER) += oggdec.c \
oggparsecelt.c \
oggparsedirac.c \
oggparseflac.c \
oggparseogm.c \
oggparseskeleton.c \
oggparsespeex.c \
oggparsetheora.c \
oggparsevorbis.c \
riff.c \
vorbiscomment.c
AVFORMAT_C_FILES-$(CONFIG_OGG_MUXER) += oggenc.c \
vorbiscomment.c
AVFORMAT_C_FILES-$(CONFIG_OMA_DEMUXER) += oma.c pcm.c
AVFORMAT_C_FILES-$(CONFIG_PCM_ALAW_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_ALAW_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_F32BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_F32BE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_F32LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_F32LE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_F64BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_F64BE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_F64LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_F64LE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_MULAW_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_MULAW_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S16BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S16BE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S16LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S16LE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S24BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S24BE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S24LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S24LE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S32BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S32BE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S32LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S32LE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S8_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_S8_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U16BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U16BE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U16LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U16LE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U24BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U24BE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U24LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U24LE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U32BE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U32BE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U32LE_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U32LE_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U8_DEMUXER) += pcmdec.c pcm.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_PCM_U8_MUXER) += pcmenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_PMP_DEMUXER) += pmpdec.c
AVFORMAT_C_FILES-$(CONFIG_PVA_DEMUXER) += pva.c
AVFORMAT_C_FILES-$(CONFIG_QCP_DEMUXER) += qcp.c
AVFORMAT_C_FILES-$(CONFIG_R3D_DEMUXER) += r3d.c
AVFORMAT_C_FILES-$(CONFIG_RAWVIDEO_DEMUXER) += rawvideodec.c rawdec.c
AVFORMAT_C_FILES-$(CONFIG_RAWVIDEO_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_RL2_DEMUXER) += rl2.c
AVFORMAT_C_FILES-$(CONFIG_RM_DEMUXER) += rmdec.c rm.c
AVFORMAT_C_FILES-$(CONFIG_RM_MUXER) += rmenc.c rm.c
AVFORMAT_C_FILES-$(CONFIG_ROQ_DEMUXER) += idroqdec.c
AVFORMAT_C_FILES-$(CONFIG_ROQ_MUXER) += idroqenc.c rawenc.c
AVFORMAT_C_FILES-$(CONFIG_RSO_DEMUXER) += rsodec.c rso.c pcm.c
AVFORMAT_C_FILES-$(CONFIG_RSO_MUXER) += rsoenc.c rso.c
AVFORMAT_C_FILES-$(CONFIG_RPL_DEMUXER) += rpl.c
AVFORMAT_C_FILES-$(CONFIG_RTP_MUXER) += rtp.c \
rtpenc_aac.c \
rtpenc_latm.c \
rtpenc_amr.c \
rtpenc_h263.c \
rtpenc_mpv.c \
rtpenc.c \
rtpenc_h264.c \
rtpenc_vp8.c \
rtpenc_xiph.c \
avc.c
AVFORMAT_C_FILES-$(CONFIG_RTPDEC) += rdt.c \
rtp.c \
rtpdec.c \
rtpdec_amr.c \
rtpdec_asf.c \
rtpdec_h263.c \
rtpdec_h264.c \
rtpdec_latm.c \
rtpdec_mpeg4.c \
rtpdec_qcelp.c \
rtpdec_qdm2.c \
rtpdec_qt.c \
rtpdec_svq3.c \
rtpdec_vp8.c \
rtpdec_xiph.c
AVFORMAT_C_FILES-$(CONFIG_RTSP_DEMUXER) += rtsp.c rtspdec.c httpauth.c
AVFORMAT_C_FILES-$(CONFIG_RTSP_MUXER) += rtsp.c rtspenc.c httpauth.c \
rtpenc_chain.c
AVFORMAT_C_FILES-$(CONFIG_SAP_DEMUXER) += sapdec.c
AVFORMAT_C_FILES-$(CONFIG_SAP_MUXER) += sapenc.c rtpenc_chain.c
AVFORMAT_C_FILES-$(CONFIG_SDP_DEMUXER) += rtsp.c
AVFORMAT_C_FILES-$(CONFIG_SEGAFILM_DEMUXER) += segafilm.c
AVFORMAT_C_FILES-$(CONFIG_SHORTEN_DEMUXER) += rawdec.c
AVFORMAT_C_FILES-$(CONFIG_SIFF_DEMUXER) += siff.c
AVFORMAT_C_FILES-$(CONFIG_SMACKER_DEMUXER) += smacker.c
AVFORMAT_C_FILES-$(CONFIG_SOL_DEMUXER) += sol.c pcm.c
AVFORMAT_C_FILES-$(CONFIG_SOX_DEMUXER) += soxdec.c pcm.c
AVFORMAT_C_FILES-$(CONFIG_SOX_MUXER) += soxenc.c
AVFORMAT_C_FILES-$(CONFIG_SPDIF_DEMUXER) += spdif.c spdifdec.c
AVFORMAT_C_FILES-$(CONFIG_SPDIF_MUXER) += spdif.c spdifenc.c
AVFORMAT_C_FILES-$(CONFIG_SRT_DEMUXER) += srtdec.c
AVFORMAT_C_FILES-$(CONFIG_SRT_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_STR_DEMUXER) += psxstr.c
AVFORMAT_C_FILES-$(CONFIG_SWF_DEMUXER) += swfdec.c
AVFORMAT_C_FILES-$(CONFIG_SWF_MUXER) += swfenc.c
AVFORMAT_C_FILES-$(CONFIG_THP_DEMUXER) += thp.c
AVFORMAT_C_FILES-$(CONFIG_TIERTEXSEQ_DEMUXER) += tiertexseq.c
AVFORMAT_C_FILES-$(CONFIG_TMV_DEMUXER) += tmv.c
AVFORMAT_C_FILES-$(CONFIG_TRUEHD_DEMUXER) += rawdec.c
AVFORMAT_C_FILES-$(CONFIG_TRUEHD_MUXER) += rawenc.c
AVFORMAT_C_FILES-$(CONFIG_TTA_DEMUXER) += tta.c
AVFORMAT_C_FILES-$(CONFIG_TTY_DEMUXER) += tty.c sauce.c
AVFORMAT_C_FILES-$(CONFIG_TXD_DEMUXER) += txd.c
AVFORMAT_C_FILES-$(CONFIG_VC1_DEMUXER) += rawdec.c
AVFORMAT_C_FILES-$(CONFIG_VC1T_DEMUXER) += vc1test.c
AVFORMAT_C_FILES-$(CONFIG_VC1T_MUXER) += vc1testenc.c
AVFORMAT_C_FILES-$(CONFIG_VMD_DEMUXER) += sierravmd.c
AVFORMAT_C_FILES-$(CONFIG_VOC_DEMUXER) += vocdec.c voc.c
AVFORMAT_C_FILES-$(CONFIG_VOC_MUXER) += vocenc.c voc.c
AVFORMAT_C_FILES-$(CONFIG_VQF_DEMUXER) += vqf.c
AVFORMAT_C_FILES-$(CONFIG_W64_DEMUXER) += wav.c riff.c pcm.c
AVFORMAT_C_FILES-$(CONFIG_WAV_DEMUXER) += wav.c riff.c pcm.c
AVFORMAT_C_FILES-$(CONFIG_WAV_MUXER) += wav.c riff.c
AVFORMAT_C_FILES-$(CONFIG_WC3_DEMUXER) += wc3movie.c
AVFORMAT_C_FILES-$(CONFIG_WEBM_MUXER) += matroskaenc.c matroska.c \
riff.c isom.c avc.c \
flacenc_header.c avlanguage.c
AVFORMAT_C_FILES-$(CONFIG_WSAUD_DEMUXER) += westwood.c
AVFORMAT_C_FILES-$(CONFIG_WSVQA_DEMUXER) += westwood.c
AVFORMAT_C_FILES-$(CONFIG_WTV_DEMUXER) += wtvdec.c wtv.c asfdec.c asf.c asfcrypt.c \
avlanguage.c mpegts.c isom.c riff.c
AVFORMAT_C_FILES-$(CONFIG_WV_DEMUXER) += wv.c apetag.c
AVFORMAT_C_FILES-$(CONFIG_XA_DEMUXER) += xa.c
AVFORMAT_C_FILES-$(CONFIG_XWMA_DEMUXER) += xwma.c riff.c
AVFORMAT_C_FILES-$(CONFIG_YOP_DEMUXER) += yop.c
AVFORMAT_C_FILES-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg.c
AVFORMAT_C_FILES-$(CONFIG_YUV4MPEGPIPE_DEMUXER) += yuv4mpeg.c AVFORMAT_C_FILES-$(CONFIG_LIBNUT_DEMUXER) += libnut.c riff.c
AVFORMAT_C_FILES-$(CONFIG_LIBNUT_MUXER) += libnut.c riff.c AVFORMAT_C_FILES+= avio.c aviobuf.c AVFORMAT_C_FILES-$(CONFIG_APPLEHTTP_PROTOCOL) += applehttpproto.c
AVFORMAT_C_FILES-$(CONFIG_CONCAT_PROTOCOL) += concat.c
AVFORMAT_C_FILES-$(CONFIG_CRYPTO_PROTOCOL) += crypto.c
AVFORMAT_C_FILES-$(CONFIG_FILE_PROTOCOL) += file.c
AVFORMAT_C_FILES-$(CONFIG_GOPHER_PROTOCOL) += gopher.c
AVFORMAT_C_FILES-$(CONFIG_HTTP_PROTOCOL) += http.c httpauth.c
AVFORMAT_C_FILES-$(CONFIG_MMSH_PROTOCOL) += mmsh.c mms.c asf.c
AVFORMAT_C_FILES-$(CONFIG_MMST_PROTOCOL) += mmst.c mms.c asf.c
AVFORMAT_C_FILES-$(CONFIG_MD5_PROTOCOL) += md5proto.c
AVFORMAT_C_FILES-$(CONFIG_PIPE_PROTOCOL) += file.c RTMP-FILES-$(CONFIG_LIBRTMP) = librtmp.c
RTMP-FILES-$(!CONFIG_LIBRTMP) = rtmpproto.c rtmppkt.c
AVFORMAT_C_FILES-$(CONFIG_RTMP_PROTOCOL) += $(RTMP-FILES-yes) AVFORMAT_C_FILES-$(CONFIG_RTP_PROTOCOL) += rtpproto.c
AVFORMAT_C_FILES-$(CONFIG_TCP_PROTOCOL) += tcp.c
AVFORMAT_C_FILES-$(CONFIG_UDP_PROTOCOL) += udp.c AVFORMAT_C_FILES-$(CONFIG_JACK_INDEV) += timefilter.c AVFORMAT_C_FILES += $(AVFORMAT_C_FILES-yes) AVFORMAT_SRC_FILES = $(addprefix libavformat/, $(sort $(AVFORMAT_C_FILES))) LOCAL_SRC_FILES := \
$(AVUTIL_SRC_FILES) \
$(AVCODEC_SRC_FILES) \
$(AVCODEC_ARM_SRC_FILES) \
$(AVFORMAT_SRC_FILES) LOCAL_ARM_MODE := arm include $(BUILD_SHARED_LIBRARY)

二、開始编译:

    1、创建文件夹:/home/weller/ndkdome(以本人机器为例)

    2、将android-ndk-r9c-linux-x86.tar.bz2解压到/home/weller/ndkdome文件夹下。

    3、创建文件夹/home/weller/ndkdome/ffmpeg,将ffmpeg-2.4.2.tar.bz2解压到ffmpeg下。并重命名为jni。

    4、将第一步中的config.h文件和Android.mk文件复制到jni文件夹下。

5、加入权限并运行脚本:chmod +x config.sh && sudo ./config.sh

运行完毕后出现这样,warning信息不用理会。

6、进入/home/weller/ndkdome/ffmpeg/jni/文件夹,运行/home/weller/ndkdome/android-ndk-r9c/ndk-build命令。

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd2VsbGVyemhhbw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

假设编译顺利,最后能够得到上图,直接编译得出libffmpeg.so文件,仅仅由于笔者脸比較丑,因此这个过程一点都不顺利。

出现了例如以下一堆错误。经过N天努力。最后攻克了这些问题:

三、错误总结:

    1、

解决方式:

在Android.mk文件里增加:

TARGET_ARCH_ABI := armeabi-v7a

2、

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd2VsbGVyemhhbw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

错误信息描写叙述了stdlib.h文件里第54行定义的函数有重名到宏被定义,可是不知道是哪里有重名到宏。

解决方式:

打开/home/weller/ndkdome/android-ndk-r9c/platforms/android-3/arch-arm/usr/include/stdlib.h文件,找到第54行,把该函数定义成宏。又一次编译。

又一次运行ndk-build。得到例如以下图:

这里显示了/home/weller/ndkdome/ffmpeg/jni/config.h第17行有重名的宏定义,于是把config.h第17行删除。恢复stdlib.h文件。



    3、

解决方式,把/home/weller/ndkdome/ffmpeg/jni/libavutil/libm.h中全部到static函数删除。

4、

类似于这种错误:No rule to make target  ‘XXX’ , needed by ‘XXX’.  Stop.



解决方式:在相应的文件夹下创建相应的文件。如上。创建/home/weller/ndkdome/ffmpeg/jni/libavutil/audioconvert.c文件,内容为空就可以。



    5、

遇到这种错误简直是无解,明明是有定义到,偏要说没有~

解决方式:

在android.mk文件里加入

LOCAL_ALLOW_UNDEFINED_SYMBOLS := true



    6、

尼玛,这些错误我简直疯了。。都不知道什么错误

解决方式:使出大招!删掉Android中的NEON-FILES-$(CONFIG_VP3_DECODER) += arm/vp3dsp_neon.S.neon



好吧,好歹算是编译通过了。不知道还会不会有其它到问题出现~~祝我好运吧~~

參考博客:http://blog.csdn.net/wqhjfree/article/details/7284122

手把手教你用NDK9编译ffmpeg2.4.2的更多相关文章

  1. 手把手教你实现Android编译期注解

    一.编译期注解在开发中的重要性 从早期令人惊艳的ButterKnife,到后来的以ARouter为首的各种路由框架,再到现在谷歌大力推行的Jetpack组件,越来越多的第三方框架都在使用编译期注解这门 ...

  2. 手把手教你在Windows下使用MinGW编译libav(参考libx264的编入)

    转自:http://www.th7.cn/Program/cp/201407/242762.shtml 手把手教你在Windows下使用MinGW编译libav libav是在Linux下使用纯c语言 ...

  3. UWP Jenkins + NuGet + MSBuild 手把手教你做自动UWP Build 和 App store包

    背景 项目上需要做UWP的自动安装包,在以前的公司接触的是TFS来做自动build. 公司要求用Jenkins来做,别笑话我,之前还真不晓得这个东西. 会的同学请看一下指出错误,不会的同学请先自行脑补 ...

  4. 手把手教你调试Linux C++ 代码(一步到位包含静态库和动态库调试)

    手把手教你调试Linux C++ 代码 软件调试本身就是一项相对复杂的活动,他不仅要求调试者有着清晰的思路,而且对调试者本身的技能也有很高的要求.Windows下Visual Studio为我们做了很 ...

  5. 30分钟手把手教你学webpack实战

    30分钟手把手教你学webpack实战 阅读目录 一:什么是webpack? 他有什么优点? 二:如何安装和配置 三:理解webpack加载器 四:理解less-loader加载器的使用 五:理解ba ...

  6. 【转】手把手教你把Vim改装成一个IDE编程环境(图文)

    手把手教你把Vim改装成一个IDE编程环境(图文) By: 吴垠 Date: 2007-09-07 Version: 0.5 Email: lazy.fox.wu#gmail.com Homepage ...

  7. 手把手教你用动软.NET代码生成器实例教程

    动软实战攻略 手把手教你用动软 文档编号:20110421 版权所有 © 2004-2011 动软 在线帮助:http://help.maticsoft.com 目录   一.        产品介绍 ...

  8. 手把手教你认识并搭建Nginx

    手把手教你认识并搭建Nginx Nginx (“engine x”) 是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器. Nginx 是由 Igor ...

  9. iOS 非ARC基本内存管理系列 -手把手教你ARC——iOS/Mac开发ARC入门和使用(转)

    手把手教你ARC——iOS/Mac开发ARC入门和使用 Revolution of Objective-c 本文部分实例取自iOS 5 Toturail一书中关于ARC的教程和公开内容,仅用于技术交流 ...

随机推荐

  1. thinkphp5内置标签

    thinkphp5内置标签 知道内置标签怎么用,查手册的时候好查 却功能的时候在里面找着来用 内置标签一览 内置标签 变量输出使用普通标签就足够了,但是要完成其他的控制.循环和判断功能,就需要借助模板 ...

  2. WebSocket 笔记

    WebSocket介绍 WebSocket+Flask开启一个WebSocket服务 群聊小Demo 私聊小Demo WebSocket介绍 - 菜鸟教程详解连接 - 下载:pip install g ...

  3. Announcing Zuul: Edge Service in the Cloud--转

    原文地址:http://techblog.netflix.com/2013/06/announcing-zuul-edge-service-in-cloud.html   The Netflix st ...

  4. input file HTML控件控制

    网页上添加一个input file HTML控件: 1 <input id="File1" type="file" /> 默认是这样的,所有文件类型 ...

  5. 【实用篇】Android之应用程序实现自动更新功能

    我个人用的是友盟提供的自动更新组件,因此在这里只描述如何实用友盟提供的组件来完成程序的自动更新,步骤如下: 1.登录友盟官网,点击注册一个友盟账号. 2.注册成功后将会自动进入到添加新应用界面,选择添 ...

  6. java带package的编译

    ProcessBuilder pb = new ProcessBuilder("cmd", "/c", "java -cp d:\\TEST com/ ...

  7. javascript“类”与继承总结

    http://haorooms.com/post/js_jc_lei2

  8. IDEA设置注释模板最佳实践

    效果 在方法上输入/**,然后按tab键,生成的效果如下 配置步骤 1. 在Live Templates中添加模板组,命名随意,主要是为了存放自定义的模板,方便管理 2. 在模板组下添加一个模板,具体 ...

  9. VirtualBox内刚刚安装完CentOS6.9和7系统,无法调整屏幕的分辨率,也无法设置共享文件夹。解决的方法就是安装VirtualBox客户端增强包。

    VirtualBox内刚刚安装完CentOS6.9和7系统,无法调整屏幕的分辨率,也无法设置共享文件夹.解决的方法就是安装VirtualBox客户端增强包. 1.若直接安装客户端增强包会得到如下提示: ...

  10. 微信小程序官方文档中的加密算法

    用Nodejs来算一下: