summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* rtpdec: Add support for G726 audioMiroslav Slugeň2011-11-30
| | | | | | | | | | | This requires using a separate init function, since there isn't necessarily any fmtp lines for this codec, so parse_sdp_a_line won't be called. Incorporating it with the alloc function wouldn't do either, since it is called before the full rtpmap line is parsed (where the sample rate is extracted). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Add an init function that can do custom codec context initializationMartin Storsjö2011-11-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: make copy_tb on by default.Anton Khirnov2011-11-30
| | | | | | | I.e. on streamcopy set output codec timebase from input stream timebase (as opposed to input codec timebase). This should be more sane, because since the stream is not decoded, the input codec tb has no relation to the timestamps of the copied packets.
* matroskadec: don't set codec timebase.Anton Khirnov2011-11-30
| | | | It's not supposed to be set outside of lavc.
* rmdec: don't set codec timebase.Anton Khirnov2011-11-30
| | | | | It's not supposed to be set outside of lavc. Set r_frame_rate instead.
* avconv: compute next_pts from input packet duration when possible.Anton Khirnov2011-11-30
|
* lavf: estimate frame duration from r_frame_rate.Anton Khirnov2011-11-30
| | | | | If r_frame_rate is set, it should be more reliable for this than either codec or stream timebase.
* avconv: update InputStream.pts in the streamcopy case.Anton Khirnov2011-11-30
| | | | This was broken in 2a651b719c309c5e2fc663a5a9d6ca36153ab98f.
* indeo3: check per-plane data buffer against input buffer bounds.Aneesh Dogra2011-11-29
| | | | | | Fixes : http://bugzilla.libav.org/show_bug.cgi?id=102 Signed-off-by: Alex Converse <alex.converse@gmail.com>
* 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
|