summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* libspeexdec: If the channel count is not valid, decode as stereo.Justin Ruggles2012-10-03
| | | | | When initialized as stereo, libspeex can decode either mono or stereo packets and will output stereo.
* libspeexdec: improve setting of Speex mode and sample rateJustin Ruggles2012-10-03
| | | | | If there is no extradata and the sample rate given by the user is not valid, decode as ultra-wideband.
* libspeex: Add a private option for enabling VADDmitry Samonenko2012-10-03
| | | | | | | Speex detects non-speech periods and encodes them with just enough bits to reproduce the background noise, aka ``comfort noise generation''. Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Test inplace decryptionMichael Niedermayer2012-10-03
| | | | | | Based on test code by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Fix CBC decryption when src==dstMichael Niedermayer2012-10-03
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Factorize testing into a separate functionMartin Storsjö2012-10-03
| | | | | | Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Refactor HAVE_ options available on the command lineDiego Biurrun2012-10-03
|
* avconv/avprobe: Add missing 'void' to exit_program() definitionDiego Biurrun2012-10-03
|
* Allow use of strncpy()Mans Rullgard2012-10-03
| | | | | | | | There are cases where strncpy() does exactly what is required. A blanket ban forces more convoluted solutions to be used in those cases and has been a cause of bugs. Signed-off-by: Mans Rullgard <mans@mansr.com>
* blowfish: Add more testsMartin Storsjö2012-10-03
| | | | | | Test inplace ECB, normal CBC and inplace CBC encryption/decryption. Signed-off-by: Martin Storsjö <martin@martin.st>
* blowfish: Fix CBC decryption with dst==srcMartin Storsjö2012-10-03
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* 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().