Revert "configure: use dlltools instead of lib.exe" Reason, is this was requested by the windows experts / seems dlltool causes alot of problems
This reverts commit ec10a9ab461b26b96eff7bbbb8623f42d8ee04ad.
Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
Fix compilation with --disable-vdpau
Merge remote-tracking branch 'newdev/master'
Revert "Remove support for stripping executables"
People did not like this change.
This reverts commit e0be794a71be25a350f68287ee291b4942bcb7d8.
configure: Initial support for --target-os=symbian
Signed-off-by: Martin Storsjö <email@example.com>
Revert "Do no modify terminal parameters using termios.h"
This reverts commit cb48e245e6e770f146220fac0a8bd4dc1a5e006c.
Reason being we like pressing "q" to quit ffmpeg.
vaapi: allow build against older VA-API 0.31.
vaapi: require version >= 0.32.0.
vaapi: move configure check down.
Remove support for stripping executables
Stripping is generally best left to package management tools, andsince unstripped copies are kept in the build tree, any argumentsabout saving space (no matter how insignificant) are void.
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>
ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
vaapi: disable if check_lib failed.
Fix check for new enough CrystalHD library.
Signed-off-by: Philip Langdale <email@example.com>
framebuffer device demuxer
Signed-off-by: Anton Khirnov <firstname.lastname@example.org>
Conflicts: doc/faq.texi doc/general.texi...
sndio support for playback and record
Revert "CrystalHD: Improve interlaced h.264 support."
This reverts commit e44073ca5e7143934ffa79d317dc65150db1637c.
CrystalHD: Improve interlaced h.264 support.
As previously discussed, the CrystalHD hardware returns exceptionallyuseless information about interlaced h.264 content - to the extentthat it's not possible to distinguish MBAFF and PAFF content untilit's too late....
configure: in check_ld, place new -l flags before existing ones
This fixes some library tests when --as-needed is in effect.
configure: sort filter deps entries
configure: update ffmpeg-user mailing-list address
The address recently changed from email@example.com firstname.lastname@example.org.
When building for MinGW32 disable strict ANSI compliancy.
When -std=c99 is used, GCC defines STRICT_ANSI to hide non-ANSIinterfaces; on MinGW32, when this macro is defined, some functions that arepart of POSIX but not of Windows APIs are disabled, including strcasecmp()....
configure: check for --as-needed support early
This moves the check for --as-needed linker support before alllibrary tests, ensuring consistent behaviour between the checksand the actual link step.
configure: Don't explicitly disable ffplay or in/outdevices on dos
The normal dependency tracking system disables them just fine.
configure: Remove the explicit disabling of ffserver
It is automatically disabled on both mingw and dos due tothe lack of fork.
configure: Add fork as a dependency to ffserver
Disable 'attribute "foo" ignored' warnings from icc
ICC lies about the version of gcc it emulates, which resultsin unsupported attributes sometimes being used. The warningis an annoyance and should be disabled.
configure: get libavcodec version from new version.h header
This fixes shared library versioning after 3dd851c.
configure: Set the correct lib target for arm/wince dlltool
The correct machine name for dlltool is arm-wince.
Signed-off-by: Luca Barbato <email@example.com>
Make sure kbhit() is in conio.h
Conio.h is a non-standard header and may not have kbhit()prototyped. This fixes compile on OS/2 where the EMX version (we'reusing a fork) of conio.h only has getch() and getche().
configure: Add the -D parameter to the dlltool command
This is required for the generated .lib file to actuallybe usable by MSVC.
Set the correct target for mingw64 dlltool
That fixes .lib creation for the win64 target.
Merged-by: Michael Niedermayer <firstname.lastname@example.org>
Do no modify terminal parameters using termios.h
Remove usage of tcgetattr and tcsetattr to modify terminalparameters, and rely on ctrl-c to stop instead of pressing 'q'.On systems with conio.h, keep the old behavior.
Changing the terminal settings causes problems if multiple instances...
Move sine windows to a separate file
These windows do not really belong in fft/mdct files and wereeasily confused with the similarly named tables used by rdft.
configure: use pkg-config helpers
This makes existing pkg-config uses as well as the libsdl checksuse the new pkg-config helper functions, which should be morerobust against broken systems.
Signed-off-by: Mans Rullgard <email@example.com>Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
configure: improve pkg-config support
This adds helper functions for checking packages with pkg-configand managing the associated flags.
Note that pkg-config use is still discouraged due to widespreadpoor practices resulting in broken flags in many situations. A...
configure: allow checking multiple functions in check_func_headers()
This makes it possible to pass a space-separated list of functionsto check_func_headers and check_lib2. If any function is missing,none are enabled as available, so this should only be used for...
Not Pulled: commit 42cfb3835b5dad327b7dc22740e8b6e482ecfcd2 Author: Mans Rullgard <email@example.com> Date: Mon Feb 28 18:06:58 2011 +0000
Remove Sonic experimental audio codec...
configure: use dlltools instead of lib.exe
This way building ffmpeg on mingw won't require windows specific tools
configure: check for SDL_Linked_Version instead of SDL_Init
This avoids the main/SDL_main declaration clash caused by SDL onWindows and other platforms.
Remove Sonic experimental audio codec
Since initially committed in 2004, this codec has only been touchedfor maintenanance. Functionally, it contains no novel ideas andits intended audience is better served by existing mature codecs.
configure: use -r option for pr when listing enabled config options.
This fixes ugliness when configure outputs its (empty) results on HPUX(maybe some other UNIXes too):
Enabled indevs:pr: -- empty file
Revert "partially rename FFmpeg to Libav"
This reverts commit 070c5d0f3530c16c92b81f3f0de2943410367c00.
Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"
This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.
Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"
This reverts commit a03be6e1ba4cbf9984b0bbdb674704bbb2da6713.
Conflicts: Changelog doc/APIchanges doc/optimization.txt libavformat/avio.h
darwin: use -read_only_relocs flag only on 32-bit x86
Avoids the linker warning:ld: warning: -read_only_relocs cannot be used with x86_64
use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*
replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
also update the multiple inclusion guards in config.h|mak
partially rename FFmpeg to Libav
update mailing list references and irc channels in configure
Revert "configure: allow checking multiple functions in check_func_headers()"
This reverts commit edaf1ae2763ce1a23dec70e730ba2bb8ee476dfd.
breaks windows builds
Revert "configure: improve pkg-config support"
This reverts commit 3f8040db3e13c3dbdf07c74d92ca34817a69f733.
Revert "configure: use pkg-config helpers"
This reverts commit 4fa18c5666de24316710df670e44d4850e0796a7.
Merge branch 'master' of git://git.ffmpeg.org/ffmpeg
Add CONFIG_AC3DSP symbol to simplify makefiles
CrystalHD decoder support v7
The Broadcom CrystalHD decoder chips provide hardware videodecoding for a number of video formats. It does so using amemory:memory interface where a compressed bitstream is fedin and decompressed pictures are copied out. As such, it works...
Use --sysroot flag for clang
Although not documented, clang does support the --sysroot flag, and itdoes the right thing. Use this flag intead of -isysroot which onlyapplies to header file searches, not the linker.
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>...
configure: document FATE_SAMPLES env var in --help text
Signed-off-by: Mans Rullgard <email@example.com>(cherry picked from commit 52b3cc6047e2b93e8a798734c65904243c1a7be3)
fate: get samples location from env var if not explicitly set
Use the FATE_SAMPLES environment variable if samples locationis not set with the --samples configure option or on the makecommand line.
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>(cherry picked from commit aa3805a486831d9c9e40cc9e897c048d60b51c1a)
OS/2: lxlite should use stdout
This causes lxlite to use stdout instead of vioXXXfunctions. This improves fate and build logs readability.Affects OS/2 only.
Signed-off-by: Mans Rullgard <email@example.com>(cherry picked from commit cc4e9d2a24a9ca79d4e912df21053426411aa14b)
x86: check for AVX support
This adds configure and runtime checks for AVX support on x86 CPUs.
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>(cherry picked from commit 87f1355f9b4fc11414d0e6a91404203c2745f89f)
Merge libavcore into libavutil
Done to keep ABI compatible. Otherwise this is just silly
It is pretty hopeless that other considerable projects will adoptlibavutil alone in other projects. Projects that need small footprintare better off with more specialized libraries such as gnulib or ratherjust copy the necessary parts that they need. With this in mind, nobody...
configure: fix non-standard regex used with expr
The colon operator of expr always anchors the pattern at the startof the string. An explicit ^ in the pattern has unspecifiedbehaviour, so remove it.
Signed-off-by: Mans Rullgard <email@example.com>(cherry picked from commit 3ad464bfc7df6d0f68c7df9c907089b84d92ab75)
configure: report full gcc version string
This makes the cc_ident value, which is used in FATE reports, includeall interesting parts of the gcc version string.
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>(cherry picked from commit 5d57846bba7010dc6ee65c3503dd06600e5441a5)
configure: add cleanws() function
This function removes leading and trailing spaces and collapsesmultiple spaces into one.
Signed-off-by: Mans Rullgard <email@example.com>(cherry picked from commit bb7a22b5840e56c034227ad596b1165c03f2da27)
configure: remove early check_deps $ARCH_EXT_LIST
The early disabling of irrelevant arch extensions is no longerrequired, and removing it makes dependencies involving thesework as expected.
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>(cherry picked from commit 4b884207eb7319577f8ceb94a56f42c5ac0ab294)
Fix HOSTLIBS on Haiku
Haiku does not have a separate libm, so do not try to link to it.
Signed-off-by: François Revol <email@example.com>Signed-off-by: Mans Rullgard <firstname.lastname@example.org>(cherry picked from commit f59c4bd625839dbe1e099c6a8b38988108883623)
configure: check yasm/nasm for working pextrd opcode
NASM versions older than 2.08 fail to build ffmpeg with several"error: operation size not specified" errors but this is not caught inconfigure.
Fix that by checking if "pextrd [eax], xmm0, 1" works in configure....
Signed-off-by: François Revol <email@example.com>Signed-off-by: Mans Rullgard <firstname.lastname@example.org>
Enable native build on QNX/x86(cherry picked from commit d33ed7b36762bf26694bdfa18e0d811e26c996f8)
Enable native build on QNX/x86
armcc: filter out non-gcc options from ASFLAGS
This allows passing armcc-specific flags with --extra-cflags withoutchoking the assembler.
Signed-off-by: Mans Rullgard <email@example.com>(cherry picked from commit d0f0f6287c7fd29474e58fe1b86db2885f20c457)
configure: add filter_out() function
This adds a function to filter out words matching a patternfrom a list.
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>(cherry picked from commit 9d201b260627aacdb00e4a54622849aca11d85ee)
configure: move network tests before results are needed
This moves network_extralibs setup before use so that the link testsfor network functions work correctly.
Signed-off-by: Mans Rullgard <email@example.com>(cherry picked from commit 54fe299b885109556c72538977f9eefb969a0d87)
Add CFLAGS needed by PathScale compiler
The PathScale compiler miscompiles wrapping arithmetic withoutthese flags.
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>(cherry picked from commit 5f3b8314a4a9120e0c6d6f153168c37eb849dbe8)
Disable symbol versioning on some BSDs
Dragonfly, NetBSD, and OpenBSD do not support symbol versioningalthough our link test passes. Disable it explicitly for thesesystems.
Signed-off-by: Mans Rullgard <email@example.com>(cherry picked from commit a1e4b3f6d322f61fc8ccae6ecd2586e04ceb7026)