- 26 Nov, 2011 14 commits
-
-
Cheng Sun authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This is simpler and avoids an invalid shift by 32 in the aligned case. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This bit manipulation is equivalent but avoids undefined shifts and overflows. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Reimar Döffinger authored
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Reimar Döffinger authored
This avoids crashes due to reading out-of-bounds. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Reimar Döffinger authored
Since it contains dimensions parsing an invalid one has rather annoying effects. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Reimar Döffinger authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Carl Eugen Hoyos authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Michael Niedermayer authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
K.Y.H authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
- 25 Nov, 2011 9 commits
-
-
Martin Storsjö authored
This was removed erroneously in 046f081b. This define still is necessary for getting MAP_ANONYMOUS defined on linux/glibc, despite the define reshuffling done in that commit. Without MAP_ANONYMOUS defined, the mprotect calls for setting the generated mmx2 scaler code pages executable are left out, causing crashes if that codepath is chosen. This patch fixes scaling from 192x144 to 320x240 with -sws_flags fast_bilinear, which crashes on linux at the moment. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Mans Rullgard authored
A value shifted left by >31 needs to have a 64-bit type. As there are no defined channels in this range, the fix is purely theoretical at this point, although it does avoid some invalid shifts triggering the overflow checker. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Rafaël Carré authored
This way the needed linking flags end up in libavcodec.pc. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Mans Rullgard authored
It makes more sense for a bit mask to use an unsigned type. The change should be source and binary compatible on all supported systems, hence micro version bump. Fixes a few invalid shifts. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This is a hand-tuned version of the code with impossible parts of the FASTDIV function ommitted. 2-5% faster overall on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Luca Barbato authored
This makes the two pass encoding with x264 working with -f null - as first pass.
-
Janne Grunau authored
This is required to fulfill avcodec_decode_video2() promise to return the number of consumed bytes on success.
-
Janne Grunau authored
Add all seven test bitstreams of Coding Technologies "aacPlus Decoder Check Package". The streams cover different ways to signal SBR and PS in different formats.
-
Mans Rullgard authored
Casting the left-most byte to unsigned avoids an undefined result of the shift by 24 if bit 7 is set. This affects the rm demuxer. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 24 Nov, 2011 7 commits
-
-
Luca Barbato authored
The common non inlined code goes in snow.c, the common inlined code in snow.h, tables move in snowdata.h (included only by snow.c)
-
Anton Khirnov authored
-
Ronald S. Bultje authored
isGray() is left as a FIXME for later.
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
- 23 Nov, 2011 10 commits
-
-
Justin Ruggles authored
Based on code by Stefano Sabatini.
-
Justin Ruggles authored
-
Janne Grunau authored
At EOF it makes no sense to modify avpkt.{data,size} in output_packet since no data is consumed. Frame threading with more than 1 threads hits the segfault.
-
Justin Ruggles authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
I.e. if the packet was only partially consumed, pass the rest of it into the decoder again. Also simplify the code so it's the same for video/audio/subs.
-
Anton Khirnov authored
Also check for sufficient packet size.
-
Justin Ruggles authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-