- 08 Feb, 2012 5 commits
-
-
Ronald S. Bultje authored
On Win64, these registers are callee-save, so not saving/restoring them correctly is a violation of ABI and can lead to crashes or corrupt data.
-
Alex Converse authored
The spec says the following speaker mapping is default: center front speaker left, right center front speakers, left, right outside front speakers, left surround, right surround rear speakers, front low frequency effects speaker
-
Alex Converse authored
It was only correct when element ids met very specific criteria.
-
Alex Converse authored
-
Diego Biurrun authored
It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
-
- 07 Feb, 2012 8 commits
-
-
Ronald S. Bultje authored
This fixes crashes in e.g. PNG decoding with SSE2 enabled. In fact, many x86 optimizations for codecs assume that our buffer strides are 16-byte aligned.
-
Ronald S. Bultje authored
-
Michael Kostylev authored
This fixes XMM register clobber problems on Win64. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
Also slightly move around code not allocate a new frame if we won't decode it. This prevents us from putting undecoded frames in frame pointers, which (in mt decoding) other threads will use and wait on as references, causing a deadlock (if we skipped decoding) or a crash (if we didn't initialized next_framep[] at all). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Justin Ruggles authored
It makes sense in some cases to split up the output packet to save on memory usage (ape frames can be very large), but the current/default size is arbitrary. Allowing the user to configure this gives more flexibility and requires minimal additional code.
-
Justin Ruggles authored
-
Justin Ruggles authored
This will allow the decoder to return samples for the full packet, and it also makes the decoded buffer pointers aligned.
-
Justin Ruggles authored
-
- 06 Feb, 2012 10 commits
-
-
Aneesh Dogra authored
Signed-off-by:
Justin Ruggles <justin.ruggles@gmail.com>
-
Paul B Mahol authored
FFALIGN doesn't work with non-powers-of-2. This reverts commit 7ad1b612. Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Diego Biurrun authored
-
Kieran Kunhya authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
It is already set in avcodec_alloc_frame(). Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 04 Feb, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Justin Ruggles <justin.ruggles@gmail.com>
-
- 03 Feb, 2012 4 commits
-
-
Justin Ruggles authored
AVCodecContext.bits_per_raw_sample is used for audio too, and values other than 8, 9, and 10 are valid.
-
Justin Ruggles authored
-
Justin Ruggles authored
av_realloc() does not guarantee alignment, which is required for DSPContext.bswap_buf().
-
Justin Ruggles authored
-
- 02 Feb, 2012 10 commits
-
-
Anton Khirnov authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
This will be useful to test more aggressively for failures to mark XMM registers as clobbered in Win64 builds, and prevent regressions thereof. Based on a patch by Ramiro Polla <ramiro.polla@gmail.com>
-
Mans Rullgard authored
This function was broken when the start bin was not at the start of a band. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Piotr Bandurski authored
This is more consistent with all the other codec names. Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Justin Ruggles <justin.ruggles@gmail.com>
-
Justin Ruggles authored
Return the correct number of consumed bytes and set *data_size = 0. Returned size is 1 too small, leading to that 1 byte being read as the next frame, which results in an extra blank frame at the beginning of the stream.
-
Justin Ruggles authored
Avoids doing malloc/free for each frame. Also fixes valgrind errors due to use of uninitialized padding bytes. Based on a patch by Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Justin Ruggles authored
-
Justin Ruggles authored
Specifies the correct number of xmm registers used so that they can be saved and restored on Win64 if necessary.
-
- 01 Feb, 2012 2 commits
-
-
Justin Ruggles authored
It is already the correct size as set by ff_alloc_packet().
-
Justin Ruggles authored
This will simplify encoders which use this function to request the exact packet size rather than the maximum size.
-