summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* blowfish: Factorize testing into a separate functionMartin Storsjö2012-10-03
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ARM: use numeric ID for Tag_ABI_align_preservedMans Rullgard2012-10-03
| | | | | | Some old assemblers still in use do not support named tags. Signed-off-by: Mans Rullgard <mans@mansr.com>
* segment: Pass the interrupt callback on to the chained AVFormatContext, tooMartin Storsjö2012-10-02
| | | | | | | | This might not be needed at the moment, but it's good practice to pass it to all chained AVFormatContexts, if it would happen to be used there at a later point. Signed-off-by: Martin Storsjö <martin@martin.st>
* ARM: bswap: drop armcc version of av_bswap16()Mans Rullgard2012-10-02
| | | | | | | This function causes several versions of armcc to miscompile code, and the performance impact is small. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: set Tag_ABI_align_preserved in all asm filesMans Rullgard2012-10-02
| | | | | | | | All our ARM asm preserves alignment so setting this attribute in a common location is simpler. This removes numerous warnings when linking with armcc. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: fix Thumb PIC on AppleMans Rullgard2012-10-02
| | | | | | | LDR with register offset and PC as base register is not available in the Thumb instruction set so the addition must be done separately. Signed-off-by: Mans Rullgard <mans@mansr.com>
* nut: add do {} while (0) to GET_VLuca Barbato2012-10-02
| | | | Make it consistent with the other function-like macros.
* tiffenc: Check av_malloc() results.Alex Converse2012-10-01
|
* tiffenc: Simplify pixel format setup using AVPixFmtDescriptor.Alex Converse2012-10-01
|
* Use atexit() instead of defining a custom exit_program() interface.Diego Elio Pettenò2012-10-01
|
* msvc: Fix detection of VFW & Avisynth required libsDerek Buitenhuis2012-10-01
| | | | | | It should be vfw32.lib with MSVC. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat: refactor avformat_write_headerLuca Barbato2012-10-01
| | | | Split away option settings, sanity checks and general setup.
* avformat: refactor avformat_write_headerLuca Barbato2012-10-01
| | | | Mostly cosmetic changes adding some intermediate to shorten the lines.
* avformat: split muxing functions from util.cLuca Barbato2012-10-01
|
* adpcmdec: set AVCodec.sample_fmtsJustin Ruggles2012-10-01
|
* twinvq: use planar sample formatJustin Ruggles2012-10-01
|
* ralf: use planar sample formatJustin Ruggles2012-10-01
|
* mpc7/8: use planar sample formatJustin Ruggles2012-10-01
|
* iac/imc: use planar sample formatJustin Ruggles2012-10-01
|
* dcadec: use float planar sample formatJustin Ruggles2012-10-01
|
* cook: use planar sample formatJustin Ruggles2012-10-01
|
* atrac3: use float planar sample formatJustin Ruggles2012-10-01
|
* apedec: output in planar sample formatJustin Ruggles2012-10-01
|
* 8svx: use planar sample formatJustin Ruggles2012-10-01
|
* avconv: improve sample format negotiation for decoder requestJustin Ruggles2012-10-01
| | | | | This takes into account planar vs. packed when comparing to find the closest sample format match.
* Opus encoder using libopusNathan Caldwell2012-10-01
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegts: Drop pointless casting of hex_dump_debug argumentsDiego Biurrun2012-10-01
|
* avformat: const correctness for av_hex_dump / av_hex_dump_logDiego Biurrun2012-10-01
|
* wmadec: Adjust debug printf argument length modifierDiego Biurrun2012-10-01
|
* avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-01
|
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-01
|
* avcodec: Drop some silly commented-out av_log() invocationsDiego Biurrun2012-10-01
|
* avformat: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-01
|
* avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵Diego Biurrun2012-10-01
| | | | statements
* Remove some silly disabled code.Diego Biurrun2012-10-01
|
* ac3dec: ensure get_buffer() gets a buffer for the correct number of channelsJustin Ruggles2012-10-01
| | | | | | | | | | | If there is an error during frame parsing, but AVCodecContext.channels was changed and AC3DecodeContext.out_channels was set previously, the two may not match. Fixes CVE-2012-2802 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* h264: avoid stuck buffer pointer in decode_nal_unitsJindřich Makovička2012-09-29
| | | | | | | | | | | | | | | | | | When decode_nal_units() previously encountered a NAL_END_SEQUENCE, and there are some junk bytes left in the input buffer, but no start codes, buf_index gets stuck 3 bytes before the end of the buffer. This can trigger an infinite loop in the caller code, eg. in try_decode_trame(), as avcodec_decode_video() then keeps returning zeroes, with 3 bytes of the input packet still available. With this change, the remaining bytes are skipped so the whole packet gets consumed. CC:libav-stable@libav.org Signed-off-by: Jindřich Makovička <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpeg12: fix the semantics of the int* parameter of decode()Anton Khirnov2012-09-29
| | | | It is got_output, not data_size.
* mpeg12: move mpeg_decode_frame() lowerAnton Khirnov2012-09-29
| | | | Avoids a forward declaration of decode_chunks().
* avsdec: Set dimensions instead of relying on the demuxer.Michael Niedermayer2012-09-29
| | | | | | | | | | | The decode function assumes that the video will have those dimensions. Fixes CVE-2012-2801 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmalosslessdec: Reset put bit buffer when num_saved_bits is reset.Michael Niedermayer2012-09-29
| | | | | | | | | Fixes CVE-2012-2799 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* dfa: improve boundary checks in decode_dds1()Anton Khirnov2012-09-29
| | | | | | Fixes CVE-2012-2798 CC:libav-stable@libav.org
* wmalosslessdec: Fix reading too many bits in decode_channel_residues()Anton Khirnov2012-09-29
| | | | | | | | | | Fixes a part of CVE-2012-2795 CC:libav-stable@libav.org Based on a patch by Michael Niedermayer <michaelni@gmx.at> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* wmalosslessdec: fix a get_bits(0) in decode_ac_filterMichael Niedermayer2012-09-29
| | | | | | | | | Fixes a part of CVE-2012-2795 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmalosslessdec: make MCLMS arrays big enough for what is written into them.Michael Niedermayer2012-09-29
| | | | | | | | | Fixes a part of CVE-2012-2795 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* indeo4/5: check empty tile size in decode_mb_info().Anton Khirnov2012-09-29
| | | | | | | | | | | | | This prevents writing into a too small array if some parameters changed without the tile being reallocated. Based on a patch by Michael Niedermayer <michaelni@gmx.at> Fixes CVE-2012-2800 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* ivi_common: make ff_ivi_process_empty_tile() static.Anton Khirnov2012-09-29
| | | | It's not used outside of ivi_common.c
* indeo5: check tile size in decode_mb_info().Michael Niedermayer2012-09-29
| | | | | | | | | | | | This prevents writing into a too small array if some parameters changed without the tile being reallocated. Fixes CVE-2012-2794 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* indeo3: fix out of cell write.Anton Khirnov2012-09-29
| | | | | | | | Fixes CVE-2012-2776. CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* wmalosslessdec: increase channel_coeffs/residues sizeAnton Khirnov2012-09-29
| | | | | | Fixes CVE-2012-2792 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind