- 13 Aug, 2014 4 commits
-
-
Andrew Stone authored
The only flags, for now, indicate if metadata was updated and are set after each call to av_read_frame(). This comes with the caveat that, on stream start, it might not be set properly as packets might be buffered in AVFormatContext.packet_buffer before being given to the user in av_read_frame(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Martin Storsjö authored
On mingw64 with c++11 support, the link libraries do contain a nanosleep function, while it isn't exposed via the headers. Using check_func_headers instead of a plain check_func fixes this misdetection. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
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 4622f11f. 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>
-
Martin Storsjö authored
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>
-
- 12 Aug, 2014 8 commits
-
-
Michael Niedermayer authored
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>
-
Christophe Gisquet authored
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>
-
Christophe Gisquet authored
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>
-
Christophe Gisquet authored
When dealing with MVs, both components may be processed at a time. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Christophe Gisquet authored
The merge list only needs to be derived up to the merge index. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Christophe Gisquet authored
When the candidate has been found, no need to derive others. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Christophe Gisquet authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Christophe Gisquet authored
iterate over memory in a more continuous order Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 10 Aug, 2014 10 commits
-
-
Martin Storsjö authored
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>
-
Diego Biurrun authored
-
Anton Khirnov authored
They were only needed until the bump.
-
Nidhi Makhijani authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Reinhard Tartler authored
-
Martin Storsjö authored
Older versions don't support all the features we test for now. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Elio Pettenò authored
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>
-
Luca Barbato authored
-
- 09 Aug, 2014 14 commits
-
-
Luca Barbato authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
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()
-
Anton Khirnov authored
It makes no sense and cannot happen in any place from which this function is called.
-
Anton Khirnov authored
-
Anton Khirnov authored
Use named constants instead of magic numbers, avoid using variables with inverse meaning from what their name implies.
-
Anton Khirnov authored
The if() around those loops ensures this condition is always false.
-
Anton Khirnov authored
ff_hevc_deblocking_boundary_strengths() is never called if the deblocking filter is disabled for the slice.
-
Anton Khirnov authored
-
- 08 Aug, 2014 4 commits
-
-
Diego Biurrun authored
The Xvid IDCT is not MMX-specific.
-
Diego Biurrun authored
This fixes cases where the scantable permuation would get overwritten by the general idctdsp initialization.
-
Diego Biurrun authored
-
Diego Biurrun authored
Standalone GNU assembly is not used on x86.
-