summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* lavfi: merge start_frame/draw_slice/end_frameAnton Khirnov2012-11-28
| | | | | Any alleged performance benefits gained from the split are purely mythological and do not justify added code complexity.
* lavfi: remove vf_slicifyAnton Khirnov2012-11-28
| | | | | | | The following commit will make it useless. The crop_scale_vflip FATE test changes because of off-by-one differences in output when vflipped slices are passed to sws.
* asink_nullsink: plug a memory leak.Anton Khirnov2012-11-28
|
* x86: h264_idct: port to cpuflagsDiego Biurrun2012-11-28
|
* x86: cpu: Drop unused HAVE_RWEFLAGS conditionDiego Biurrun2012-11-28
| | | | The test for rweflags was dropped in a previous commit.
* vble: Do not abort decoding when version is not 1Piotr Bandurski2012-11-27
| | | | | | | | Some combinations of OS, VirtualDub, and VBLE can accidentally set the version to a value other than 1. Since no other version of VBLE was ever released, simply warn about it. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavr: do not pass consumed samples as a parameter to ff_audio_resample()Justin Ruggles2012-11-27
| | | | | Since the resampler handles buffering of unconsumed samples internally, the caller does not need this information.
* lavr: correct the documentation for the ff_audio_resample() return valueJustin Ruggles2012-11-27
|
* lavr: do not pass sample count as a parameter to ff_audio_convert()Justin Ruggles2012-11-27
| | | | | It will always be the number of samples in the input buffer, so just use that directly instead of passing it as a separate parameter.
* x86: h264_weight: port to cpuflagsDiego Biurrun2012-11-27
|
* configure: Enable avconv filter dependencies automaticallyMartin Storsjö2012-11-27
| | | | | | | | | This makes sure minimal configurations such as "--disable-everything --enable-avconv" will enable the filters necessary for running avconv, instead of just keeping avconv disabled (even if the user specified "--enable-avconv"). Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: set Picture.owner2 to the current threadJanne Grunau2012-11-27
| | | | | | | | This does not seem to have an effect currently. Fate-h264 passes with THREADS=1..16 and both threading types as before. It fixes however a segfault during error resilience with my adaptive-frame-mt patchset. A picture in use during error resilience gets realloced in another thread in the fuzzed sample sample_varPAR.avi_s226019.
* h264: check ref_count validity for num_ref_idx_active_override_flagJanne Grunau2012-11-27
| | | | | | Fixes segfault in the fuzzed sample bipbop234.ts_s226407. CC: libav-stable@libav.org
* h264: add missing new line to log messageJanne Grunau2012-11-27
|
* dcadec: skip QMF on unused channelsMichael Niedermayer2012-11-26
| | | | | | | | | | When the extra rear channel is present but unused, the s->channel_order_tab[] value for that channel is -1. The QMF can be skipped for the extra channel, and doing so avoids an out-of-array read on s->samples_chanptr[]. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* wavenc: write fact chunk sample count at the correct file positionMichael Niedermayer2012-11-26
| | | | | | | Fixes curruption of metadata in the INFO chunk. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* riff: do not add empty metadata tags in INFO chunkJustin Ruggles2012-11-26
|
* riff: only warn on a bad INFO chunk code size instead of failingJustin Ruggles2012-11-26
| | | | fixes Bug 392
* configure: Add separate list for libraries and use where appropriateDiego Biurrun2012-11-26
|
* x86: float_dsp: add SSE version of vector_fmul_scalar()Justin Ruggles2012-11-26
|
* dsputil: move vector_fmul_scalar() to AVFloatDSPContext in libavutilJustin Ruggles2012-11-26
|
* aacenc: use the correct output bufferMichael Niedermayer2012-11-26
| | | | | | | This fixes segfault caused by 3d3cf6745e2a5dc9c377244454c3186d75b177fa when SingleChannelElement.ret was renamed to SingleChannelElement.ret_buf. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* aacdec: fix signed overflows in lcg_random()Mans Rullgard2012-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* base64: fix signed overflow in shiftMans Rullgard2012-11-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: avoid integer overflow in ff_compute_frame_duration()Janne Grunau2012-11-26
| | | | | | | | Scaling the denominator instead of the numerator if it is too large loses precision. Fixes an assert caused by a negative frame duration in the fuzzed sample nasa-8s2.ts_s202310. CC: libav-stable@libav.org
* flashsv: check for keyframe before using differential codingJanne Grunau2012-11-26
| | | | | | Fixes a segfault in te fuzzed sample resolutionchange.flv_s211713. CC: libav-stable@libav.org
* h264: enable low delay only if no delayed frames were seenJanne Grunau2012-11-26
| | | | | | | | | | | Dropping frames is undesirable but that is the only way by which the decoder could return to low delay mode. Instead emit a warning and continue with delayed frames. Fixes a crash in fuzzed sample nasa-8s2.ts_s20033 caused by a larger than expected has_b_frames value. Low delay keeps getting re-enabled from a presumely broken SPS. CC: libav-stable@libav.org
* x86: fix build without inline asmDiego Biurrun2012-11-26
| | | | | | | | The qpel functions referenced here are not related to h264 and should thus never have been under CONFIG_H264QPEL. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* aacdec: use float planar sample format for outputJustin Ruggles2012-11-25
|
* lavc: clarify get_buffer() documentationJustin Ruggles2012-11-25
| | | | | This is needed for the AAC decoder, which may need to call get_buffer() more than once if the channel configuration changes.
* mpegaudiodec: use planar sample format for output unless packed is requestedJustin Ruggles2012-11-25
|
* x86: h264 qpel: use the correct number of utilized xmm regs in cglobalJustin Ruggles2012-11-25
| | | | Fixes xmm register clobbering on win64.
* remove #defines to prevent use of discouraged external functionsJanne Grunau2012-11-25
| | | | | | | | | | | Preventing the use of discouraged or 'insecure' external functions through defines in an internal header is not a good solution. The header is not guaranteed to be included universally which makes overlooking bad use of said functions during review more likely. There are cases were those functions either are the most straight forward solution or even have to be used. Using malloc or free is required if the allocation or release is done by other libraries.
* x86: h264: Convert 8-bit QPEL inline assembly to YASMDaniel Kang2012-11-25
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: h264: Remove 3dnow QPEL codeDaniel Kang2012-11-25
| | | | | | | The only CPUs that have 3dnow and don't have mmxext are 12 years old. Moreover, AMD has dropped 3dnow extensions from newer CPUs. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: h264_chromamc: port to cpuflagsDiego Biurrun2012-11-25
|
* yop: fix typoPaul B Mahol2012-11-25
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* avconv: fix copying per-stream metadata.Anton Khirnov2012-11-25
| | | | | | | It is handled separately from other types because it uses stream specifiers and currently that triggers an assert in SET_DICT. CC:libav-stable@libav.org
* doc: avtools-common-opts: Fix terminology concerning metric prefixesMarcus Stollsteimer2012-11-25
| | | | | | | | | 'k', 'M', and 'G' are SI (unit) prefixes or metric prefixes, not 'number postfixes'. Also, the statement regarding binary prefixes ("powers of 2 are used instead of powers of 10") might be misinterpreted (1 kB = 10^3 B, but 1 KiB != 2^3 B). Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: suncc: Add compiler arch support for Nehalem & Sandy BridgeSean McGovern2012-11-25
| | | | | | | | GCC does not appear to have a -march= string for Westmere, which is a bit surprising as it has a few more instructions than a Nehalem, but a few less than a Sandy Bridge. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* riff: Make ff_riff_tags static and move under appropriate #ifdefDiego Biurrun2012-11-25
| | | | The table is not used outside the file.
* configure: sort cpuflags section by architectureMans Rullgard2012-11-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: properly support DEC/Compaq compilerMans Rullgard2012-11-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* av_memcpy_backptr: optimise some special casesMans Rullgard2012-11-23
| | | | | | | | | - Add special cases for offsets of 2, 3, or 4 bytes. This means the offset is always >4 in the generic case, allowing 32-bit copies to be used there. - Don't use memcpy() for sizes less than 16 bytes. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegvideo: simplify dxy calculation in hpel_motion()Mans Rullgard2012-11-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: add rules to generate preprocessed source filesMans Rullgard2012-11-23
| | | | | | | This is useful for debugging. Dependencies for these files are not generated due to limitations in many compilers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: fix reading unsynchronized frames.Anton Khirnov2012-11-22
| | | | | | | | | Current code would incorrectly process e.g. 'ff 00 ff 00 ff' to 'ff ff ff', while it should be 'ff ff 00 ff'. Fixes Bug 395. CC: libav-stable@libav.org
* cdgraphics: fix incorrect vertical offset mask in cdg_scroll()Xi Wang2012-11-21
| | | | | | | | | | | | The vertical offset mask 0x07 is suspicious. v_off = FFMIN(data[2] & 0x07, CDG_BORDER_HEIGHT - 1); Note that v_off is up to 11 (CDG_BORDER_HEIGHT - 1), the correct mask should be 0x0F. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* apetag: fix error handling in ff_ape_parse_tag()Xi Wang2012-11-21
| | | | | | | | | | | | | | | | | | | | The following error handling is broken due to signedness. int file_size; uint32_t tag_bytes; int64_t tag_start; ... tag_start = file_size - tag_bytes - APE_TAG_FOOTER_BYTES; if (tag_start < 0) { ... } Note that tag_bytes is unsigned, which makes the right-hand side of `tag_start = ...' unsigned, too. The 32-bit unsigned value is then zero-extended to 64 bits. Therefore, tag_start must be non-negative, and the check (tag_start < 0) is always false, which breaks the error handling. This patch fixes the check. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* flashsv: Drop unused function and struct parametersDiego Biurrun2012-11-21
|