- 09 Jul, 2012 10 commits
-
-
Jordi Ortiz authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
A compile-only test could succeed with an implicit function declaration. Also move the check to the x86 section; rdtsc is x86-only.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Make sure that an output frame has really been produced before returning 0.
-
Anton Khirnov authored
Make sure that an output frame has really been produced before returning 0.
-
JULIAN GARDNER authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
- 08 Jul, 2012 4 commits
-
-
Justin Ruggles authored
Based partially on implementation by Michael Niedermayer <michaelni@gmx.at> in libswresample in FFmpeg. See commits: 7f1ae79d 24ab1abf
-
Justin Ruggles authored
-
Justin Ruggles authored
Also make this the default value.
-
Justin Ruggles authored
-
- 07 Jul, 2012 6 commits
-
-
Ronald S. Bultje authored
This is required for CommandLineToArgvW. Normally, shellapi.h is included implicitly by windows.h, but if we define WIN32_LEAN_AND_MEAN (or some of the other earlier headers have included windows.h with that option), windows.h doesn't include this one. Thus explicitly include the headers we really need, for clarity and compatibility.
-
Ronald S. Bultje authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Only return an error if memory allocation fails or error recognition is set to explode. Otherwise just print an error message and continue reading the file.
-
Anton Khirnov authored
This way we don't end with an invalid stream if parsing the picture fails.
-
Ronald S. Bultje authored
Also replace x>>av_log2(sizeof(..)) + 1 by x/sizeof(..). The +1 is probably meant to emulate av_log2_ceil(sizeof(..)) in cases where ".." is not a power of two.
-
- 06 Jul, 2012 8 commits
-
-
Martin Storsjö authored
The SPLATB_REG macro already adds the 'd' suffix internally. This fixes building on Win64, which has been broken since 878e6690. This worked for unix, where r2 happened to be rdx in this case, which with the first suffix rdxd was mapped to eax, and eaxd is defined back to eax. On win64 however, r2 happened to be R8 in this case, and R8d mapps to R8D just fine, but there's no mapping for R8Dd to anything. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Mans Rullgard authored
This simplifies testing arbitrary code fragments within a function body. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Anton Khirnov authored
Input on/off state can change in request_samples(), which can result in a state where only the first input is active. get_available_samples() will then return 0, and request_frame() will fail with EAGAIN even though there is data on the single active input. Take this into account and check the number of active inputs again after calling request_samples().
-
Anton Khirnov authored
0 should only be returned when there was at least one output frame.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
start time is already substracted from the frame timestamp, so it needs to be checked against 0, not start time.
-
Kostya Shishkov authored
-
- 05 Jul, 2012 12 commits
-
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Martin Storsjö authored
This avoids creating new AVStreams for them when switching between different variants of them, since we can handle changes between different sample rates of nellymoser within the same stream. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Loren Merritt authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Loren Merritt authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
-
Anton Khirnov authored
Fixes an invalid read on size change.
-
Reimar Döffinger authored
Currently it always exits with an error when more than one position is specified. CC: libav-stable@libav.org
-
Mans Rullgard authored
Instead of inlining everything into ff_h264_hl_decode_mb(), use explicit templating to create versions of the called functions with constant parameters filled in. This greatly speeds up compilation of h264.c and reduces the code size without any measurable impact on performance. Compilation time for h264.c on an i7 goes from 30s to 5.5s. Code size is reduced by 430kB. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Samuel Pitoiset authored
Previously it was interpreted as number of bytes, while the documentation stated that it was the number of 8 byte blocks. This makes it behave similarly to the existing AES code. Signed-off-by: Martin Storsjö <martin@martin.st>
-