summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | svq1dec: Fix overread on very small inputMichael Niedermayer2012-04-22
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wmaprodec: tighter check for num_vec_coeffsMichael Niedermayer2012-04-22
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avcodec: remove AVCodecContext.dsp_mask avconv: fix a segfault when default encoder for a format doesn't exist. utvideo: general cosmetics aac: Handle HE-AACv2 when sniffing a channel order. movenc: Support high sample rates in isomedia formats by setting the sample rate field in stsd to 0. xxan: Remove write-only variable in xan_decode_frame_type0(). ivi_common: Initialize a variable at declaration in ff_ivi_decode_blocks(). Conflicts: ffmpeg.c libavcodec/utvideo.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: remove AVCodecContext.dsp_maskMans Rullgard2012-04-21
| | | | | | | | | | | | | | | | This removes all references to AVCodecContext.dsp_mask and marks it for eviction at the next version bump. It has been superseded by av_set_cpu_flag_mask() which, unlike this field, works everywhere. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * avconv: fix a segfault when default encoder for a format doesn't exist.Anton Khirnov2012-04-21
| | | | | | | | Fail earlier and with a more descriptive error message.
| * utvideo: general cosmeticsJan Ekström2012-04-20
| | | | | | | | | | | | | | | | | | General cosmetics, such as keeping lines under 80 characters, fixing a couple of typos (predition -> prediction) and a general style fix that was pointed out by Derek when I was having my sliced multithreading patch in review by him. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * aac: Handle HE-AACv2 when sniffing a channel order.Alex Converse2012-04-20
| |
| * movenc: Support high sample rates in isomedia formats by setting the sample ↵Alex Converse2012-04-20
| | | | | | | | | | | | rate field in stsd to 0. Libisomediafile appears to always set this field to zero.
| * xxan: Remove write-only variable in xan_decode_frame_type0().Diego Biurrun2012-04-20
| | | | | | | | libavcodec/xxan.c:293:13: warning: variable ‘corr_end’ set but not used
| * ivi_common: Initialize a variable at declaration in ff_ivi_decode_blocks().Diego Biurrun2012-04-20
| | | | | | | | This simplifies the code a bit and avoids an uninitialized variable warning.
* | Support broken v210 files with 64 byte padding.Carl Eugen Hoyos2012-04-21
| | | | | | | | | | | | Fixes ticket #743. Reviewed-by: Paul B Mahol
* | dnxhddec: check that the indicated bit depth matches the tables.Michael Niedermayer2012-04-21
| | | | | | | | | | | | | | Fixes crash Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | xldec: move buffer size check up, it can be done before allocating a frameMichael Niedermayer2012-04-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | xldec: Check that width is a multiple of 4Michael Niedermayer2012-04-21
| | | | | | | | | | | | | | Fixes out of array reads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | xmvdemux: prefer av_freep() to deallocate audio stream structs.Michael Niedermayer2012-04-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | xmvdemux: dont let current_stream become invalid.Michael Niedermayer2012-04-21
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cook: check subacket countMichael Niedermayer2012-04-21
| | | | | | | | | | | | | | Fixes out of array writes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wmalossless: Ensure that last frame is not written again if nothing was ↵Jakub Stachowski2012-04-21
| | | | | | | | | | | | | | decoded in current packet. Reviewed-by: Mashiat Sarker Shakkhar <mashiat.sarker@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffprobe: do not try to decode empty packets.Nicolas George2012-04-21
| | | | | | | | Fixes sporadic decode failures and trac ticket #997.
* | lavfi/setfield: remove stray argument in av_log()Stefano Sabatini2012-04-21
| | | | | | | | | | | | Fix warning: libavfilter/vf_setfield.c: In function ‘init’: libavfilter/vf_setfield.c:64:20: warning: too many arguments for format [-Wformat-extra-args]
* | lavfi/setfield: rename variable top_field_first to modeStefano Sabatini2012-04-21
| | | | | | | | | | The new name better reflects the meaning of the variable, after the recent change.
* | lavfi/setfield: add "progressive" optionTim Nicholson2012-04-21
| | | | | | | | | | | | Add "prog" parameter value, and deprecate numeric values. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | Revert "h264: assembly version of get_cabac for x86_64 with PIC (v4)"Michael Niedermayer2012-04-21
| | | | | | | | | | | | This broke compilation on darwin, revert until a better solution is found. This reverts commit a812b599b504b39a8021827da89d5e23fb361cc9.
* | fix swr_convert buffering of packed audioAndrew Wason2012-04-21
| | | | | | | | | | | | | | | | | | | | | | | | swr_convert is not properly buffering packed input audio when the output is not large enough, and when resampling is not actually needed (same samplerate and no SWR_FLAG_RESAMPLE). buf_set() is only handling the first channel and leaving the others as-is. Sample program to reproduce the problem is here https://gist.github.com/2431768 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264: assembly version of get_cabac for x86_64 with PIC (v4)Roland Scheidegger2012-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a hand-optimized assembly version for get_cabac much like the existing one, but it works if the table offsets are RIP-relative. Compared to the non-RIP-relative version this adds 2 lea instructions and it needs one extra register. There is a surprisingly large performance improvement over the c version (more so than the generated assembly seems to suggest) just in get_cabac, I measured roughly 40% faster for get_cabac on a K8. However, overall the difference is not that big, I measured roughly 5% on a test clip on a K8 and a Core2. Hopefully it still compiles on x86 32bit... v2: incorporated feedback from Loren Merritt to avoid rip-relative movs for every table, and got rid of unnecessary @GOTPCREL. v3: apply similar fixes to the the decode_significance functions, and use same macro arguments for non-pic case. v4: prettify inline asm arguments, add a non-fast-cmov version (as I expect the c code to be faster otherwise since both cmov and sbb suck hard on a Prescott, even can't construct the mask with a 64bit shift as that's just as terrible - it's quite difficult to find usable instructions on that chip...). This is tested to work but not on a P4, in theory it _should_ be fast there. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avcodec: add a cook parser to get subpacket duration FATE: allow lavf tests to alter input parameters FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum test FATE: replace the acodec-g726 test with 4 new encode/decode tests FATE: replace current g722 encoding tests with an encode/decode test FATE: add a pattern rule for generating asynth wav files FATE: optionally write a WAVE header in audiogen avutil: add audio fifo buffer Conflicts: doc/APIchanges libavcodec/version.h libavutil/avutil.h tests/Makefile tests/codec-regression.sh tests/fate/voice.mak tests/lavf-regression.sh tests/ref/acodec/g722 tests/ref/acodec/g726 tests/ref/acodec/pcm_s24daud tests/ref/lavf/dv_fmt tests/ref/lavf/gxf tests/ref/lavf/mxf tests/ref/lavf/mxf_d10 tests/ref/seek/lavf_dv Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: add a cook parser to get subpacket durationJustin Ruggles2012-04-20
| | | | | | | | Fixes jittery video playback of rm files with cook audio.
| * FATE: allow lavf tests to alter input parametersJustin Ruggles2012-04-20
| | | | | | | | Change some lavf tests to avoid resampling and channel mixing.
| * FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum testJustin Ruggles2012-04-20
| | | | | | | | | | This avoids resampling and channel mixing by using a source with the correct channel layout and sample rate.
| * FATE: replace the acodec-g726 test with 4 new encode/decode testsJustin Ruggles2012-04-20
| | | | | | | | | | | | Avoids resampling and channel mixing. This only tests the behavior with respect to input and output audio rather than also testing changes to the encoder or muxer that do not affect the resulting decoded output.
| * FATE: replace current g722 encoding tests with an encode/decode testJustin Ruggles2012-04-20
| | | | | | | | | | | | Avoids resampling and channel mixing. This only tests the behavior with respect to input and output audio rather than also testing changes to the encoder or muxer that do not affect the resulting decoded output.
| * FATE: add a pattern rule for generating asynth wav filesJustin Ruggles2012-04-20
| |
| * FATE: optionally write a WAVE header in audiogenJustin Ruggles2012-04-20
| |
| * avutil: add audio fifo bufferJustin Ruggles2012-04-20
| | | | | | | | | | The functions operate on the sample level rather than the byte level and work with all audio sample formats.
* | Fix compilation with NASM.Reimar Döffinger2012-04-20
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | mxfdec: fix memleak on read error/EOF.Reimar Döffinger2012-04-20
| | | | | | | | | | | | | | This also matches the rest of the demuxer which will return partial packets. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | indeo3: Fix reallocation code so that it doesnt become inconsistent.Michael Niedermayer2012-04-20
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ac3dec: Check number of output channels.Michael Niedermayer2012-04-20
| | | | | | | | | | | | | | Fixes out of array write. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avsdec: Set dimensions instead of relying on the demuxer.Michael Niedermayer2012-04-20
| | | | | | | | | | | | | | This fixes out of array writes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: check encoder earlier.Nicolas George2012-04-20
| | | | | | | | | | Fixes a segfault with Ogg output, libtheora not compiled in and no codec specified.
* | ffv1: add optional per slice CRCs to detect undamaged slices.Michael Niedermayer2012-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: move most fields from the frame header to the slice headers with ffv1.3Michael Niedermayer2012-04-20
| | | | | | | | | | | | This will allow decoding a single undamaged slice even if all others are lost Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: refactor slice decoding init loop so that the first is less a special caseMichael Niedermayer2012-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: clear slice state in decode_slice()Michael Niedermayer2012-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: split clear_slice_state() out so individual slices can be cleared.Michael Niedermayer2012-04-20
| | | | | | | | | | | | This allows us to clear outside of the main thread for example. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: split init_slice_state() out so individual slices can be initedMichael Niedermayer2012-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: Add a CRC check to the global header with version 1.3Michael Niedermayer2012-04-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/mp: remove libmpcodecs mirror filterStefano Sabatini2012-04-20
| | | | | | | | The native libavfilter hflip filter does the same thing.
* | lavfi: add avfilter_unref_bufferp()Robert Nagy2012-04-20
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | avidec: zero extradata paddingMichael Niedermayer2012-04-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>