- 06 May, 2012 7 commits
-
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Kostya Shishkov <kostya.shishkov@gmail.com>
-
Kostya Shishkov authored
-
Diego Biurrun authored
This fixes a number of unused-but-set gcc warnings.
-
Diego Biurrun authored
libavcodec/dvdec.c:344:12: warning: assignment discards ‘const’ qualifier from pointer target type
-
Robert Nagy authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Kostya Shishkov authored
This is logical and also fixes checking for the fourth plane offset.
-
Kostya Shishkov authored
-
- 05 May, 2012 5 commits
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
This is required for SIMD optimisations. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Jakub Stachowski authored
Signed-off-by:
Kostya Shishkov <kostya.shishkov@gmail.com>
-
Mashiat Sarker Shakkhar authored
Based on observations made by Jakub Stachowski <qbast@go2.pl> Signed-off-by:
Kostya Shishkov <kostya.shishkov@gmail.com>
-
- 04 May, 2012 2 commits
-
-
Ronald S. Bultje authored
Wrong bit depth can lead to invalid rowsize values, which crashes the decoder further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Alex Converse authored
CC: libav-stable@libav.org
-
- 03 May, 2012 3 commits
-
-
Mans Rullgard authored
The decoder assumes in various places that the image size is a multiple of the block size, and there is no obvious way to support odd sizes. Bailing out early if the header specifies a bad size avoids various errors later on. Fixes CVE-2012-0947. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Hendrik Leppkes authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Hendrik Leppkes authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 02 May, 2012 12 commits
-
-
Alex Converse authored
Prevents illegal reads on truncated and malformed input. CC: libav-stable@libav.org
-
Ronald S. Bultje authored
Progressive data is allocated later in decode_sof(), not allocating that data leads to NULL dereferences. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
Prevents crashes because the old check was incomplete. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Ronald S. Bultje authored
Fixes crashes in codepaths not covered by original checks. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Ronald S. Bultje authored
This prevents sample_rate/data_length from going negative, which caused various crashes and undefined behaviour further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Ronald S. Bultje authored
This properly synchronizes frame size changes between threads if subsequent threads abort decoding before frame size is initialized, i.e. it prevents the thread after that from ping-ponging back to the original value. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Ronald S. Bultje authored
Fixes a compile error with clang at -O0.
-
Kostya Shishkov authored
-
Mashiat Sarker Shakkhar authored
Signed-off-by:
Kostya Shishkov <kostya.shishkov@gmail.com>
-
Hendrik Leppkes authored
The index of the motion vector has to be checked before being multiplied by 2 for the array index. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Hendrik Leppkes authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 01 May, 2012 3 commits
-
-
Mans Rullgard authored
ModeTab.fmode has only 3 elements, so indexing it with ftype in the initialier for 'size' is invalid when ftype == FT_PPC. This fixes crashes with gcc 4.8. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Jakub Stachowski authored
Reviewed-by:
Mashiat Sarker Shakkhar <mashiat.sarker@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Kostya Shishkov <kostya.shishkov@gmail.com>
-
Mashiat Sarker Shakkhar authored
This fixes decoding of frames which span more than two packets. Tested with recit24.wma. Signed-off-by:
Kostya Shishkov <kostya.shishkov@gmail.com>
-
- 30 Apr, 2012 5 commits
-
-
Mans Rullgard authored
Indexing outside array limits is invalid and breaks with gcc 4.8. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
The shift parameter was removed from this interface in 7e1ce6a6. This updates the Altivec implementation to match. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
To load unaligned vector data in the usual way, explicit vec_ld() should be used rather than dereferencing a pointer to a vector type. When the VSX extension is enabled, gcc may compile vector pointer dereferences using the VSX lxvw4x instruction instead of the lvx instruction typically used with Altivec/VMX. As the behaviour of these instructions with unaligned addresses differs, it is important that only lvx is used here. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Allowing dsputil functions to assume the stride is a multiple of 16 even for smaller block sizes can simplify their implementation. This appears to be the only place this guarantee is not met. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 29 Apr, 2012 3 commits
-
-
Hendrik Leppkes authored
Non perceptual color model that aims to have an increase effectiveness in compression like the normal YCbCr while having near-lossless/lossless mapping to RGB. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
Apply coding style to the structs.
-
Ronald S. Bultje authored
Required because it's used in a call to imdct_half(), which is an AVX function. Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-