summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* oggdec: do not fall back on binary search in the generic code.Anton Khirnov2013-07-02
| | | | | Binary search is already attempted in the format-specific seek function, so the fallback is only reached if binary search failed already.
* lls/x86: use 3-operator vaddpd in ADDPD_MEMLoren Merritt2013-07-02
| | | | | | Fixes build with yasm-1.1 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Revert "indeo5: reject negative motion vectors"Luca Barbato2013-07-01
| | | | | | Negative motion vectors are possible. This reverts commit 1194a410807bac3eafbeb632578b937656d273e7.
* indeo: check for reference when inheriting mvsLuca Barbato2013-07-01
| | | | | | | The same is done already for qdelta. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo5: reject negative motion vectorsLuca Barbato2013-07-01
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo: use proper error codeLuca Barbato2013-07-01
|
* indeo: Properly forward the error codesLuca Barbato2013-07-01
| | | | | | | | If the tile data size does not match the buffer size it did not return an AVERROR_INVALIDDATA causing futher corruption later. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* x86: lpc: fix a segfault in av_evaluate_lls_sse2()Loren Merritt2013-06-30
|
* mjpeg: Check the unescaped size for overflowsLuca Barbato2013-06-30
| | | | | | | | And contextually check init_get_bits success and fix the reporting message. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mjpeg: Move code out of else branchLuca Barbato2013-06-30
| | | | Simplify the control flow and spare some vertical space.
* avconv: Don't include colorspace.hDerek Buitenhuis2013-06-29
| | | | | | | The header is private, and avconv.c doesn't use it for anything. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* wmapro: error out on impossible scale factor offsetsLuca Barbato2013-06-29
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmapro: check the min_samples_per_subframeLuca Barbato2013-06-29
| | | | | | | Must be at least WMAPRO_BLOCK_MIN_SIZE. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pictor: use the correct logging contextLuca Barbato2013-06-29
| | | | Broken in 6d97484d72e33f7dde9493a9ead1a72e2f029605
* lpc: use levinson for the first pass of multipass choleskyLoren Merritt2013-06-29
| | | | | | | Levinson is faster, and cholesky is only needed if we want to apply different weights to different samples, which doesn't happen on the first pass. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86: lpc: simd av_evaluate_llsLoren Merritt2013-06-29
| | | | | | 1.5x-1.8x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86: lpc: simd av_update_llsLoren Merritt2013-06-29
| | | | | | 4x-6x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lpc: use function pointers, in preparation for asmLoren Merritt2013-06-29
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lpc: remove "decay" argumentLoren Merritt2013-06-29
| | | | | | We never used the rolling-average mode, and this makes av_update_lls 15% faster. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* wmapro: check num_vec_coeffs against the actual available bufferLuca Barbato2013-06-28
| | | | | | | Prevent yet another buffer overwrite. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmapro: return early on unsupported conditionLuca Barbato2013-06-28
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmapro: make sure there is room to store the current packetLuca Barbato2013-06-28
| | | | | | | Prevent horrid and hard to trace struct overwrite. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lavc: move put_bits_left in put_bits.hLuca Barbato2013-06-28
|
* aac: return meaningful errorsLuca Barbato2013-06-27
|
* aac: K&R formatting cosmeticsLuca Barbato2013-06-27
|
* configure: Do not omit frame pointers for msvc/icl debug buildsAlex Smith2013-06-24
| | | | | | | Because O1 or O2 are required to build libav with msvc/icl, this must be explicitly set instead of just omitting Oy. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* configure: Do not explicitly set Oy for msvc/iclAlex Smith2013-06-24
| | | | | | | It is implied by O1 or O2, both of which are required to build libav with msvc/icl. Silences warnings when targeting x64 with icl. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fate: Add Canopus Lossless YUY2 testDerek Buitenhuis2013-06-24
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cllc: Use outbuf in RGB and ARGB functionsDerek Buitenhuis2013-06-24
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cllc: Implement YUV supportDerek Buitenhuis2013-06-24
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/platform: Add info about ICLDerek Buitenhuis2013-06-24
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavf: don't abort if both encoder and muxer aspect ratios are not setRafaël Carré2013-06-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskaenc: restore compatibility with non referenced AVPacketRafaël Carré2013-06-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: Add option to encode MPEG-2 AAC with libfdk-aacKieran Kunhya2013-06-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* configure: whitespace cosmeticsDiego Biurrun2013-06-23
|
* configure: Simplify an expression with enabled_all.Diego Biurrun2013-06-23
|
* configure: More msvc/icl combiningAlex Smith2013-06-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* ogg: relax demuxer conformance checksLuca Barbato2013-06-22
| | | | | Some samples in the wild are missing headers that are expected by the specification but in practice do not affect decoding.
* avconv: report the error for codec open failureLuca Barbato2013-06-22
| | | | | External codec may have corner case reason to fail at init, better report them instead having the user wonder.
* avconv: drop additional strerror fallbackLuca Barbato2013-06-22
| | | | strerror_r is called by av_strerror already.
* lavc: free the padded last frame during audio encoding properlyAnton Khirnov2013-06-20
|
* vsrc_movie: do not free avoption variables in uninit()Anton Khirnov2013-06-20
| | | | | The generic code frees them as well. Since av_free was used to free them instead of av_freep, this would result in a double free.
* configure: Remove unneeded icl inline compatibility definitionAlex Smith2013-06-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: switch ff_default_get_audio_buffer() to av_frame_get_buffer()Anton Khirnov2013-06-18
| | | | | This simplifies the code and avoids using libavcodec-specific avcodec_fill_audio_frame().
* lavfi: math typo in interlace filterVittorio Giovara2013-06-17
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* smacker: check frame size validityKostya Shishkov2013-06-16
| | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* smacker: pad the extradata allocationKostya Shishkov2013-06-16
| | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* smacker: check the return value of smacker_decode_treeKostya Shishkov2013-06-16
| | | | | | | | | Also prevent a memory leak. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* smacker: fix an off by one in huff.length computationKostya Shishkov2013-06-16
| | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* utils: fix avcodec_flush_buffers pre-reference counting compatibilityJanne Grunau2013-06-16
| | | | | | | | | | | | The to_free AVframe must be freed just like the other ones. Indeed, the calling application may expect all frames to be released. (This regression caused use-after-free in VLC with hwaccel.) Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>