Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1201)

Side by Side Diff: source/patched-ffmpeg-mt/configure

Issue 2850032: ffmpeg update to june 23 version which fixes mp4 crash on still frames with 3... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # FFmpeg configure script 3 # FFmpeg configure script
4 # 4 #
5 # Copyright (c) 2000-2002 Fabrice Bellard 5 # Copyright (c) 2000-2002 Fabrice Bellard
6 # Copyright (c) 2005-2008 Diego Biurrun 6 # Copyright (c) 2005-2008 Diego Biurrun
7 # Copyright (c) 2005-2008 Mans Rullgard 7 # Copyright (c) 2005-2008 Mans Rullgard
8 # 8 #
9 9
10 # Prevent locale nonsense from breaking basic text processing. 10 # Prevent locale nonsense from breaking basic text processing.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 exit 1 54 exit 1
55 fi 55 fi
56 56
57 show_help(){ 57 show_help(){
58 cat <<EOF 58 cat <<EOF
59 Usage: configure [options] 59 Usage: configure [options]
60 Options: [defaults in brackets after descriptions] 60 Options: [defaults in brackets after descriptions]
61 61
62 Standard options: 62 Standard options:
63 --help print this message 63 --help print this message
64 --logfile=FILE log tests and output to FILE [config.err] 64 --logfile=FILE log tests and output to FILE [config.log]
65 --disable-logging do not log configure debug information 65 --disable-logging do not log configure debug information
66 --prefix=PREFIX install in PREFIX [$prefix] 66 --prefix=PREFIX install in PREFIX [$prefix]
67 --bindir=DIR install binaries in DIR [PREFIX/bin] 67 --bindir=DIR install binaries in DIR [PREFIX/bin]
68 --datadir=DIR install data files in DIR [PREFIX/share/ffmpeg] 68 --datadir=DIR install data files in DIR [PREFIX/share/ffmpeg]
69 --libdir=DIR install libs in DIR [PREFIX/lib] 69 --libdir=DIR install libs in DIR [PREFIX/lib]
70 --shlibdir=DIR install shared libs in DIR [PREFIX/lib] 70 --shlibdir=DIR install shared libs in DIR [PREFIX/lib]
71 --incdir=DIR install includes in DIR [PREFIX/include] 71 --incdir=DIR install includes in DIR [PREFIX/include]
72 --mandir=DIR install man page in DIR [PREFIX/share/man] 72 --mandir=DIR install man page in DIR [PREFIX/share/man]
73 73
74 Configuration options: 74 Configuration options:
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 External library support: 163 External library support:
164 --enable-avisynth enable reading of AVISynth script files [no] 164 --enable-avisynth enable reading of AVISynth script files [no]
165 --enable-bzlib enable bzlib [autodetect] 165 --enable-bzlib enable bzlib [autodetect]
166 --enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no ] 166 --enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no ]
167 --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no] 167 --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
168 --enable-libdc1394 enable IIDC-1394 grabbing using libdc1394 168 --enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
169 and libraw1394 [no] 169 and libraw1394 [no]
170 --enable-libdirac enable Dirac support via libdirac [no] 170 --enable-libdirac enable Dirac support via libdirac [no]
171 --enable-libfaac enable FAAC support via libfaac [no] 171 --enable-libfaac enable FAAC support via libfaac [no]
172 --enable-libfaad enable FAAD support via libfaad [no]
173 --enable-libfaadbin open libfaad.so.0 at runtime [no]
174 --enable-libgsm enable GSM support via libgsm [no] 172 --enable-libgsm enable GSM support via libgsm [no]
175 --enable-libmp3lame enable MP3 encoding via libmp3lame [no] 173 --enable-libmp3lame enable MP3 encoding via libmp3lame [no]
176 --enable-libnut enable NUT (de)muxing via libnut, 174 --enable-libnut enable NUT (de)muxing via libnut,
177 native (de)muxer exists [no] 175 native (de)muxer exists [no]
178 --enable-libopenjpeg enable JPEG 2000 decoding via OpenJPEG [no] 176 --enable-libopenjpeg enable JPEG 2000 decoding via OpenJPEG [no]
179 --enable-librtmp enable RTMP[E] support via librtmp [no] 177 --enable-librtmp enable RTMP[E] support via librtmp [no]
180 --enable-libschroedinger enable Dirac support via libschroedinger [no] 178 --enable-libschroedinger enable Dirac support via libschroedinger [no]
181 --enable-libspeex enable Speex decoding via libspeex [no] 179 --enable-libspeex enable Speex decoding via libspeex [no]
182 --enable-libtheora enable Theora encoding via libtheora [no] 180 --enable-libtheora enable Theora encoding via libtheora [no]
183 --enable-libvorbis enable Vorbis encoding via libvorbis, 181 --enable-libvorbis enable Vorbis encoding via libvorbis,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 --disable-optimizations disable compiler optimizations 243 --disable-optimizations disable compiler optimizations
246 --enable-extra-warnings enable more compiler warnings 244 --enable-extra-warnings enable more compiler warnings
247 --disable-stripping disable stripping of executables and shared libraries 245 --disable-stripping disable stripping of executables and shared libraries
248 --samples=PATH location of test samples for FATE 246 --samples=PATH location of test samples for FATE
249 247
250 NOTE: Object files are built at the place where configure is launched. 248 NOTE: Object files are built at the place where configure is launched.
251 EOF 249 EOF
252 exit 0 250 exit 0
253 } 251 }
254 252
253 quotes='""'
254
255 log(){ 255 log(){
256 echo "$@" >> $logfile 256 echo "$@" >> $logfile
257 } 257 }
258 258
259 log_file(){ 259 log_file(){
260 log BEGIN $1 260 log BEGIN $1
261 pr -n -t $1 >> $logfile 261 pr -n -t $1 >> $logfile
262 log END $1 262 log END $1
263 } 263 }
264 264
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 fft 906 fft
907 golomb 907 golomb
908 gpl 908 gpl
909 gprof 909 gprof
910 gray 910 gray
911 h264dsp 911 h264dsp
912 hardcoded_tables 912 hardcoded_tables
913 libdc1394 913 libdc1394
914 libdirac 914 libdirac
915 libfaac 915 libfaac
916 libfaad
917 libfaadbin
918 libgsm 916 libgsm
919 libmp3lame 917 libmp3lame
920 libnut 918 libnut
921 libopencore_amrnb 919 libopencore_amrnb
922 libopencore_amrwb 920 libopencore_amrwb
923 libopenjpeg 921 libopenjpeg
924 librtmp 922 librtmp
925 libschroedinger 923 libschroedinger
926 libspeex 924 libspeex
927 libtheora 925 libtheora
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 socklen_t 1075 socklen_t
1078 soundcard_h 1076 soundcard_h
1079 poll_h 1077 poll_h
1080 setrlimit 1078 setrlimit
1081 strerror_r 1079 strerror_r
1082 struct_addrinfo 1080 struct_addrinfo
1083 struct_ipv6_mreq 1081 struct_ipv6_mreq
1084 struct_sockaddr_in6 1082 struct_sockaddr_in6
1085 struct_sockaddr_sa_len 1083 struct_sockaddr_sa_len
1086 struct_sockaddr_storage 1084 struct_sockaddr_storage
1085 symver
1086 symver_gnu_asm
1087 symver_asm_label
1087 sys_mman_h 1088 sys_mman_h
1088 sys_resource_h 1089 sys_resource_h
1089 sys_select_h 1090 sys_select_h
1090 sys_soundcard_h 1091 sys_soundcard_h
1091 sys_videoio_h 1092 sys_videoio_h
1092 ten_operands 1093 ten_operands
1093 termios_h 1094 termios_h
1094 threads 1095 threads
1095 truncf 1096 truncf
1096 vfp_args 1097 vfp_args
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 sse_deps="mmx" 1192 sse_deps="mmx"
1192 ssse3_deps="sse" 1193 ssse3_deps="sse"
1193 1194
1194 fast_64bit_if_any="alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64" 1195 fast_64bit_if_any="alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
1195 fast_clz_if_any="alpha armv5te avr32 mips ppc x86" 1196 fast_clz_if_any="alpha armv5te avr32 mips ppc x86"
1196 fast_unaligned_if_any="armv6 ppc x86" 1197 fast_unaligned_if_any="armv6 ppc x86"
1197 1198
1198 need_memalign="altivec neon sse" 1199 need_memalign="altivec neon sse"
1199 inline_asm_deps="!tms470" 1200 inline_asm_deps="!tms470"
1200 1201
1202 symver_if_any="symver_asm_label symver_gnu_asm"
1203
1201 # subsystems 1204 # subsystems
1202 mdct_select="fft" 1205 mdct_select="fft"
1203 rdft_select="fft" 1206 rdft_select="fft"
1204 1207
1205 # decoders / encoders / hardware accelerators 1208 # decoders / encoders / hardware accelerators
1206 aac_decoder_select="mdct rdft aac_parser" 1209 aac_decoder_select="mdct rdft aac_parser"
1207 aac_encoder_select="mdct" 1210 aac_encoder_select="mdct"
1208 ac3_decoder_select="mdct ac3_parser" 1211 ac3_decoder_select="mdct ac3_parser"
1209 alac_encoder_select="lpc" 1212 alac_encoder_select="lpc"
1210 amrnb_decoder_select="lsp" 1213 amrnb_decoder_select="lsp"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 ljpeg_encoder_select="aandct" 1249 ljpeg_encoder_select="aandct"
1247 loco_decoder_select="golomb" 1250 loco_decoder_select="golomb"
1248 mjpeg_encoder_select="aandct" 1251 mjpeg_encoder_select="aandct"
1249 mlp_decoder_select="mlp_parser" 1252 mlp_decoder_select="mlp_parser"
1250 mpeg1video_encoder_select="aandct" 1253 mpeg1video_encoder_select="aandct"
1251 mpeg2video_encoder_select="aandct" 1254 mpeg2video_encoder_select="aandct"
1252 mpeg4_decoder_select="h263_decoder mpeg4video_parser" 1255 mpeg4_decoder_select="h263_decoder mpeg4video_parser"
1253 mpeg4_encoder_select="h263_encoder" 1256 mpeg4_encoder_select="h263_encoder"
1254 mpeg_vdpau_decoder_select="vdpau mpegvideo_decoder" 1257 mpeg_vdpau_decoder_select="vdpau mpegvideo_decoder"
1255 mpeg1_vdpau_decoder_select="vdpau mpeg1video_decoder" 1258 mpeg1_vdpau_decoder_select="vdpau mpeg1video_decoder"
1259 mpeg2_dxva2_hwaccel_deps="dxva2api_h"
1260 mpeg2_dxva2_hwaccel_select="dxva2 mpeg2video_decoder"
1256 mpeg2_vaapi_hwaccel_select="vaapi mpeg2video_decoder" 1261 mpeg2_vaapi_hwaccel_select="vaapi mpeg2video_decoder"
1257 mpeg4_vaapi_hwaccel_select="vaapi mpeg4_decoder" 1262 mpeg4_vaapi_hwaccel_select="vaapi mpeg4_decoder"
1258 mpeg4_vdpau_decoder_select="vdpau mpeg4_decoder" 1263 mpeg4_vdpau_decoder_select="vdpau mpeg4_decoder"
1259 mpeg_xvmc_decoder_deps="X11_extensions_XvMClib_h" 1264 mpeg_xvmc_decoder_deps="X11_extensions_XvMClib_h"
1260 mpeg_xvmc_decoder_select="mpegvideo_decoder" 1265 mpeg_xvmc_decoder_select="mpegvideo_decoder"
1261 msmpeg4v1_decoder_select="h263_decoder" 1266 msmpeg4v1_decoder_select="h263_decoder"
1262 msmpeg4v1_encoder_select="h263_encoder" 1267 msmpeg4v1_encoder_select="h263_encoder"
1263 msmpeg4v2_decoder_select="h263_decoder" 1268 msmpeg4v2_decoder_select="h263_decoder"
1264 msmpeg4v2_encoder_select="h263_encoder" 1269 msmpeg4v2_encoder_select="h263_encoder"
1265 msmpeg4v3_decoder_select="h263_decoder" 1270 msmpeg4v3_decoder_select="h263_decoder"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 # parsers 1332 # parsers
1328 h264_parser_select="golomb h264dsp" 1333 h264_parser_select="golomb h264dsp"
1329 1334
1330 # bitstream_filters 1335 # bitstream_filters
1331 aac_adtstoasc_bsf_select="aac_parser" 1336 aac_adtstoasc_bsf_select="aac_parser"
1332 1337
1333 # external libraries 1338 # external libraries
1334 libdirac_decoder_deps="libdirac !libschroedinger" 1339 libdirac_decoder_deps="libdirac !libschroedinger"
1335 libdirac_encoder_deps="libdirac" 1340 libdirac_encoder_deps="libdirac"
1336 libfaac_encoder_deps="libfaac" 1341 libfaac_encoder_deps="libfaac"
1337 libfaad_decoder_deps="libfaad"
1338 libfaadbin_extralibs='$ldl'
1339 libgsm_decoder_deps="libgsm" 1342 libgsm_decoder_deps="libgsm"
1340 libgsm_encoder_deps="libgsm" 1343 libgsm_encoder_deps="libgsm"
1341 libgsm_ms_decoder_deps="libgsm" 1344 libgsm_ms_decoder_deps="libgsm"
1342 libgsm_ms_encoder_deps="libgsm" 1345 libgsm_ms_encoder_deps="libgsm"
1343 libmp3lame_encoder_deps="libmp3lame" 1346 libmp3lame_encoder_deps="libmp3lame"
1344 libopencore_amrnb_decoder_deps="libopencore_amrnb" 1347 libopencore_amrnb_decoder_deps="libopencore_amrnb"
1345 libopencore_amrnb_encoder_deps="libopencore_amrnb" 1348 libopencore_amrnb_encoder_deps="libopencore_amrnb"
1346 libopencore_amrwb_decoder_deps="libopencore_amrwb" 1349 libopencore_amrwb_decoder_deps="libopencore_amrwb"
1347 libopenjpeg_decoder_deps="libopenjpeg" 1350 libopenjpeg_decoder_deps="libopenjpeg"
1348 libschroedinger_decoder_deps="libschroedinger" 1351 libschroedinger_decoder_deps="libschroedinger"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1426 ffplay_deps="avcodec avformat swscale sdl" 1429 ffplay_deps="avcodec avformat swscale sdl"
1427 ffplay_select="rdft" 1430 ffplay_select="rdft"
1428 ffprobe_deps="avcodec avformat" 1431 ffprobe_deps="avcodec avformat"
1429 ffserver_deps="avformat ffm_muxer rtp_protocol rtsp_demuxer" 1432 ffserver_deps="avformat ffm_muxer rtp_protocol rtsp_demuxer"
1430 ffserver_extralibs='$ldl' 1433 ffserver_extralibs='$ldl'
1431 1434
1432 doc_deps="texi2html" 1435 doc_deps="texi2html"
1433 1436
1434 # default parameters 1437 # default parameters
1435 1438
1436 logfile="config.err" 1439 logfile="config.log"
1437 1440
1438 # installation paths 1441 # installation paths
1439 prefix_default="/usr/local" 1442 prefix_default="/usr/local"
1440 bindir_default='${prefix}/bin' 1443 bindir_default='${prefix}/bin'
1441 datadir_default='${prefix}/share/ffmpeg' 1444 datadir_default='${prefix}/share/ffmpeg'
1442 incdir_default='${prefix}/include' 1445 incdir_default='${prefix}/include'
1443 libdir_default='${prefix}/lib' 1446 libdir_default='${prefix}/lib'
1444 mandir_default='${prefix}/share/man' 1447 mandir_default='${prefix}/share/man'
1445 shlibdir_default="$libdir_default" 1448 shlibdir_default="$libdir_default"
1446 1449
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
2154 freebsd|dragonfly) 2157 freebsd|dragonfly)
2155 enable malloc_aligned 2158 enable malloc_aligned
2156 ;; 2159 ;;
2157 bsd/os) 2160 bsd/os)
2158 osextralibs="-lpoll -lgnugetopt" 2161 osextralibs="-lpoll -lgnugetopt"
2159 strip="strip -d" 2162 strip="strip -d"
2160 ;; 2163 ;;
2161 darwin) 2164 darwin)
2162 enable malloc_aligned 2165 enable malloc_aligned
2163 SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$( SLIBNAME),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR) -Wl, -read_only_relocs,suppress' 2166 SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$( SLIBNAME),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR) -Wl, -read_only_relocs,suppress'
2164 strip="strip -x" 2167 strip="${strip} -x"
2165 FFLDFLAGS="-Wl,-dynamic,-search_paths_first" 2168 FFLDFLAGS="-Wl,-dynamic,-search_paths_first"
2166 SLIBSUF=".dylib" 2169 SLIBSUF=".dylib"
2167 SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)' 2170 SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)'
2168 SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)' 2171 SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)'
2169 FFSERVERLDFLAGS=-Wl,-bind_at_load 2172 FFSERVERLDFLAGS=-Wl,-bind_at_load
2170 objformat="macho" 2173 objformat="macho"
2171 enabled x86_64 && objformat="macho64" 2174 enabled x86_64 && objformat="macho64"
2172 enabled_any pic shared || 2175 enabled_any pic shared ||
2173 { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; } 2176 { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
2174 ;; 2177 ;;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
2284 At least one library type must be built. 2287 At least one library type must be built.
2285 Specify --enable-static to build the static libraries or --enable-shared to 2288 Specify --enable-static to build the static libraries or --enable-shared to
2286 build the shared libraries as well. To only build the shared libraries specify 2289 build the shared libraries as well. To only build the shared libraries specify
2287 --disable-static in addition to --enable-shared. 2290 --disable-static in addition to --enable-shared.
2288 EOF 2291 EOF
2289 exit 1; 2292 exit 1;
2290 fi 2293 fi
2291 2294
2292 disabled static && LIBNAME="" 2295 disabled static && LIBNAME=""
2293 2296
2294 if enabled_any libfaad libfaadbin ; then
2295 if check_header faad.h; then
2296 check_cc <<EOF
2297 #include <faad.h>
2298 #ifndef FAAD2_VERSION
2299 ok faad1
2300 #endif
2301 int main(void) { return 0; }
2302 EOF
2303 test $? = 0 && enable libfaad2
2304 else
2305 die "FAAD test failed."
2306 fi
2307 fi
2308
2309
2310 die_license_disabled() { 2297 die_license_disabled() {
2311 enabled $1 || { enabled $2 && die "$2 is $1 and --enable-$1 is not specified ."; } 2298 enabled $1 || { enabled $2 && die "$2 is $1 and --enable-$1 is not specified ."; }
2312 } 2299 }
2313 2300
2314 die_license_disabled gpl libfaad2
2315 die_license_disabled gpl libx264 2301 die_license_disabled gpl libx264
2316 die_license_disabled gpl libxvid 2302 die_license_disabled gpl libxvid
2317 die_license_disabled gpl postproc 2303 die_license_disabled gpl postproc
2318 die_license_disabled gpl x11grab 2304 die_license_disabled gpl x11grab
2319 2305
2320 die_license_disabled nonfree libfaac 2306 die_license_disabled nonfree libfaac
2321 2307
2322 die_license_disabled version3 libopencore_amrnb 2308 die_license_disabled version3 libopencore_amrnb
2323 die_license_disabled version3 libopencore_amrwb 2309 die_license_disabled version3 libopencore_amrwb
2324 2310
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
2581 check_mathfunc round 2567 check_mathfunc round
2582 check_mathfunc roundf 2568 check_mathfunc roundf
2583 check_mathfunc truncf 2569 check_mathfunc truncf
2584 2570
2585 # these are off by default, so fail if requested and not available 2571 # these are off by default, so fail if requested and not available
2586 enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lavifil32 2572 enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lavifil32
2587 enabled libdirac && add_cflags $(pkg-config --cflags dirac) && 2573 enabled libdirac && add_cflags $(pkg-config --cflags dirac) &&
2588 require libdirac libdirac_decoder/dirac_parser.h dirac_de coder_init $(pkg-config --libs dirac) && 2574 require libdirac libdirac_decoder/dirac_parser.h dirac_de coder_init $(pkg-config --libs dirac) &&
2589 require libdirac libdirac_encoder/dirac_encoder.h dirac_e ncoder_init $(pkg-config --libs dirac) 2575 require libdirac libdirac_encoder/dirac_encoder.h dirac_e ncoder_init $(pkg-config --libs dirac)
2590 enabled libfaac && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaa c 2576 enabled libfaac && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaa c
2591 enabled libfaad && require2 libfaad faad.h faacDecOpen -lfaad
2592 enabled libgsm && require libgsm gsm/gsm.h gsm_create -lgsm 2577 enabled libgsm && require libgsm gsm/gsm.h gsm_create -lgsm
2593 enabled libmp3lame && require libmp3lame lame/lame.h lame_init -lmp3lame -lm 2578 enabled libmp3lame && require libmp3lame lame/lame.h lame_init -lmp3lame -lm
2594 enabled libnut && require libnut libnut.h nut_demuxer_init -lnut 2579 enabled libnut && require libnut libnut.h nut_demuxer_init -lnut
2595 enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_de c.h Decoder_Interface_init -lopencore-amrnb -lm 2580 enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_de c.h Decoder_Interface_init -lopencore-amrnb -lm
2596 enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb -lm 2581 enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb -lm
2597 enabled libopenjpeg && require libopenjpeg openjpeg.h opj_version -lopenjpeg 2582 enabled libopenjpeg && require libopenjpeg openjpeg.h opj_version -lopenjpeg
2598 enabled librtmp && require librtmp librtmp/rtmp.h RTMP_Init $(pkg-config --l ibs librtmp) 2583 enabled librtmp && require librtmp librtmp/rtmp.h RTMP_Init $(pkg-config --l ibs librtmp)
2599 enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) && 2584 enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) &&
2600 require libschroedinger schroedinger/schro.h schro_in it $(pkg-config --libs schroedinger-1.0) 2585 require libschroedinger schroedinger/schro.h schro_in it $(pkg-config --libs schroedinger-1.0)
2601 enabled libspeex && require libspeex speex/speex.h speex_decoder_init -lspeex 2586 enabled libspeex && require libspeex speex/speex.h speex_decoder_init -lspeex
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
2710 check_cflags -Wmissing-prototypes 2695 check_cflags -Wmissing-prototypes
2711 enabled extra_warnings && check_cflags -Winline 2696 enabled extra_warnings && check_cflags -Winline
2712 2697
2713 # add some linker flags 2698 # add some linker flags
2714 check_ldflags -Wl,--warn-common 2699 check_ldflags -Wl,--warn-common
2715 check_ldflags -Wl,--as-needed 2700 check_ldflags -Wl,--as-needed
2716 check_ldflags '-Wl,-rpath-link,\$(BUILD_ROOT)/libpostproc -Wl,-rpath-link,\$(BUI LD_ROOT)/libswscale -Wl,-rpath-link,\$(BUILD_ROOT)/libavfilter -Wl,-rpath-link,\ $(BUILD_ROOT)/libavdevice -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath- link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil' 2701 check_ldflags '-Wl,-rpath-link,\$(BUILD_ROOT)/libpostproc -Wl,-rpath-link,\$(BUI LD_ROOT)/libswscale -Wl,-rpath-link,\$(BUILD_ROOT)/libavfilter -Wl,-rpath-link,\ $(BUILD_ROOT)/libavdevice -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath- link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
2717 check_ldflags -Wl,-Bsymbolic 2702 check_ldflags -Wl,-Bsymbolic
2718 2703
2719 echo "X{};" > $TMPV 2704 echo "X{};" > $TMPV
2720 test_ldflags -Wl,--version-script,$TMPV && 2705 if test_ldflags -Wl,--version-script,$TMPV; then
2721 append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver' 2706 append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver'
2707 check_cc <<EOF && enable symver_asm_label
2708 void ff_foo(void) __asm__ ("av_foo@VERSION");
2709 void ff_foo(void) { ${inline_asm+__asm__($quotes);} }
2710 EOF
2711 check_cc <<EOF && enable symver_gnu_asm
2712 __asm__(".symver ff_foo,av_foo@VERSION");
2713 void ff_foo(void) {}
2714 EOF
2715 fi
2722 2716
2723 if enabled small; then 2717 if enabled small; then
2724 add_cflags $size_cflags 2718 add_cflags $size_cflags
2725 optimizations="small" 2719 optimizations="small"
2726 elif enabled optimizations; then 2720 elif enabled optimizations; then
2727 add_cflags $speed_cflags 2721 add_cflags $speed_cflags
2728 else 2722 else
2729 add_cflags $noopt_cflags 2723 add_cflags $noopt_cflags
2730 fi 2724 fi
2731 check_cflags -fno-math-errno 2725 check_cflags -fno-math-errno
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
2848 echo "new filter support ${avfilter-no}" 2842 echo "new filter support ${avfilter-no}"
2849 echo "filters using lavformat ${avfilter_lavf-no}" 2843 echo "filters using lavformat ${avfilter_lavf-no}"
2850 echo "network support ${network-no}" 2844 echo "network support ${network-no}"
2851 echo "threading support ${thread_type-no}" 2845 echo "threading support ${thread_type-no}"
2852 echo "SDL support ${sdl-no}" 2846 echo "SDL support ${sdl-no}"
2853 echo "Sun medialib support ${mlib-no}" 2847 echo "Sun medialib support ${mlib-no}"
2854 echo "AVISynth enabled ${avisynth-no}" 2848 echo "AVISynth enabled ${avisynth-no}"
2855 echo "libdc1394 support ${libdc1394-no}" 2849 echo "libdc1394 support ${libdc1394-no}"
2856 echo "libdirac enabled ${libdirac-no}" 2850 echo "libdirac enabled ${libdirac-no}"
2857 echo "libfaac enabled ${libfaac-no}" 2851 echo "libfaac enabled ${libfaac-no}"
2858 echo "libfaad enabled ${libfaad-no}"
2859 echo "libfaad dlopened ${libfaadbin-no}"
2860 echo "libgsm enabled ${libgsm-no}" 2852 echo "libgsm enabled ${libgsm-no}"
2861 echo "libmp3lame enabled ${libmp3lame-no}" 2853 echo "libmp3lame enabled ${libmp3lame-no}"
2862 echo "libnut enabled ${libnut-no}" 2854 echo "libnut enabled ${libnut-no}"
2863 echo "libopencore-amrnb support ${libopencore_amrnb-no}" 2855 echo "libopencore-amrnb support ${libopencore_amrnb-no}"
2864 echo "libopencore-amrwb support ${libopencore_amrwb-no}" 2856 echo "libopencore-amrwb support ${libopencore_amrwb-no}"
2865 echo "libopenjpeg enabled ${libopenjpeg-no}" 2857 echo "libopenjpeg enabled ${libopenjpeg-no}"
2866 echo "librtmp enabled ${librtmp-no}" 2858 echo "librtmp enabled ${librtmp-no}"
2867 echo "libschroedinger enabled ${libschroedinger-no}" 2859 echo "libschroedinger enabled ${libschroedinger-no}"
2868 echo "libspeex enabled ${libspeex-no}" 2860 echo "libspeex enabled ${libspeex-no}"
2869 echo "libtheora enabled ${libtheora-no}" 2861 echo "libtheora enabled ${libtheora-no}"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
3126 3118
3127 pkgconfig_generate libavutil "FFmpeg utility library" "$LIBAVUTIL_VERSION" 3119 pkgconfig_generate libavutil "FFmpeg utility library" "$LIBAVUTIL_VERSION"
3128 pkgconfig_generate libavcodec "FFmpeg codec library" "$LIBAVCODEC_VERSION" "$ext ralibs" "libavutil = $LIBAVUTIL_VERSION" 3120 pkgconfig_generate libavcodec "FFmpeg codec library" "$LIBAVCODEC_VERSION" "$ext ralibs" "libavutil = $LIBAVUTIL_VERSION"
3129 pkgconfig_generate libavformat "FFmpeg container format library" "$LIBAVFORMAT_V ERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION" 3121 pkgconfig_generate libavformat "FFmpeg container format library" "$LIBAVFORMAT_V ERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION"
3130 pkgconfig_generate libavdevice "FFmpeg device handling library" "$LIBAVDEVICE_VE RSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION" 3122 pkgconfig_generate libavdevice "FFmpeg device handling library" "$LIBAVDEVICE_VE RSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION"
3131 enabled avfilter && 3123 enabled avfilter &&
3132 pkgconfig_generate libavfilter "FFmpeg video filtering library" "$LIBAVFILTE R_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION" 3124 pkgconfig_generate libavfilter "FFmpeg video filtering library" "$LIBAVFILTE R_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
3133 enabled postproc && 3125 enabled postproc &&
3134 pkgconfig_generate libpostproc "FFmpeg post processing library" "$LIBPOSTPRO C_VERSION" 3126 pkgconfig_generate libpostproc "FFmpeg post processing library" "$LIBPOSTPRO C_VERSION"
3135 pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERS ION" "" "libavutil = $LIBAVUTIL_VERSION" 3127 pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERS ION" "" "libavutil = $LIBAVUTIL_VERSION"
OLDNEW
« no previous file with comments | « source/patched-ffmpeg-mt/Changelog ('k') | source/patched-ffmpeg-mt/doc/fftools-common-opts.texi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698