summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* h263: Check init_get_bits return valueMichael Niedermayer2013-10-28
| | | | | | | And use init_get_bits8 to check for integer overflows while at it. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h263: Return meaningful errorsLuca Barbato2013-10-28
|
* configure: Disable -Wmaybe-uninitialized by defaultLuca Barbato2013-10-28
| | | | | It is by definition unreliable and causes pointless noise on valid code.
* AVOptions: do not range check flag options.Anton Khirnov2013-10-27
| | | | | | | It does not make sense in the vast majority of use cases, no currently defined AV_OPT_TYPE_FLAGS options in Libav set the range to anything nontrivial, and many of those get it wrong (the "correct" range is INT_MIN to INT_MAX so that the builtin constant "all" works).
* h264_ps: when parsing a VUI fails, only abort when explode is setAnton Khirnov2013-10-27
| | | | | | A VUI doesn't contain anything strictly necessary for decoding. Apparently there are many samples with truncated VUIs in the wild, this commit should allow decoding them.
* FATE: add bitexact sws flags to the fieldorder testPaul B Mahol2013-10-27
| | | | | | swscale is called for the 420 to 422 conversion Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: drop a now useless variableAnton Khirnov2013-10-27
|
* avframe: mark source frame const in _ref and _cloneVittorio Giovara2013-10-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmvideo: fix uninitialized variable use in mm_decode_intraVittorio Giovara2013-10-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavr: check that current_buffer is not NULL before using itJustin Ruggles2013-10-27
| | | | | | | Fixes a segfault during resampling when compiled with -DDEBUG. Fixes all fate-lavr-resample tests with -DDEBUG. CC:libav-stable@libav.org
* fft-test: add a missing #includeAnton Khirnov2013-10-26
| | | | stdio.h needed for printf since 7177df90a043bd59e172843fc7cb9e767080ea12
* mem: do not check for negative sizeVittorio Giovara2013-10-26
| | | | | | size_t is guaranteed to be unsigned Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fate: aac: Add test for AAC-ELDAlex Converse2013-10-25
|
* aacdec: Fix calls to avpriv_report_missing_feature().Alex Converse2013-10-25
| | | | It does not take log level as an argument.
* libavutil: x86: Add AVX2 capable CPU detection.Kieran Kunhya2013-10-25
| | | | | | Patch based on x264's AVX2 detection Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fft-test: Remove possibility of returning restricted exit codeDerek Buitenhuis2013-10-25
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dct-test: Remove possibility of returning a restricted exit codeDerek Buitenhuis2013-10-25
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* base64-test: Remove posibility of returning restricted exit codesDerek Buitenhuis2013-10-25
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* tree-test: Don't return restricted exit codesDerek Buitenhuis2013-10-24
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* golomb: reduce scope of a few variablesVittorio Giovara2013-10-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avfilter: x86: Port gradfun filter optimizations to yasmDaniel Kang2013-10-23
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* golomb: K&R formatting cosmeticsVittorio Giovara2013-10-23
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h263: K&R formatting cosmeticsLuca Barbato2013-10-23
| | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avstring-test: Mark pointer passed to av_free() as non-constDiego Biurrun2013-10-23
| | | | libavutil/avstring.c:278:9: warning: passing argument 1 of ‘av_free’ discards ‘const’ qualifier from pointer target type
* mpegvideo: Drop a faulty assertLuca Barbato2013-10-23
| | | | | | | That check is easily reachable by faulty input. CC:libav-stable@libav.org Reported-by: Torsten Sadowski <tsadowski@gmx.net>
* avfilter: Fix typo in Loren's email addressDiego Biurrun2013-10-23
|
* movenc: Add an F4V muxerClément Bœsch2013-10-23
| | | | | | | | F4V is Adobe's mp4/iso media variant, with the most significant addition/change being supporting other flash codecs than just aac/h264. Signed-off-by: Martin Storsjö <martin@martin.st>
* aac: Add support for Enhanced AAC Low Delay (ER AAC ELD).Alex Converse2013-10-23
| | | | | This does not include support for LD SBR, epTool, data resilience, nor the 960 transform family.
* aacdec: Use avpriv_report_missing_feature() instead of custom logging.Alex Converse2013-10-23
|
* nut: Fix unchecked allocationsDerek Buitenhuis2013-10-22
| | | | | CC: libav-stable@libav.org Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* pthread: Avoid crashes/odd behavior caused by spurious wakeupsDerek Buitenhuis2013-10-22
| | | | | | This is similar to 5152196b2b47d446d9a509b9bfb318daa26a1f2b. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fate: add fieldorder filter testVittorio Giovara2013-10-22
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_fieldorder: log when processing is skippedVittorio Giovara2013-10-22
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264_parser: Use ff_h264_reset_sei()Yusuke Nakamura2013-10-22
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264_parser: Fix order of operationsMichael Niedermayer2013-10-22
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: Accept cpuflags optionLuca Barbato2013-10-22
| | | | | | Quite useful for debugging. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avio: Use AVERROR_PROTOCOL_NOT_FOUNDLuca Barbato2013-10-21
| | | | | | | | When the protocol is missing ffurl_alloc() should return AVERROR_PROTOCOL_NOT_FOUND instead of AVERROR(ENOENT). Bug-Id: 577 CC: libav-stable@libav.org
* pthread: Avoid spurious wakeupsBen Jackson2013-10-21
| | | | | | | | | | | | | | | pthread_wait_cond can wake up unexpectedly (Wikipedia: Spurious_wakeup). The FF_THREAD_SLICE thread mechanism could spontaneously execute jobs or allow the caller of avctx->execute to return before all jobs were complete. Test both cases to ensure the wakeup is real. Signed-off-by: Ben Jackson <ben@ben.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* fate: vpx: Remove one redundant $(eval) invocationDiego Biurrun2013-10-19
|
* wtv: Seek by sector properlyLuca Barbato2013-10-18
| | | | | | | | | Use an helper function to seek by sector to avoid possible mistakes due shifting by WTV_SECTOR_BITS a 32bit integer. Contrary to common intuition, a 32 bit integer left shifted by a 64 bit integer does not promote the 32 bit integer to 64 bit before shifting.
* fate: Increase the tolerance in the lavr testsMartin Storsjö2013-10-17
| | | | | | | A few fate instances on OS/2, OpenBSD, FreeBSD and IA64 linux currently still fail a few tests with a maxdiff of 6. Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: aac: Add test for AAC-LDDiego Biurrun2013-10-17
|
* mem: Make av_strdup allocate using av_reallocMartin Storsjö2013-10-16
| | | | | | | | | This makes sure that pointers from av_strdup are reallocable, which is used in av_dict_set if the AV_DICT_APPEND flag is set. Nothing should rely on pointers from av_strdup being aligned. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: Move 8x8 in a separate functionLuca Barbato2013-10-15
|
* mpegvideo: Move obmc in a separate functionLuca Barbato2013-10-15
|
* ffv1: Assume bitdepth 0 means 8bitLuca Barbato2013-10-15
| | | | | CC: libav-stable@libav.org Reported-by: debian/726189
* mpegvideo: K&R formatting cosmeticsLuca Barbato2013-10-15
|
* lavc: Convert some remaining strides to ptrdiff_tRonald S. Bultje2013-10-15
|
* h264_parser: Fix POC parsing for the case where MMCO_RESET is present.Yusuke Nakamura2013-10-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264_parser: Fix POC parsing for the case where MMCO_RESET is absent.Yusuke Nakamura2013-10-15
| | | | | | | The prev_ values were not set after parsing POC. Increase length of the buffer decoded to parse enough safely. Signed-off-by: Anton Khirnov <anton@khirnov.net>