summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* w32threads: Use newer thread synchronization functions when targeting VistaMartin Storsjö2014-08-13
| | | | | | | | | | | | | | | | | When explicitly targeting Vista or newer (which only happens if the caller explicitly sets _WIN32_WINNT to a high enough value via the extra cflags option - otherwise configure script sets -D_WIN32_WINNT=0x0502), we already unconditionally link to the ConditionVariable functions, since 4622f11f9. Similarly use the newer -Ex versions of CreateEvent, CreateSemaphore, InitializeCriticalSection and WaitForSingleObject, that all appeared in Vista. When building Windows Store applications, the older versions of these functions aren't available, only the -Ex functions. When doing such a build, the user can set -D_WIN32_WINNT=0x0600 to forcibly use the newer functions instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Stop reading after receiving the whole file for non-chunked transfersMartin Storsjö2014-08-13
| | | | | | | | | | | | | | | | | | | | | | | | Previously this logic was only used if the server didn't respond with Connection: close, but use it even for that case, if the server response is non-chunked. Originally the http code has relied on Connection: close to close the socket when the file/stream is received - the http protocol code just kept reading from the socket until the socket was closed. In f240ed18 we added a check for the file size, because some http servers didn't respond with Connection: close (and wouldn't close the socket) even though we requested it, which meant that the http protocol blocked for a long time at the end of files, waiting for a socket level timeout. When reading over tls, trying to read at the end of the connection, when the peer has closed the connection, can produce spurious (but harmless) warnings. Therefore always voluntarily stop reading when the specified file size has been received, if not using a chunked transfer encoding. (For chunked transfers, we already return 0 as soon as we get the chunk header indicating end of stream.) Signed-off-by: Martin Storsjö <martin@martin.st>
* ffv1dec: check that global parameters do not change in version 0/1Michael Niedermayer2014-08-12
| | | | | | | | | Such changes are neither allowed nor supported Found-by: ami_stuff Bug-Id: CVE-2013-7020 CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc_mvs: avoid deriving tmvp in amvpChristophe Gisquet2014-08-12
| | | | | | | | Reduces the number of calls to tmvp derivation from 933685 to 586271 on a sequence. Reviewed-by: Mickaël Raulet <mraulet@insa-rennes.fr> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: wait proper position for tmvpChristophe Gisquet2014-08-12
| | | | | | | | | The position is either rounded or not checked, so delay the wait to check the proper value. Reviewed-by: Mickaël Raulet <mraulet@insa-rennes.fr> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: use intreadwriteChristophe Gisquet2014-08-12
| | | | | | When dealing with MVs, both components may be processed at a time. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: derive partial merge listChristophe Gisquet2014-08-12
| | | | | | The merge list only needs to be derived up to the merge index. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: derive partially amvp listChristophe Gisquet2014-08-12
| | | | | | When the candidate has been found, no need to derive others. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: simplify roundingChristophe Gisquet2014-08-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: reorder loopsChristophe Gisquet2014-08-12
| | | | | | iterate over memory in a more continuous order Signed-off-by: Anton Khirnov <anton@khirnov.net>
* configure: Don't pass MSVC compiler options -M[TD] to armasmMartin Storsjö2014-08-10
| | | | | | | | | | | The -MD option (for enabling a dynamically linked crt) gets interpreted as a cpp option for generating dependency information (into a file named '-.d', when preprocessing to a pipe). We shouldn't be passing any and all C compiler flags to armasm (which is a plain assembler, only with cpp bolted on via gas-preprocessor), but these are the main conflicting ones. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: Postpone FF_IDCT_XVIDMMX removal until the next version bumpDiego Biurrun2014-08-10
|
* lavc: drop the av_fast_{re,m}alloc compatibility wrappersAnton Khirnov2014-08-10
| | | | They were only needed until the bump.
* mpegts: Return proper error code on invalid input dataNidhi Makhijani2014-08-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Prepare for 11_alpha2 ReleaseReinhard Tartler2014-08-10
|
* configure: Suggest upgrading gas-preprocessor instead of just installingMartin Storsjö2014-08-10
| | | | | | Older versions don't support all the features we test for now. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Enable gas-preprocessor on all OSes but only if availableDiego Biurrun2014-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add probe identification of MS armasmMartin Storsjö2014-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tiff: Improve grayscale supportDiego Elio Pettenò2014-08-10
| | | | | | | | | | Only use PAL8 if palette is present, else use GRAY8 for pixfmt. Instead of simulating a grayscale palette, use real grayscale pixels, if no palette is actually defined. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avresample: Introduce AVFrame-based APILuca Barbato2014-08-10
|
* mpeg: Suppress a compiler warning on callback typeLuca Barbato2014-08-09
|
* lavc: remove obsolete and disabled avpriv functionsAnton Khirnov2014-08-09
|
* Remove obsolete FF_API_REFERENCE_DTS cruft.Anton Khirnov2014-08-09
|
* Remove obsolete FF_API_PROBE_MIME cruft.Anton Khirnov2014-08-09
|
* Remove obsolete FF_API_AVFRAME_COLORSPACE cruft.Anton Khirnov2014-08-09
|
* Bump major versions of all libraries.Anton Khirnov2014-08-09
|
* Postpone API-incompatible changes until the next bump.Anton Khirnov2014-08-09
|
* hevc_filter: avoid excessive calls to ff_hevc_get_ref_list()Anton Khirnov2014-08-09
| | | | | | | | 1) each of the loops run within a single CTB, so the relevant reference list is constant 2) when that CTB is, or lies on the same slice as, the current one, we can use a simple access instead of a relatively expensive call to ff_hevc_get_ref_list()
* hevc_refs: drop the handling of negative coordinates in ff_hevc_get_ref_list()Anton Khirnov2014-08-09
| | | | | It makes no sense and cannot happen in any place from which this function is called.
* hevc_filter: move some conditions out of loopsAnton Khirnov2014-08-09
|
* hevc: deobfuscate slice/tile boundary handling for DBFAnton Khirnov2014-08-09
| | | | | Use named constants instead of magic numbers, avoid using variables with inverse meaning from what their name implies.
* hevc_filter: drop more redundant checksAnton Khirnov2014-08-09
| | | | The if() around those loops ensures this condition is always false.
* hevc_filter: drop redundant checksAnton Khirnov2014-08-09
| | | | | ff_hevc_deblocking_boundary_strengths() is never called if the deblocking filter is disabled for the slice.
* hevc: calculate the dbf strength in hls_pcm_sample() only if dbf is enabledAnton Khirnov2014-08-09
|
* avcodec: Rename xvidmmx IDCT to xvidDiego Biurrun2014-08-08
| | | | The Xvid IDCT is not MMX-specific.
* xvididct: Ensure that the scantable permutation is always set correctlyDiego Biurrun2014-08-08
| | | | | This fixes cases where the scantable permuation would get overwritten by the general idctdsp initialization.
* idct: cosmetics: Drop one unnecessary if-block levelDiego Biurrun2014-08-08
|
* configure: Only run gas checks on ARM and PowerPCDiego Biurrun2014-08-08
| | | | Standalone GNU assembly is not used on x86.
* configure: Die if gas is unavailable under aarch64 as well as ARMDiego Biurrun2014-08-08
|
* mpeg: K&R formatting cosmeticsLuca Barbato2014-08-08
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegts: Use av_free() to free memory allocated by av_strdup()Diego Biurrun2014-08-08
|
* mpegts: Fix memory leaks and related crashes in mpegs_write_header()Diego Biurrun2014-08-07
|
* mpegts: Avoid unnecessary variable shadowingDiego Biurrun2014-08-07
|
* mpegts: Drop some unnecessary parenthesesDiego Biurrun2014-08-07
|
* mpegts: K&R formatting cosmeticsDiego Biurrun2014-08-07
|
* swscale: Undeprecate sws_getContext()Diego Biurrun2014-08-07
| | | | sws_getCachedContext is not a full replacement for the function.
* avcodec: Undeprecate reordered_opaqueDiego Biurrun2014-08-07
| | | | | | | It allows attaching other external, opaque data to the frame and passing it through the reordering process, for cases when the caller wants other data than just the plain packet pts. There is no way to cleanly achieve this without the field.
* h264: fix interpretation of interleved stereo modesFelix Abecassis2014-08-07
| | | | | | Column and row frame packing arrangements were inverted. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* movenc: fix QT chapter track character encodingJohn Stebbins2014-08-06
| | | | An encoding ("encd") box is required to tell QT that the string is UTF8
* movenc: add track title to tracksJohn Stebbins2014-08-06
|