summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'ef51692a49d58963966adca55c62da9c34c3c7e1'Michael Niedermayer2013-08-281-5/+5
|\ | | | | | | | | | | | | * commit 'ef51692a49d58963966adca55c62da9c34c3c7e1': Revert "w32pthread: help compiler figure out undeeded code" Merged-by: Michael Niedermayer <[email protected]>
| * Revert "w32pthread: help compiler figure out undeeded code"Martin Storsjö2013-08-271-5/+5
| | | | | | | | | | | | | | | | | | | | This reverts commit 4622f11f9c83db8a2e08408c71ff901826ca652c. The compiler should be able to do the dead code elimination now without this when the cond_* names point directly to the real functions instead of to local function pointers. Signed-off-by: Martin Storsjö <[email protected]>
* | Merge commit '4332bf98dc051fd1ffbd9d4ddc1c5e55790c96f1'Michael Niedermayer2013-08-281-5/+7
|\| | | | | | | | | | | | | * commit '4332bf98dc051fd1ffbd9d4ddc1c5e55790c96f1': w32threads: Don't use function pointers when linking directly to newer APIs Merged-by: Michael Niedermayer <[email protected]>
| * w32threads: Don't use function pointers when linking directly to newer APIsMartin Storsjö2013-08-271-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | This reduces the call overhead slightly. More noticeably, it restores the earlier (unintended?) feature that condition variable functions work just fine even if w32thread_init() hasn't been called. This was broken as a side effect of 4622f11f9, if explicitly targeting Vista+. This makes w32threading work in VP8 again, if targeting Vista+. Signed-off-by: Martin Storsjö <[email protected]>
* | Merge commit '4622f11f9c83db8a2e08408c71ff901826ca652c'Michael Niedermayer2013-08-221-5/+5
|\| | | | | | | | | | | | | * commit '4622f11f9c83db8a2e08408c71ff901826ca652c': w32pthread: help compiler figure out undeeded code Merged-by: Michael Niedermayer <[email protected]>
| * w32pthread: help compiler figure out undeeded codeRafaël Carré2013-08-211-5/+5
| | | | | | | | | | | | | | | | The emulation code is not needed when targetting Vista+ This helps getting rid of CreateSemaphore symbol, which is forbidden in Windows Store apps. Signed-off-by: Martin Storsjö <[email protected]>
* | avisynth: Support video input from AviSynth 2.5 properly.Stephen Hutchinson2013-08-171-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses the 2.5 compatibility header included with the variant of FFMS2 that uses AviSynth's C-interface. A copy of this header is now provided in compat/avisynth. avs_get_row_size_p and avs_get_height_p changed between versions 2.5 and 2.6. Since the avisynth_c.h header that avformat uses assumes AviSynth 2.6, it would cause 2.5 to crash if given any kind of real video (the Version() function was known to work, though). AvxSynth was unaffected by this issue because, despite being based on AviSynth 2.5.8 and using 2.5.8's interface version number of 3, it actually uses 2.6's versions of these functions. Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-07-192-2/+38
|\| | | | | | | | | | | | | | | | | | | * qatar/master: compat: Add missing license boilerplates Conflicts: compat/tms470/math.h Merged-by: Michael Niedermayer <[email protected]>
| * compat: Add missing license boilerplatesDiego Biurrun2013-07-182-2/+38
| |
* | Merge commit '439902e0d68a0f0d800c21b5e6b598d5fa0c51da'Michael Niedermayer2013-07-193-9/+13
|\| | | | | | | | | | | | | | | | | | | * commit '439902e0d68a0f0d800c21b5e6b598d5fa0c51da': Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/ Conflicts: compat/aix/math.h Merged-by: Michael Niedermayer <[email protected]>
| * Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/Diego Biurrun2013-07-183-9/+13
| | | | | | | | Also fix a comment and an #endif comment.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-07-051-0/+14
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: compat: wrap math.h to avoid AIX-specific clashes Conflicts: configure See: bf18abb2eb79c00c69f6f83ede64536e3297793c, 0915b531bc62440914710d2989813563b0446c5e Merged-by: Michael Niedermayer <[email protected]>
| * compat: wrap math.h to avoid AIX-specific clashesLuca Barbato2013-07-041-0/+14
| | | | | | | | | | AIX defines a class() function in its math.h header without any guard.
* | os2threads: move from lavc to compat/Dave Yeo2013-05-281-0/+162
| | | | | | | | | | | | | | For useage in other places besides lavc. Needed after commit 90f9a5830b5d332de7ebb1ab45589f1870cbd65d Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge commit '90f9a5830b5d332de7ebb1ab45589f1870cbd65d'Michael Niedermayer2013-05-241-0/+280
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '90f9a5830b5d332de7ebb1ab45589f1870cbd65d': w32pthreads: move from lavc to compat/ Conflicts: libavcodec/Makefile libavcodec/pthread.c libavcodec/vp8.h Merged-by: Michael Niedermayer <[email protected]>
| * w32pthreads: move from lavc to compat/Anton Khirnov2013-05-241-0/+279
| | | | | | | | It will be used in other places than lavc.
| * Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-071-2/+1
| | | | | | | | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <[email protected]>
* | Provide local copies of AviSynth's and AvxSynth's requisite headers in ↵Stephen Hutchinson2013-03-214-0/+1768
| | | | | | | | | | | | | | compat/avisynth/. The versions of the headers are the same as those provided with x264 for consistency's sake.
* | compat/strtod: isspace -> av_isspace.Clément Bœsch2013-03-041-1/+1
| | | | | | | | This should fix build after 88d55b8.
* | Remove incorrect use of ctype.h functions.Reimar Döffinger2013-03-031-1/+0
| | | | | | | | | | | | | | As far as I can tell the code should not change behaviour depending on locale in any of these places. Signed-off-by: Reimar Döffinger <[email protected]>
* | Merge commit '0c03cc68386443f1e96ab6fb358220faf67cd5ff'Michael Niedermayer2012-10-243-0/+46
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0c03cc68386443f1e96ab6fb358220faf67cd5ff': mp3: exit on parsing error in mp_decode_frame rtmppkt: Avoid unescaped backslash in Doxygen comment fate-lavfi: replace sed/grep/cut combos with awk build: Plan 9 support Conflicts: configure tests/lavfi-regression.sh Merged-by: Michael Niedermayer <[email protected]>
| * build: Plan 9 supportMans Rullgard2012-10-233-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for building on Plan 9 x86-32. The compat/plan9 directory contains these items: - replacements for the 'head' and 'printf' shell commands - wrapper for main() to disable FPU exceptions Larger required changes to the system are described in the documentation. Signed-off-by: Mans Rullgard <[email protected]>
* | compat/getopt: add {} to complex ifsMichael Niedermayer2012-10-211-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-141-0/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avutil: Do not make ff_ symbols globally visible. avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2() build: tms470: work around glibc math.h problems configure: improve tms470 compiler usage with glibc Conflicts: libavcodec/bmpenc.c libavcodec/rawdec.c Merged-by: Michael Niedermayer <[email protected]>
| * build: tms470: work around glibc math.h problemsMans Rullgard2012-10-131-0/+7
| | | | | | | | | | | | | | The glibc definitions of INFINITY and NAN do not work with the tms470 compiler, nor do our usual fallbacks. Signed-off-by: Mans Rullgard <[email protected]>
| * compat/vsnprintf: return number of bytes required on truncation.Ronald S. Bultje2012-09-151-3/+10
| | | | | | | | | | | | This conforms to C99, but requires Windows >= XP. Signed-off-by: Derek Buitenhuis <[email protected]>
* | MinGW: Use our snprintf/vsnprintf when MinGW's is brokenDerek Buitenhuis2012-09-252-0/+42
| | | | | | | | | | | | | | | | All versions of MinGW-w64 prior to version 3, as well as all versions of MinGW32 have broken implementations of vsnprintf. Signed-off-by: Derek Buitenhuis <[email protected]>
* | compat/vsnprintf: return number of bytes required on truncation.Ronald S. Bultje2012-09-151-3/+6
| | | | | | | | This conforms to C99, but requires Windows >= XP.
* | msvc: Add a va_copy compatability macro for msvcDerek Buitenhuis2012-09-152-0/+27
| | | | | | | | Signed-off-by: Derek Buitenhuis <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-062-0/+157
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: Allow setting the ld parameter from the config file x86: dsputil: Do not redundantly check for CPU caps before calling init funcs configure: Disable some warnings in MSVC x86: vp56: cmov version of vp56_rac_get_prob requires inline asm avopt: fix examples to match the same style about default values as the actual code. configure: Add support for MSVC cl.exe/link.exe lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime. Conflicts: libavutil/opt.h Merged-by: Michael Niedermayer <[email protected]>
| * lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime.Ronald S. Bultje2012-09-052-0/+157
| | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
* | Revert "lavu: add snprintf(), vsnprint() and strtod() replacements for MS ↵Michael Niedermayer2012-09-064-239/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime." This reverts commit ba537202801d71711f1ef9306a6248dd2d426fa0. A better implementation has been commited by the same author to qatar Conflicts: configure Found-by: jamal <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime.Ronald S. Bultje2012-08-284-0/+239
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-171-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: libvpxenc: use the default bitrate if not set utvideo: Rename utvideo.c to utvideodec.c doc: Fix syntax errors in sample Emacs config mjpegdec: more meaningful return values configure: clean up Altivec detection getopt: Remove an unnecessary define rtmp: Use int instead of ssize_t getopt: Add missing includes rtmp: Add support for receiving incoming streams Add missing includes for code relying on external libraries Conflicts: libavcodec/libopenjpegenc.c libavcodec/libvpxenc.c libavcodec/mjpegdec.c libavformat/version.h Merged-by: Michael Niedermayer <[email protected]>
| * getopt: Remove an unnecessary defineMartin Storsjö2012-08-161-2/+0
| | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * getopt: Add missing includesMartin Storsjö2012-08-161-0/+3
| | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-121-4/+4
|/ | | | | | | | | | | | | | | | | | | | | * qatar/master: build: Fix Ogg demuxer dependencies build: Fix FLAC demuxer dependencies flac: Move flac functions shared between libraries to flac common code build: Fix CAF demuxer dependencies build: Fix MP2 muxer dependencies build: Add missing build rules for the ISMV muxer configure: Drop redundant mxf_d10 test dependency declaration Support AAC encoding via the external library fdk-aac libavcodec: Add more AAC profiles dct/fft-test: use a replacement getopt() if the system has none present. Conflicts: Changelog libavcodec/Makefile libavcodec/version.h Merged-by: Michael Niedermayer <[email protected]>
* dct/fft-test: use a replacement getopt() if the system has none present.Ronald S. Bultje2012-07-111-0/+84
This allows compiling and running these tests on systems lacking a built- in version of getopt(), such as MSVC. Signed-off-by: Anton Khirnov <[email protected]>