summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avconv: Handle audio sync for non-S16 sample formats.Alex Converse2011-11-28
| | | | Also fix reporting of the number of samples added/dropped.
* pthread: don't increment index on zero-sized packets.Aaron Colwell2011-11-28
| | | | | | | | The next call to decode() will update from an invalid index, which will either lead to a memcpy() where dest==src (2 threads), or lead to a crash (>2 threads). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* adtsenc: Check frame size.Alex Converse2011-11-28
| | | | | | Inspired by work from: Michael Niedermayer <michaelni@gmx.at>. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* txd: Fix order of operations.Alex Converse2011-11-28
|
* APIchanges: fill in some blanksMans Rullgard2011-11-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* timer: fix misspelling of "decicycles"Mans Rullgard2011-11-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.Diego Biurrun2011-11-28
|
* indeo3: cosmeticsKostya Shishkov2011-11-28
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* md5proto: Fix order of operations.Alex Converse2011-11-27
|
* dca: Replace oversized unused get_bits() with skip_bits_long().Alex Converse2011-11-27
|
* vc1: use an enum for Frame Coding ModeLuca Barbato2011-11-28
| | | | Document it a little and possibly fix a bug in dxva2_vc1.
* doc: cleanup filter sectionLuca Barbato2011-11-28
| | | | Use the @command{} tag when needed and cleanup the examples.
* indeo3: error out if no motion vector is set.Aneesh Dogra2011-11-27
| | | | | | This fixes a crash on a corrupt bitstream (bugzilla #93). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* x86inc: Flag shufps as an floating-point instruction for the AVX emulation code.Vitor Sessak2011-11-27
| | | | | | | Without this, code like "shufps m0, m1, m2, 0xaa" would not work in CPUs not supporting SSE2. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegaudio: do not use init_static_data() for initializing tables.Justin Ruggles2011-11-27
| | | | | It is called once for each mpegaudio codec that is registered, which adds significant overhead.
* musepack: fix signed shift overflow in mpc_read_packet()Mans Rullgard2011-11-27
| | | | | | | Using an unsigned variable avoids problems with overflows. There is further no need for a 64-bit intermediate here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mov: Make format string match variable type.Alex Converse2011-11-26
|
* wmavoice: Make format string match variable type.Alex Converse2011-11-26
|
* vc1: select interlaced scan table by FCM elementKostya Shishkov2011-11-26
| | | | | | | Interlaced videos can contain progressive frames too and now wrong scantable is selected for them. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Generalize RIFF INFO tag support; support reading INFO tag in wavVictor Vasiliev2011-11-26
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* pthread: track thread existence in a separate variable.Cheng Sun2011-11-26
| | | | | | | | This fixes a compile error on mingw32 when using p->thread directly (as if it were a pointer) to track thread existence, because the type is opaque and may be a non-pointer. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: fix signed overflow in yuv2mono_X_c_templateMans Rullgard2011-11-26
| | | | | | | | As old bits are shifted out of the accumulator, they cause signed overflows when they reach the end. Making the variable unsigned fixes this. Signed-off-by: Mans Rullgard <mans@mansr.com>
* snow: fix integer overflowsMans Rullgard2011-11-26
| | | | | | | The way these values are used, they should have an unsigned type. A similar change was made for mpegvideo in cb66847. Signed-off-by: Mans Rullgard <mans@mansr.com>
* svq1enc: remove stale altivec-related hackMans Rullgard2011-11-26
| | | | | | | altivec.h is no longer (indirectly) included, so this hack is not needed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* snow: fix signed overflow in byte to 32-bit replicationMans Rullgard2011-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* adx: rename ff_adx_decode_header() to avpriv_adx_decode_header()Justin Ruggles2011-11-26
| | | | | It is used by the ADX decoder, and therefore needs to be exported in order to work with shared libs.
* avformat: add CRI ADX format demuxerJustin Ruggles2011-11-26
|
* adx: add an ADX parser.Justin Ruggles2011-11-26
| | | | | | This simplifies the decoder so it doesn't have to process an in-packet header or handle arbitrary-sized packets. It also fixes decoding of files with large headers.
* adx: move header decoding to ADX common codeJustin Ruggles2011-11-26
|
* adx: calculate the number of blocks in a packetJustin Ruggles2011-11-26
|
* adx: define and use 2 new macro constants BLOCK_SIZE and BLOCK_SAMPLESJustin Ruggles2011-11-26
|
* adx: check for unsupported ADX formatsJustin Ruggles2011-11-26
|
* adx: simplify encoding by using put_sbits()Justin Ruggles2011-11-26
|
* adx: calculate correct LPC coeffsJustin Ruggles2011-11-26
| | | | | | Instead of using fixed coefficients, the correct way is to calculate the coefficients using the highpass cutoff frequency from the ADX stream header and the sample rate.
* adx: use 12-bit coefficients instead of 14-bit to avoid integer overflowJustin Ruggles2011-11-26
|
* adx: simplify adx_decode() by using get_sbits() to read residual samplesJustin Ruggles2011-11-26
|
* adx: fix the data offset parsing in adx_decode_header()Justin Ruggles2011-11-26
| | | | | first 2 bytes are 0x80, 0x00. offset is only 16-bit. this is according to format descriptions on multimedia wiki and wikipedia.
* adx: remove unneeded post-decode channel interleavingJustin Ruggles2011-11-26
| | | | instead interleave channels while decoding
* adx: validate header valuesJustin Ruggles2011-11-26
|
* adx: cosmetics: general pretty-printing and comment clean-upJustin Ruggles2011-11-26
|
* adx: remove useless commentsJustin Ruggles2011-11-26
|
* adx: change short to int16_tJustin Ruggles2011-11-26
|
* adx: rename struct PREV to ADXChannelStateJustin Ruggles2011-11-26
|
* dnxhdenc: fix signed overflowsMans Rullgard2011-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dv: simplify bitstream splicing in dv_decode_ac()Mans Rullgard2011-11-26
| | | | | | This is simpler and fixes some overflow checker warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* s3tc: fix shift overflow by using unsigned constantMans Rullgard2011-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* svq1enc: fix signed multiplication overflowMans Rullgard2011-11-26
| | | | | | | | This multiplication can overflow the signed range but not the unsigned. After right-shifting it will thus fit in the signed range again. Signed-off-by: Mans Rullgard <mans@mansr.com>
* svq1dec: use sign_extend()Mans Rullgard2011-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv34: fix signed multiplication overflowMans Rullgard2011-11-26
| | | | | | | Multiply by unsigned 0x01010101 to replicate bytes into 32-bit word. Signed-off-by: Mans Rullgard <mans@mansr.com>
* [PATCH] Fix crash when initializing multi-threaded decoding for corrupted file.Cheng Sun2011-11-26
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>