summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vp3dec: Check coefficient index in vp3_dequant()Reinhard Tartler2011-12-23
| | | | | | | | | Based on a patch by Michael Niedermayer <michaelni@gmx.at> Fixes NGS00145, CVE-2011-4352 Found-by: Phillip Langlois Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* svq1dec: call avcodec_set_dimensions() after dimensions changed.Michael Niedermayer2011-12-23
| | | | | | | Fixes NGS00148, CVE-2011-4579 Found-by: Phillip Langlois Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Prepare for 0.8_beta1 snapshot releaseReinhard Tartler2011-12-23
|
* threads: check defines before using them in automatic thread detectionJanne Grunau2011-12-23
|
* pthread: include sys/types.h before sys/sysctl.hJanne Grunau2011-12-23
| | | | Fixes compilation on FreeBSD with clang 3.
* 4xm: remove unused variables.Anton Khirnov2011-12-23
|
* h264: Fix a possible overread in decode_nal_units()Alexander Strange2011-12-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* allfilters: fix type of avfilter_vsrc_buffer.Anton Khirnov2011-12-23
|
* w32thread: call ResetEvent() in pthread_cond_broadcast().Sergey Radionov2011-12-22
| | | | | | | Also add "volatile" to broadcast flag (since it is used from multiple threads). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* build: fix standalone compilation of OMA muxerDiego Biurrun2011-12-23
| | | | The muxer depends on the id3v2 writing code, so link against it.
* build: fix standalone compilation of Microsoft XMV demuxerDiego Biurrun2011-12-23
| | | | The demuxer depends on the RIFF codec tags code, so link against it.
* build: fix standalone compilation of Core Audio Format demuxerDiego Biurrun2011-12-23
| | | | | The demuxer depends on code from mov.c, which in turn depends on code from mov_chan.c, so link against it.
* kvmc: fix invalid readsGaurav Narula2011-12-23
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* 4xm: Add a check in decode_i_frame to prevent buffer overreadsShitiz Garg2011-12-22
| | | | | | Fixes bugzilla #135 Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* adpcm: fix IMA SMJPEG decodingPaul B Mahol2011-12-22
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* options: set minimum for "threads" to zeroJanne Grunau2011-12-22
| | | | | A negative number of threads does not make sense and 0 is used for autodetection. Adds a symbolic name for autodetection.
* bsd: use number of logical CPUs as automatic thread countJanne Grunau2011-12-22
|
* windows: use number of CPUs as automatic thread countJanne Grunau2011-12-22
|
* linux: use number of CPUs as automatic thread countJanne Grunau2011-12-22
| | | | | | Use sched_getaffinity to determine the number of logical CPUs. Limits the number of threads to 16 since slice threading of H.264 seems to be buggy with more than 16 threads.
* pthreads: reset active_thread_type when slice thread_init returrns earlyJanne Grunau2011-12-22
|
* v410dec: include correct headersPaul B. Mahol2011-12-22
| | | | | | | | This file does not use anything from get_bits.h but needs intreadwrite.h. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* Drop ALT_ prefix from BITSTREAM_READER_LE name.Diego Biurrun2011-12-22
| | | | | The prefix is a historic remnant that probably meant "alternative". Now that the A32 bitstream reader has been dropped it makes no sense anymore.
* lavfi: always build vsrc_buffer.Anton Khirnov2011-12-22
| | | | It's a part of public API.
* ra144enc: zero the reflection coeffs if the filter is unstableJustin Ruggles2011-12-22
| | | | | fixes use of uninitialized values if the filter is still unstable after using the previous frame lpc coefficients.
* sws: readd PAL8 to isPacked()Anton Khirnov2011-12-22
| | | | Fixes PAL8 to YUV conversion.
* mov: Don't stick the QuickTime field ordering atom in extradata.Alex Converse2011-12-21
| | | | | | The 'fiel' atoms can be found in H.264 tracks clobbering the extradata. MJPEG supports non field based extradata, and this data should be preserved when copying.
* truespeech: fix invalid reads in truespeech_apply_twopoint_filter()Justin Ruggles2011-12-21
| | | | fixes Bug 171
* asfdec: add side data to ASFStream packet instead of output packet.Justin Ruggles2011-12-21
| | | | fixes memleak of side data
* idroqdec: set AVFMTCTX_NOHEADER and create streams as they occur.Justin Ruggles2011-12-21
| | | | | | This fixes demuxing of file where the first packet is not audio. Such files are generated by our idroq muxer. It also fixes demuxing of audio only idroq files.
* nellymoserdec: Indicate that the decoder can handle changed parametersMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Apply parameter change side data when decoding audioMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Add param change side data if the sample rate or channels have changedMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Add a utility function for adding parameter change side dataMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Define a side data type for parameter changesMartin Storsjö2011-12-21
| | | | | | | Also define a codec capability for codecs that can handle parameters changed externally between decoded packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* aacdec: Handle new extradata passed as side dataMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: Export new AAC/H.264 extradata as side data on the next packetMartin Storsjö2011-12-21
| | | | | | | | | | | | | | | | | | Compared to just overwriting the old extradata, this has the advantage of letting the decoder know exactly when the extradata changed (otherwise it is changed immediately when the new extradata packet is demuxed, even if there's old queued packets awaiting to be decoded). This makes it easier for decoders to actually react to the change, so they won't have to inspect the extradata for each packet to see if it might have changed. This works when sequentially playing a file with sample rate changes, but if seeking past a new extradata packet in the file, it obviously doesn't work properly. That case doesn't work in flash player either, so it's probably ok not to handle it. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Define a side data type for new extradataMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* flacdec: skip all track indices at once instead of looping.Paul B Mahol2011-12-21
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mxf: Add PictureEssenceCoding UL for V210.Tomas Härdin2011-12-21
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mxfdec: consider QuantizationBits between 17 and 24 to be pcm_s24*Tomas Härdin2011-12-21
| | | | | | This fixes playback of BRD38772509.mxf. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container.Daniel Kristjansson2011-12-21
| | | | | | | Support Main Profile at High 1440 Level in MXF container, using essence coding label from SMPTE RDD 9, table 6. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* mxf: H.264/MPEG-4 AVC Intra supportBaptiste Coudurier2011-12-21
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* configure: Show whether the safe bitstream reader is enabledMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Tighten register constraints for decode_significance*_x86.Diego Biurrun2011-12-21
| | | | | | | On 32-bit OS X with gcc 4.0/4.2 and shared libraries enabled, the ebx register is not available, but required to assemble the functions. This reverts commit 8742a4f to a simplified version of the original constraints.
* Replace Subversion revisions in comments by Git hashes.Diego Biurrun2011-12-21
|
* h264_cabac: synchronize decode_significance_*_x86 conditionalsDiego Biurrun2011-12-21
| | | | The definition and the call site where under different #ifdefs.
* w32threads: wait for the waked thread in pthread_cond_signal.Sergey Radionov2011-12-20
| | | | | | | | This fixes a deadlock VLC triggered with multithreaded decoding. The wait forces one of the current waiters to wake and not the thread which calls pthread_cond_signal() itself. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aacdec: Cleanup decode_ics_info.Alex Converse2011-12-20
| | | | | | Remove unused function argument. Return an AVERROR. Don't zero out ICS on failure.
* network: properly declare WSADATA in windowsSergey Radionov2011-12-21
| | | | | | Fixed "ISO C90 forbids mixed declarations and code" in ff_network_init Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* fate: account for NUT 10bit supportLuca Barbato2011-12-21
| | | | | | Some libavifilter tests use NUT as output even if the produced files were not decodable. The support for 10bit introduced in 432f0e5b7d and 91b1e6f0c changed the hashes.