- 17 Sep, 2012 16 commits
-
-
Thilo Borgmann authored
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Thilo Borgmann authored
Fixes CVE-2012-2790 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Thilo Borgmann authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Michael Niedermayer authored
ALS spec: 11.6.3.1.1 Quantization and encoding of parcor coefficients ... In all cases the resulting quantized values ak are restricted to the range [-64,63]. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Michael Niedermayer authored
Fixes out of array write in quant_cof. Also make sure no invalid opt_order stays in the context. Fixes CVE-2012-2775 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Michael Niedermayer authored
Values that fail this check will cause failure of decode_rice() Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Anton Khirnov authored
The warning is: libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’: libavfilter/avfiltergraph.c:528:9: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized] libavfilter/avfiltergraph.c:479:13: note: ‘best_idx’ was declared here Initialize it to an invalid value and add an assert that it's properly set later.
-
Anton Khirnov authored
-
Anton Khirnov authored
AVCodecContext.encode is currently used only for subtitles, encode2 is used for audio and video.
-
Anton Khirnov authored
Silences a warning about discarding const.
-
Anton Khirnov authored
The buffer sink does not take any parameters. Fixes an uninitialized variable warning.
-
Clément Bœsch authored
It would have been done anyway in the av_dict_set() call. This simplifies the code and avoid a warning because of assigning a const string from ff_id3v1_genre_str to a non-const variable. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Clément Bœsch authored
This also avoids a memleak. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Janne Grunau authored
This prevents lost frames after a resolution change.
-
- 16 Sep, 2012 7 commits
-
-
Michael Niedermayer authored
Fix near infinite loop in stsd parsing. Bug found by: Diana Elena Muscalu The size is unsigned according the specification. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Michael Niedermayer authored
Avoid a near infinite loop. Issue discovered by cosminamironesei. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
-
Mans Rullgard authored
These arguments are either constants or copies of MpegEncContext fields just as easily accessed within the function. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
These functions do not benefit from being inlined. They are large, and there are no opportunities for constant propagation. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Anton Khirnov authored
It internally decodes as float and then converts to s16 by a call to float_to_int16(). The caller can do this just as well by using lavr.
-
Anton Khirnov authored
Gray8 is not considered to be paletted, so this would cause an invalid write. Fixes bug 367. CC: libav-stable@libav.org
-
- 15 Sep, 2012 13 commits
-
-
Mans Rullgard authored
Previously, object files in, for example, compat/ were left after a clean or distclean was run. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Mans Rullgard authored
-
Ronald S. Bultje authored
This conforms to C99, but requires Windows >= XP. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Luca Barbato authored
The condition should not be &&.
-
Anton Khirnov authored
Based on the code by: Peter Belkner <pbelkner@snafu.de>, Michael Niedermayer <michaelni@gmx.at>, Clément Bœsch <clement.boesch@smartjog.com>, Reimar Döffinger <Reimar.Doeffinger@gmx.de>, and Tobias Rapp <t.rapp@noa-audio.com> Alex Converse <alex.converse@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Clément Bœsch authored
-
Reimar Döffinger authored
Also clarify the meaning of the log message.
-
Anton Khirnov authored
This is consistent with stdio and is what we want to do in all cases. Fixes a bug in the voc muxer which didn't flush in write_trailer() previously. This is the cause of the change in the test results.
-
Anton Khirnov authored
-
Stefano Sabatini authored
This is consistent with stdio, and thus what people would naturally expect.
-
Andrey Utkin authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
Fixes bug 352.
-
Mans Rullgard authored
This function was deprecated two major versions ago (2009). Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 14 Sep, 2012 4 commits
-
-
Derek Buitenhuis authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Some compilers are extra strict about register usage in main(), disallowing ebp in inline asm there while allowing it elsewhere. This change makes the test better reflect actual usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Luca Barbato authored
In both usages of FASTDIV the denominator might be 1. Using a branch could make the function slower than using a normal division. Both denominator and numerator can be multiplied by 2 safely and using shifts is faster than using a branch.
-