- 07 Sep, 2012 1 commit
-
-
Anton Khirnov authored
Fixes an infinite loop on flush when avresample_get_delay() still reports some samples but avresample_convert() doesn't return any data.
-
- 06 Sep, 2012 7 commits
-
-
Alberto Delmás authored
It calculates the sum of power of two series, which can be done in one step. Suggested by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-
Alberto Delmás authored
That division can be replaced with a comparison: ((c->value - c->low) << 1) + 1 >= range By expanding 'range' definition and simplifying this inequation we obtain the final expression. Suggested by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-
Alberto Delmás authored
Reported by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-
Janne Grunau authored
Prevents dangling pointers and makes access after free more obvious. Setting AVFrame.qscale_table to NULL is required for successfully allocating a previously freed Picture with ff_alloc_picture().
-
Martin Storsjö authored
The default ones work, but outputs the preprocessed file on stdout (into config.log). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
The init functions check for CPU capabilities on their own already.
-
- 05 Sep, 2012 12 commits
-
-
Martin Storsjö authored
This disables the following warnings: C4100: unreferenced formal parameter (1035 occurrances) C4214: nonstandard extension used : bit field types other than int (609 occurances) C4996: 'avpriv_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (351 occurrances) Signed-off-by: Martin Storsjö <martin@martin.st>
-
Hendrik Leppkes authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Michael Niedermayer authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Luca Barbato authored
A second expansion forces the preprocessor to tokenize properly. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Mans Rullgard authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Mans Rullgard authored
Using ranlib is not required but prevents using the libraries with msvc. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The ParserContext class doesn't have an AVClass, required for using it as a logging class. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
It is possible in various error paths as well as gap handling that this has already been allocated. It is not clear why that would be a problem with the current code, thus disable the assert to avoid a common assert failure when asserts are enabled. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
-
Diego Biurrun authored
-
- 04 Sep, 2012 16 commits
-
-
Martin Storsjö authored
Also mention this change in APIchanges. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
This fixes assert failures when running in debug mode. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
This assert is no longer true since h264 error concealment needs last_picture_ptr to be set. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
It now just checks uninitialized and unused data. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
It seems the condition was flipped from what was intended. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Elio Pettenò authored
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
-
Luca Barbato authored
-
Martin Storsjö authored
The data in coded_frame isn't allocated using get_buffer, but is copied from the input frame to the encoder, so we should not try to free it ourselves. This fixes an assert failure when running in debug mode. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Previously, the put_bits call writing the value wrote a value larger than the number of bits specified, failing asserts in debug mode. There was no actual bitstream writer corruption, since the overwritten bit already always was set to 1. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Previously, the value given to put_bits was 10 bits long for positive predictors, even though 9 bits were to be written. The extra bit could in some cases overwrite existing bits in the bitstream writer cache. This fixes a failed assert in put_bits.h, when running a version built with -DDEBUG. The fate test result gets slightly improved, thanks to getting rid of the overwritten bits in the bitstream writer cache. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 03 Sep, 2012 4 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Alberto Delmás authored
No meaningful generated code differences using gcc -O3. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-
Alberto Delmás authored
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-