- 09 Jul, 2012 13 commits
-
-
Kostya Shishkov authored
-
Kostya Shishkov authored
-
Anton Khirnov authored
It is not available on all systems and using argc/argv directly actually makes the code simpler. Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
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 9 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.
-