- 02 7月, 2012 16 次提交
-
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Ronald S. Bultje 提交于
intfloat.h is a public header, and is now (since a1245d5c) included by mathematics.h, which many external callers include. This fixes building third party applications that include mathematics.h in a language that doesn't support designated initalizers. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Ronald S. Bultje 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Diego Biurrun 提交于
-
由 Kostya Shishkov 提交于
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Mans Rullgard 提交于
This removes some code apparently left over from vlc reader debugging. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
This moves the mbs_per_slice declaration inside the only loop where it is used. Fixes a dead assignment. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Martin Storsjö 提交于
These files use NAN/INFINITY but didn't include mathematics.h to get the fallback definitions if the system lacks the macros. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Ronald S. Bultje 提交于
Some compilers, MSVC among them, don't recognize the divisions by zero as meaning infinity/nan. These macros should, according to the standard, expand to constant expressions, but this shouldn't matter for our usage. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 01 7月, 2012 6 次提交
-
-
由 Martin Storsjö 提交于
ff_wma_init is used only by wmadec and wmaenc, and neither of them can handle more than 2 channels. This fixes crashes with invalid files. Based on patch by Piotr Bandurski and Michael Niedermayer. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Mans Rullgard 提交于
This adds macros for accessing the EFLAGS register and uses these instead of coding the entire check in inline asm. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Mans Rullgard 提交于
This creates proper position independent code when accessing data symbols if CONFIG_PIC is set. References to external symbols should now use the movrelx macro. Some additional code changes are required since this macro may need a register to hold the GOT pointer. Signed-off-by: NMans Rullgard <mans@mansr.com>
-
由 Ronald S. Bultje 提交于
-
由 Ronald S. Bultje 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Ronald S. Bultje 提交于
This gets rid of a variable-length array and a for loop in C code. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 30 6月, 2012 8 次提交
-
-
由 Ronald S. Bultje 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
This allows passing the right options to encoders when there's more than one encoder for a certain codec id. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Ronald S. Bultje 提交于
Mingw headers provide similar defines already (unconditional #defines, without any #undef or #ifdef around it), while MSVC doesn't have them. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
The fallback function is a non-static function, we shouldn't be defining non-static functions outside of the proper ff/av prefix namespaces. This is especially important for a function like poll, which other parties (other libraries, or executables linking these libraries) also might provide similar but incompatible fallbacks for. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
We need to include winsock2.h here, to make sure we have the real pollfd struct definition, if one exists, before defining the fallback poll function. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
The fds are unsigned integers in the windows definition of struct sockfds. Due to this, the comparison if (fds[i].fd > n) was always false. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Ronald S. Bultje 提交于
io.h is required for open and _wopen, and fcntl.h is required for the O_CREAT flag. On mingw, fcntl.h is included by os_support.h (and the mingw fcntl.h includes io.h), but include it explicitly here since this implementation requires it. Also move the #undef open up. open must not be defined to ff_win32_open while including the headers that declare the open function. On mingw, this happened in os_support.h before open was redirected. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Mans Rullgard 提交于
The problem is that the ssse3 psign instruction does the wrong thing here. Commit ea60dfe2 incorrectly removed a macro emulating this instruction for pre-ssse3 code. However, the emulation is incorrect, and the code relies on the behaviour of the macro. Specifically, the psign sets destination elements to zero where the corresponding source element is zero, whereas the emulation only negates destination elements where the source is negative. Furthermore, the PSIGNW_MMX macro in x86util.asm is totally bogus, which is why the original VC-1 code had an additional right shift when using it. Since the psign instruction cannot be used here, skip all the macro hell and use the working instruction sequence directly. None of this was noticed due a stray return statement in ff_vc1dsp_init_mmx() which meant that only the mmx version of the loop filter was ever used (before being removed in ea60dfe2). Signed-off-by: NMans Rullgard <mans@mansr.com>
-
- 29 6月, 2012 4 次提交
-
-
由 Ronald S. Bultje 提交于
It is included for the open/read/write/close functions. On MSVC, where this header does not exist, the same functions are provided by io.h, which is already included. On windows, these functions are provided by io.h. Make sure io.h is included if it exists, regardless of the setmode function. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Ronald S. Bultje 提交于
unistd.h is used for open/read/close, but if this header does not exist, there's probably no use in trying to open /dev/*random at all. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Samuel Pitoiset 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Ronald S. Bultje 提交于
unistd.h used to be required for gethostname. On windows, gethostname is provided by winsock2.h. Now network.h includes both unistd.h and winsock2.h if they exist. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 28 6月, 2012 6 次提交
-
-
由 Damien Fetis 提交于
Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Diego Biurrun 提交于
-
由 Luca Barbato 提交于
-
由 Alex Converse 提交于
-
由 Kostya Shishkov 提交于
-
由 Kostya Shishkov 提交于
-