summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* ac3dsp: do not use pshufb in ac3_extract_exponents_ssse3()Justin Ruggles2012-02-09
| | | | | | | We need to do unsigned saturation in order to cover the corner case when the absolute coefficient value is 16777215 (the maximum value). Fixes Bug #216
* ac3dec: Move center and surround mix level tables to the parser.Michael Niedermayer2012-02-09
| | | | | | | | | | | | That way all mix levels as exported by avpriv_ac3_parse_header() will have the same meaning. Previously the 3-bit center mix level for E-AC-3 was used to index in a 4-entry table, leading to out-of-array reads. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> Signed-off-by: Alex Converse <alex.converse@gmail.com>
* aacdec: Unify preconfigured layout and PCE layout.Alex Converse2012-02-09
|
* aacdec: Support native channel layout when requested.Alex Converse2012-02-09
|
* aacdec: Try to sniff a reasonable channel layout for PCE based configurations.Alex Converse2012-02-09
| | | | This changes the output order of multichannel PCE based streams.
* libavcodec: Don't do av_free(av_malloc(0)) for bitstream filtersMartin Storsjö2012-02-09
| | | | | | | This fixes crashes on exit when closing a bitstream filter that hasn't allocated any private data, on OS X. Signed-off-by: Martin Storsjö <martin@martin.st>
* eac3dec: replace undefined 1<<31 with INT32_MIN in noise generationJanne Grunau2012-02-09
|
* yadif: specify array size outside DECLARE_ALIGNEDJanne Grunau2012-02-09
|
* prores: specify array size outside DECLARE_ALIGNED brackets.Ronald S. Bultje2012-02-09
|
* WavPack demuxer: set packet durationPaul B Mahol2012-02-09
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* tta: use skip_bits_long()Paul B Mahol2012-02-09
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mxfdec: Ignore the last entry in Avid's index table segmentsTomas Härdin2012-02-09
| | | | | | | | The last entry is the total size of the essence container. Previously a TemporalOffset error would be logged, even though segments like these are expected. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Sanity-check SampleRateTomas Härdin2012-02-09
| | | | | | This avoids a SIGFPE if SampleRate is missing or set to naughty values. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Handle small EditUnitByteCountTomas Härdin2012-02-09
| | | | | | | These are common with audio atoms. Without this the demuxer would read two bytes at a time for a mono 16-bit file. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Consider OPAtom files that do not have exactly one EC to be OP1aTomas Härdin2012-02-09
| | | | | | This fixes demuxing of 2011_DCPTEST_24FPS.V.mxf. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Don't crash in mxf_packet_timestamps() if current_edit_unit overflowsTomas Härdin2012-02-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Zero nb_ptses in mxf_compute_ptses_fake_index()Tomas Härdin2012-02-09
| | | | | | This fixes SIGSEGV on files with both CBR and VBR index segments (zzuf6.mxf). Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Sanity check PreviousPartitionTomas Härdin2012-02-09
| | | | | | Without this certain files could get the demuxer stuck in a loop. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Never seek back in local sets and KLVsTomas Härdin2012-02-09
| | | | | | | | | Specially crafted files can lead the parsing code to take too long. We fix a lot of these problems by not allowing local tags to extend past the end of the set and not allowing other KLVs to be read past the end of themselves. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Move the current_partition check inside mxf_read_header()Tomas Härdin2012-02-09
| | | | | | This fixes SIGSEGV on files where this is the case, such as zzuf4.mxf. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Fix infinite loop in mxf_packet_timestamps()Tomas Härdin2012-02-09
| | | | | | | This can happen if an index table segment has a very large IndexStartPosition. zzuf3.mxf is an example of such a file. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Check eof_reached in mxf_read_local_tags()Tomas Härdin2012-02-09
| | | | | | This fixes an infinite loop with zzuf2.mxf. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Check for NULL componentTomas Härdin2012-02-09
| | | | | | This fixes a SIGSEGV with zzuf1.mxf. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps()Tomas Härdin2012-02-09
| | | | | | | Only the OPAtom demuxing logic is guaranteed to have index tables, meaning OP1a files that lack an index would cause SIGSEGV. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: Make sure x < index_table->nb_ptsesTomas Härdin2012-02-09
| | | | | | Avoids a SIGSEGV on files with IndexEntryCount < IndexDuration. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* build: Add missing directories to DIRS declarations.Diego Biurrun2012-02-09
|
* arm: Add missing #include to vp8.h to fix a make checkheaders warning.Diego Biurrun2012-02-09
|
* swscale: ppc: Add missing header #includes to pass 'make checkheaders'.Diego Biurrun2012-02-09
|
* cosmetics: Delete empty lines at end of file.Diego Biurrun2012-02-09
|
* bytestream: K&R formatting cosmeticsAneesh Dogra2012-02-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* apetag: fix commentPaul B Mahol2012-02-08
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* rawenc: switch to encode2().Anton Khirnov2012-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes a number of FATE results, since before this commit, the timestamps in all tests using rawenc were made up by lavf. In most cases, the previous timestamps were completely bogus. In some other cases -- raw formats, mostly h264 -- the new timestamps are bogus as well. The only difference is that timestamps invented by the muxer are replaced by timestamps invented by the demuxer. cscd -- avconv sets output codec timebase from r_frame_rate and r_frame_rate is in this case some guessed number 31.42 (377/12), which is not accurate enough to represent all timestamps. This results in some frames having duplicate pts. Therefore, vsync 0 needs to be changed to vsync 2 and avconv drops two frames. A proper fix in the future would be to set output timebase to something saner in avconv. nuv -- previous timestamps for video were wrong AND the cscd comment applies, one frame is dropped. vp8-signbias -- the file contains two frames with identical timestamps, so -vsync 0 needs to be removed/changed to -vsync 2 and avconv drops one frame. vc1-ism -- apparrently either the demuxer lies about timestamps or the file is broken, since dts == pts on all packets, but reordering clearly takes place.
* pixdesc: mark pseudopaletted formats with a special flag.Anton Khirnov2012-02-08
| | | | | | This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
* avconv: switch to avcodec_encode_video2().Anton Khirnov2012-02-08
|
* libx264: implement encode2().Anton Khirnov2012-02-08
|
* libx264: split extradata writing out of encode_nals().Anton Khirnov2012-02-08
| | | | This is done in preparation for the following patch.
* lavc: add avcodec_encode_video2() that encodes from an AVFrame -> AVPacketAnton Khirnov2012-02-08
| | | | Deprecate avcodec_encode_video().
* cmdutils: update copyright year to 2012.Ronald S. Bultje2012-02-08
|
* swscale: sign-extend integer function argument to qword on x86-64.Ronald S. Bultje2012-02-08
|
* x86inc: support yasm -f win64 flag also.Haruhiko Yamagata2012-02-08
| | | | | | | This sets __OUTPUT_FORMAT__ to win64 instead of win32, even though both (through -m amd64) produce 64-bit binary code. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* h264: manually save/restore XMM registers for functions using INIT_MMX.Ronald S. Bultje2012-02-08
| | | | | On Win64, these registers are callee-save, so not saving/restoring them correctly is a violation of ABI and can lead to crashes or corrupt data.
* x86inc: allow manual use of WIN64_SPILL_XMM.Henrik Gramner2012-02-08
| | | | | | | | Functions using INIT_MMX may still access XMM registers through direct means (xmm0-15). Therefore, they still need to be marked for clobber so they can be properly saved/restored. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aacdec: Use correct speaker order for 7.1.Alex Converse2012-02-08
| | | | | | | | | The spec says the following speaker mapping is default: center front speaker left, right center front speakers, left, right outside front speakers, left surround, right surround rear speakers, front low frequency effects speaker
* aacdec: Remove incorrect comment.Alex Converse2012-02-08
| | | | It was only correct when element ids met very specific criteria.
* aacdec: Simplify output configuration.Alex Converse2012-02-08
|
* Remove Sun medialib glue code.Diego Biurrun2012-02-08
| | | | | It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
* dsputil: set STRIDE_ALIGN to 16 for x86 also.Ronald S. Bultje2012-02-07
| | | | | | This fixes crashes in e.g. PNG decoding with SSE2 enabled. In fact, many x86 optimizations for codecs assume that our buffer strides are 16-byte aligned.
* pngdsp: swap argument inversion.Ronald S. Bultje2012-02-07
|
* swscale: make yuv2yuv1 use named registers.Ronald S. Bultje2012-02-07
|
* h264: mark h264_idct_add8_10 with number of XMM registers.Michael Kostylev2012-02-07
| | | | | | This fixes XMM register clobber problems on Win64. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>