summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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>
* fate: add vorbiscomment cover art testJames Almer2013-10-15
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* FATE: use proper comparison mode in the lavr testsAnton Khirnov2013-10-15
|
* tiny_psnr: switch f32 handling to floating pointAnton Khirnov2013-10-15
| | | | Also add support for f64.
* bitstream: Check the result of av_malloc()Diego Biurrun2013-10-15
|
* cavs: more K&R formatting cosmeticsDiego Biurrun2013-10-15
|
* mpegaudio_tablegen: Don't use llrintDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on it being present on all systems, and you cannot include libm.h in a host tool, so just hard code a baseline implementation. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cos_tablegen: Don't use lrintDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on it being present on all systems, and you cannot include libm.h in a host tool, so just hard code a baseline implementation. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* tablegen: Don't use cbrtf in host toolsDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on them being present on all systems, and you cannot include libm.h in a host tool, so just hard code baseline implementations. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* tableprint: Fix use of a size_t print with MSVCDerek Buitenhuis2013-10-15
| | | | | | | %zu was introduced in C99, so MSVC has its own way to handle it, namely %Iu. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* http: Check the auth string contents and not only the pointerMichael Niedermayer2013-10-14
| | | | | | | This makes sure we don't send the Except: 100-continue header if no authentication credentials have been provided. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: more AVX2 frameworkJason Garrett-Glaser2013-10-14
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: FMA3/4 SupportJason Garrett-Glaser2013-10-14
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: Remove our FMA4 supportDerek Buitenhuis2013-10-14
| | | | | | | | This is so we can sync to x264's version of FMA4 support. This partialy reverts commit 79687079a97a039c325ab79d7a95920d800b791f. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: Use VEX-encoded instructions in AVX functionsHenrik Gramner2013-10-14
| | | | | | | | | | | | | Automatically use VEX-encoding in AVX/AVX2/XOP/FMA3/FMA4 functions for all instructions that exists in a VEX-encoded version. This change makes it easier to extend existing code to use AVX2. Also add support for AVX emulation of a few instructions that were missing before. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avresample/x86: Switch operand order for mulpsDerek Buitenhuis2013-10-14
| | | | | | | | With the forthcoming VEX instruction emulation, mulps must have only the third operand point to memory, as this is what vmulps expects. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* rtmp: Allocate the prev_pkt arrays dynamicallyMartin Storsjö2013-10-14
| | | | | | | | | | Normally, all channel ids are between 0 and 10, while they in uncommon cases can have values up to 64k. This avoids allocating two arrays for up to 64k entries (at a total of over 6 MB in size) each when most of them aren't used at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* cavs: Check for negative cbpLuca Barbato2013-10-13
| | | | | | Sample-Id: 00000647-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cavs: Return meaningful error valuesLuca Barbato2013-10-13
|
* cavs: K&R formatting cosmeticsLuca Barbato2013-10-13
|
* http: Support auth method detection for POSTMartin Storsjö2013-10-13
| | | | | | | | | | | | | | | | | | | | | | | | Inspired by a patch by Jakob van Bethlehem. But instead of doing an empty POST first to trigger the WWW-Authenticate header (which would succeed if no auth actually was required), add an Expect: 100-continue header, which is meant to be used exactly for cases like this. The header is added if doing a post, and the user has specified authentication but we don't know the auth method yet. Not all common HTTP servers support the Expect: 100-continue header, though, so we only try to use it when it really is needed. The user can request it to be added for other POST requests as well via an option - which would allow the caller to know immediately that the POST has failed (e.g. if no auth was provided but the server required it, or if the target URL simply doesn't exist). This is only done for write mode posts (e.g. posts without pre-set post_data) - for posts with pre-set data, we can just redo the post if it failed due to 401. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Add an option for forcing basic authenticationMartin Storsjö2013-10-13
| | | | | | | | | | | | | The default is to autodetect the auth method. This does require one extra request (and also closing and reopening the http connection). For some cases such as HTTP POST, the autodetection is not handled properly (yet). No option is added for digest, since this method requires getting nonce parameters from the server first and can't be used straight away like Basic. Signed-off-by: Martin Storsjö <martin@martin.st>
* pthread: Fix deadlock during thread initializationDerek Buitenhuis2013-10-13
| | | | | | | | | | Sometimes, if pthread_create() failed, then pthread_cond_wait() could accidentally be called in the worker threads after the uninit function had already called pthread_cond_broadcast(), leading to a deadlock. Don't call pthread_cond_wait() if c->done is set. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* indeo4: Check the inherited quant_matLuca Barbato2013-10-13
| | | | | | | | Invalidate it if not supported. Sample-Id: 00000262-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Check the block size if reusing the band configurationLuca Barbato2013-10-13
| | | | | | | Sample-Id: 00000287-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org