- 07 Jul, 2012 1 commit
-
-
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 19 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>
-
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>
-
Michael Niedermayer authored
Using ff_mspel_motion assumes that s (a MpegEncContext poiinter) really is a Wmv2Context. This fixes crashes in error resilience on vc1/wmv3 videos. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
-
Luca Barbato authored
Should slightly improve performance depending on the compiler used.
-
Luca Barbato authored
Should slightly improve performance depending on the compiler used.
-
Luca Barbato authored
In certain conditions video or audio frames might appear way later in the stream.
-
Martin Storsjö authored
If the output frame size is smaller than the input sample rate, and the input stream time base corresponds exactly to the input frame size (getting input packet timestamps like 0, 1, 2, 3, 4 etc), the output timestamps from the filter will be like 0, 1, 2, 3, 4, 4, 5 ..., leadning to non-monotone timestamps later. A concrete example is input mp3 data having frame sizes of 1152 samples, transcoded to aac with 1024 sample frames. By setting the audio filter time base to the sample rate, we will get sensible timestamps for all output packets, regardless of the ratio between the input and output frame sizes. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This was missed in the the previous commit in 70a1c800. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 04 Jul, 2012 12 commits
-
-
Mans Rullgard authored
This tool uses lavfi internal symbols not accessible in shared libraries. TESTPROGS are linked statically to allow them use of library internals not normally exported. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Diego Biurrun authored
tools/graph2dot.c:85: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int’
-
Martin Storsjö authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Martin Storsjö authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
MSVC doesn't like the offsetof(..) >> 1 construct, it interprets it as a non-literal, thus causing use of this in static tables to fail compilation.
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
MSVC gives a compile error on the tentative definition of mov_default_parse_table[].
-
Diego Biurrun authored
-
Diego Biurrun authored
All libs have version headers now, which allows hardcoding the path.
-
Diego Biurrun authored
-
Diego Biurrun authored
This avoids confusion from patterns meant to only match at the top level matching files in subdirectories.
-
Ronald S. Bultje authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-