summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* avcodec: Add picture structure information to AVCodecParserContext.Yusuke Nakamura2013-05-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wavpack: check packet size earlyLuca Barbato2013-05-22
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wavpack: use bytestream2 in wavpack_decode_blockLuca Barbato2013-05-22
| | | | | | | Prevent most out of buffer reads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pixdesc: mark gray8 as pseudopalAnton Khirnov2013-05-22
| | | | | | | Many functions treat it as such already. Fixes Bug 499. CC:libav-stable@libav.org
* mpegvideo: unref buffers in ff_mpeg_unref_picture on frame size changesJanne Grunau2013-05-22
| | | | | | ff_mpeg_unref_picture clears the flag indicating that the frame needs to be reallocated after a frame size change. Since we have now reference counted buffers we can unref the buffers immediately.
* configure: Enable the strtod workaround when building for bionicMartin Storsjö2013-05-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* proresdec: simplify slice component offsets handlingKostya Shishkov2013-05-21
|
* mjpegdec: validate parameters in mjpeg_decode_scan_progressive_acLuca Barbato2013-05-21
| | | | | | | Prevent out of buffer write when decoding broken samples. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* fate.sh: add support for build-only FATE instancesDiego Biurrun2013-05-21
| | | | | | | If the "build_only" variable is set in the configuration file, the FATE client will skip running tests and just compile all targets. Signed-off-by: Martin Storsjö <martin@martin.st>
* ljpeg: use the correct number of components in yuvLuca Barbato2013-05-20
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mjpeg: Validate sampling factorsLuca Barbato2013-05-20
| | | | | | | They must be non-zero. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mpegvideo: unref old current_picture before allocating a new oneJanne Grunau2013-05-19
| | | | | | Allows decoding with only three frame buffers with frame reference counting. Fixes VAAPI based decoding in vlc which uses only three frame buffers for the mpegvideo-based codecs.
* vorbis: fallback to normal division instead of crashingLuca Barbato2013-05-19
| | | | | | | | The use of ff_inverse speeds up slightly arches + compilers that do not provide a division faster than the whole machinery, such as ppc32 + gcc4.7, but has operational limits. Drop the always-enable assert and provide a fallback.
* vorbis: simplify the inner loop in setup_classifsLuca Barbato2013-05-19
|
* vorbis: use normal integer values for iteratorsLuca Barbato2013-05-19
| | | | No need to use fixed-size integers.
* vorbis: refactor vorbis_residue_decode_internalLuca Barbato2013-05-19
|
* win32: Do not use GetProcAddress when compiled for Vista+Jean-Baptiste Kempf2013-05-19
| | | | | | Instead link directly to the condition variable functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: msvc: Set the target windows version to XP if no target is setMartin Storsjö2013-05-19
| | | | | | | | | | | | MSVC 2010 (or more precisely, Windows SDK 7.0 which comes with MSVC 2010) sets _WIN32_WINNT to the constant for Windows 7 if nothing is set. This could lead to the libav configure script detecting and using functions only present in Windows 7 or newer, which in most cases isn't desired. If the caller explicitly wants this, the caller can add the _WIN32_WINNT define via --extra-cflags, setting the desired version. Signed-off-by: Martin Storsjö <martin@martin.st>
* Escape 130 FATE testKostya Shishkov2013-05-19
|
* prores: update FATE test to account for alpha plane present in the test sampleKostya Shishkov2013-05-19
|
* configure: Add basic valgrind-massif supportLuca Barbato2013-05-18
| | | | | | With the parameter --toolchain valgrind-massif, the configure script sets reasonable defaults that can be overridden as explained in the documentation.
* wavpack: validate samples size parsed in wavpack_decode_blockLuca Barbato2013-05-18
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wavpack: return meaningful errorsLuca Barbato2013-05-18
| | | | And forward those that were already meaningful.
* wavpack: K&R formatting cosmeticsLuca Barbato2013-05-18
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Escape 130 (RPL) decoderEli Friedman2013-05-18
| | | | | | | | Some fixes provided by Paul B Mahol <onemda@gmail.com> and Michael Niedermayer <michaelni@gmx.at> and me. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* prores: decode alpha plane when it's presentKostya Shishkov2013-05-18
|
* avfilter: check a malloc in avfilter_link().Anton Khirnov2013-05-17
| | | | Additionally change sizeof(type) into sizeof(var)
* avfilter.c: cosmetics, reformatAnton Khirnov2013-05-17
|
* lavfi: factorize freeing a linkAnton Khirnov2013-05-17
|
* vf_format: do not use the AVFilterFormats internals.Anton Khirnov2013-05-17
| | | | Use the formats.h API instead.
* af_aformat: cosmetics, fix indentationAnton Khirnov2013-05-17
|
* lavfi: rename AVFilterFormats.format_count to nb_formatsAnton Khirnov2013-05-17
| | | | This is more consistent with naming in the rest of Libav.
* doxy: don't sort struct members alphabeticallyAnton Khirnov2013-05-17
| | | | The declaration order is more meanigful in most cases.
* lavr doxy: add version.h to the lavr groupAnton Khirnov2013-05-17
|
* lavc doxy: add avcodec.h to the libavcodec group.Anton Khirnov2013-05-17
|
* doxy: add a section about versioning.Anton Khirnov2013-05-17
|
* lavfi doxy: add a page for lavfi.Anton Khirnov2013-05-17
|
* jpegls: check the scan offsetLuca Barbato2013-05-17
| | | | | | | Prevent an out of array bound write. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* jpegls: factorize return pathsLuca Barbato2013-05-17
|
* jpegls: return meaningful errorsLuca Barbato2013-05-17
|
* sparc: VIS mnemonicsMichael Kostylev2013-05-17
| | | | | | | | | | | | Currently, if VIS is enabled by configure, it will also be enabled at run-time regardless of its support in the hardware. Thus, masking VIS usage as it is done in vis.h by constructing binary instructions is pointless. Using normal VIS mnemonics in inline assembly allows to take advantage of automatic register allocation, gets rid of register variables, which are unsupported by suncc for SPARC, and improves code readability. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegvideo: allocate sufficiently large scratch buffer for interlaced vidJindrich Makovicka2013-05-17
| | | | | | | | | | | | | | | | MPV_decode_mb_internal needs 3 * 16 * linesize bytes of scratch buffer For interlaced content, linesize is multiplied by two after the allocation of the scratch buffer, and the dest_cr pointer ends past the buffer. This patch makes ff_mpv_frame_size_alloc allocate a total of (aligned line_size) * 2 * 16 * 3 bytes, which suffices even for the interlaced case. CC:libav-stable@libav.org Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pthread: reindentAnton Khirnov2013-05-17
|
* lavc/pthread: remove obsolete checksAnton Khirnov2013-05-17
| | | | | | Those were useful when avcodec_thread_init() was a public functions. It was deprecated and removed some time ago, so those checks are not needed anymore.
* vf_pixdesctest: make config_props work properly when called multiple times.Anton Khirnov2013-05-17
|
* vf_hqdn3d: make config_props work properly when called multiple times.Anton Khirnov2013-05-17
| | | | Do not leak all the temp buffers.
* vf_drawtext: don't leak the expressions.Anton Khirnov2013-05-17
|
* vf_crop: make config_props work properly when called multiple times.Anton Khirnov2013-05-17
| | | | Do not leak the x/y expressions.
* vf_setdar: make config_props work properly when called multiple times.Anton Khirnov2013-05-17
| | | | Do not overwrite the variable set through AVOptions.
* vf_drawbox: make config_props work properly when called multiple times.Anton Khirnov2013-05-17
| | | | Do not overwrite the variables set through AVOptions.