summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* ac3dec: output planar float onlyMans Rullgard2012-12-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* svq3: make slice type value unsigned to match svq3_get_ue_golomb return typeJanne Grunau2012-12-09
|
* configure: Have protocols select network code instead of depending on itDiego Biurrun2012-12-09
|
* rtpdec: K&R formatting and spelling cosmeticsMartin Storsjö2012-12-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Fix dropable --> droppable typoDiego Biurrun2012-12-09
|
* avio: K&R cosmetic formattingLuca Barbato2012-12-09
|
* lavf: fix arithmetic overflows in avformat_seek_file()Mans Rullgard2012-12-08
| | | | | | | | The values compared here can be more than INT64_MAX apart. Since the difference is always positive, converting to uint64_t before subtracting gives the correct result without overflows. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mjpeg: initialize input padding after unescaped buffer to zeroJanne Grunau2012-12-08
| | | | | | Fixes valgrind --undef-value-errors=yes warnings caused by valid overreads in the fate vsynth jpegls, cover-art-ape and cover-art-wv tests.
* img2: document the options availableLuca Barbato2012-12-08
|
* hls: improve options descriptionLuca Barbato2012-12-08
|
* hls: use a meaningful long nameLuca Barbato2012-12-08
|
* hls: add start_number optionLuca Barbato2012-12-08
|
* h264: check for invalid zeros_left before writingRonald S. Bultje2012-12-08
| | | | | | | Prevent an invalid write into coeffs[scantable[-1]] if zeros_left itself was an invalid VLC code (and thus -1). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* golomb: use unsigned arithmetics in svq3_get_ue_golomb()Janne Grunau2012-12-08
| | | | | | | | | | This prevents undefined behaviour of signed left shift if the coded value is larger than 2^31. Large values are most likely invalid and caused errors or by feeding random. Validate every use of svq3_get_ue_golomb() and changed the place there the return value was compared with negative numbers. dirac.c was clean, fixed rv30 and svq3.
* x86: float_dsp: fix loading of the len parameter on x86-32Justin Ruggles2012-12-07
|
* takdec: fix initialisation of LOCAL_ALIGNED arrayJosh Allmann2012-12-08
| | | | | | | When LOCAL_ALIGNED uses manual alignment initialisation is not possible. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* takdec: fix initialisation of LOCAL_ALIGNED arrayMans Rullgard2012-12-07
| | | | | | | When LOCAL_ALIGNED uses manual alignment initialisation is not possible. Signed-off-by: Mans Rullgard <mans@mansr.com>
* tak: demuxer, parser, and decoderPaul B Mahol2012-12-07
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* parser: fix large overreadsMichael Niedermayer2012-12-07
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* bitstream: add get_bits64() to support reading more than 32 bits at onceMichael Niedermayer2012-12-07
| | | | | | | Also remove a duplicate function in the MPEG-TS demuxer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* arm: detect cpu features at runtime on LinuxMans Rullgard2012-12-07
| | | | | | | | This allows compiling optimised functions for features not enabled in the core build and selecting these at runtime if the system has the necessary support. Signed-off-by: Mans Rullgard <mans@mansr.com>
* arm: rename ARMVFP config symbol to VFPMans Rullgard2012-12-07
| | | | | | | This is consistent with usual ARM nomenclature as well as with the VFPV3 and NEON symbols which both lack the ARM prefix. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: make _inline arch ext symbols depend on inline_asmMans Rullgard2012-12-07
| | | | | | This makes --disable-inline-asm work as expected. Signed-off-by: Mans Rullgard <mans@mansr.com>
* arm: use HAVE*_INLINE/EXTERNAL macros for conditional compilationMans Rullgard2012-12-07
| | | | | | These macros reflect the actual capabilities required here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: check inline and external asm support for extensionsMans Rullgard2012-12-07
| | | | | | | This tests instruction set support in both inline and external asm. If both fail, the base config option is disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: add check_insn functionMans Rullgard2012-12-07
| | | | | | | | The check_insn function tests an instruction in both inline asm and standalone assembly, and sets _external/_inline config properties accordingly. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: clean up check_inline_asm and check_as functionsMans Rullgard2012-12-07
| | | | | | | | | | | | | | | The check_inline_asm function should check the actual C compiler, not the one used for assembly files. Usually these are the same, but they might be different, typically when using a compiler other than gcc. The check_as should, as its name suggests, test the type of input the AS command is used with, i.e. a standalond assembly (.S) file. Finally, check for gnu assembler using the modified check_as as this reflects actual usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: set fast_clz and fast_unaligned in cpuflags sectionMans Rullgard2012-12-07
| | | | | | | | These are properties of the targeted core and do not depend on specific assembly support in the toolchain which if missing will render the controlling options here disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: detect toolchain default arch versionMans Rullgard2012-12-07
| | | | | | | | | | | | | Probe for the toolchain default architecture version if no --cpu flag is present or an unknown cpu is specified. Works with gcc, clang and armcc. This allows configuring based on the arch version even if it is not explicitly specified to configure. It also causes an explicit -march flag to be added to CFLAGS and ASFLAGS, which in turn lets us do proper instruction set tests with the assembler. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: do not bypass cpuflags section if --cpu not givenMans Rullgard2012-12-07
| | | | | | | This will allow arch-specific ways of determining the target variant when none is specified on the command line. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: arm: indicate required cpu features for optimised funcsMans Rullgard2012-12-07
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* snow: fix build after 594d4d5df3c70404168701dd5c90b7e6e5587793Anton Khirnov2012-12-07
|
* arm: fix use of uninitialised value in ff_fft_fixed_init_arm()Mans Rullgard2012-12-07
| | | | | | | | | When initialising an FFTContext for a plain FFT, mdct_bits is not set and can contain a garbage value. Since nbits is always valid and for MDCT operation is mdct_bits - 2 checking this instead avoids using an uninitialised value while having the same effect. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avpicture: Don't assume a valid pix fmt in avpicture_get_sizeMartin Storsjö2012-12-07
| | | | | | | | | When called from the v4l2 input device, pix_fmt can be AV_PIX_FMT_NONE (for jpeg formats). Before 50ba57e0, this wasn't an issue for avpicture_get_size, but after that commit, this lead to crashes. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: add a pointer for weighted prediction temporary bufferJanne Grunau2012-12-07
| | | | | Reusing MpegEncContext's obmc_scratchpad for this becomes a mess with adaptive frame-mt.
* h264: check sps.log2_max_frame_num for validityJanne Grunau2012-12-07
| | | | | | | Fixes infinite or long taking loop in frame num gap code in the fuzzed sample bipbop234.ts_s223302. CC: libav-stable@libav.org
* mov: validate number of DataReferenceBox entries against box sizeJanne Grunau2012-12-07
| | | | | Avoids a 2G memory allocation and parsing of random data in mov_read_dref(). The fuzzed sample sample.mp4_s224424 triggers this.
* mov: compute avg_frame_rate only if duration is knownJanne Grunau2012-12-07
| | | | Fixes an assert in fuzzed sample sample.mp4_s265930.
* flac: change minimum and default of lpc_passes option to 1Janne Grunau2012-12-07
| | | | | | Avoid use of uninitialized and uncomputed linear least square models during ff_lpc_calc_coefs() for FF_LPC_TYPE_CHOLESKY. Fixes running make fate-flac-16-lpc-cholesk with valgrind --undef-value-errors=yes.
* fate: dpcm: Add dependenciesDiego Biurrun2012-12-07
|
* SBR DSP x86: implement SSE sbr_hf_genChristophe Gisquet2012-12-07
| | | | | | | | | | | | Start and end index are multiple of 2, therefore guaranteeing aligned access. Also, this allows to generate 4 floats per loop, keeping the alignment all along. Timing: - 32 bits: 326c -> 172c - 64 bits: 323c -> 156c Signed-off-by: Diego Biurrun <diego@biurrun.de>
* AAC SBR: use AVFloatDSPContext's vector_fmulChristophe Gisquet2012-12-07
| | | | | | Around 5% speedup on the code block using 'vector_fmul_add's. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* fate: image: Add dependenciesDiego Biurrun2012-12-07
|
* Changelog: add an entry for deprecating the avconv -vol optionJustin Ruggles2012-12-06
|
* x86: float_dsp: fix compilation of ff_vector_dmul_scalar_avx() on x86-32Justin Ruggles2012-12-06
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* h264: slice-mt: check master context for valid current_picture_ptrJanne Grunau2012-12-05
| | | | | | Fixes errors in slice based multithreading introduced in 0b300daad2f5. CC: libav-stable@libav.org
* h264: slice-mt: get last_pic_dropable from master contextJanne Grunau2012-12-05
| | | | | | | Fixes fate-h264-conformance-cvnlfi2_sony_h and smllwebdl.mkv from https://github.com/OpenELEC/OpenELEC.tv/issues/1557 . CC: libav-stable@libav.org
* alacenc: add support for multi-channel encodingJustin Ruggles2012-12-05
|
* pixdesc: fix yuva 10bit bit depthPaul B Mahol2012-12-05
| | | | | | | It was wrongly set as the yuva 16bit one. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv: deprecate the -vol optionJustin Ruggles2012-12-05
| | | | | Remove the code for volume scaling in avconv.c and instead auto-insert a volume filter into the beginning of the filter chain.