x86: sbrdsp: implement SSE qmf_deint_neg

From 133 (unrolled av_intfloat32 C) to 59 cycles on Arrandale/Win64.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/x86/dsputil_mmx: Fix build with clang-usan

Found-by: Katerina Barone-Adesi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Use av_restrict instead of restrict in libavcodec/opus_celt.c.
avcodec/utils: Fix undefined behavior in avpriv_toupper4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/cavs: prevent out of array read

The used value should not matter as long as its within the array
as it is multiplied by 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/opusdec: fix some const correctness

also make a const array static
Fixes 2 warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure: add check for AVX inline support

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swresample: add swri_resample_float_avx

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vignette: fix input frame memory leak.

Fixes Ticket #3642.
vignette: reuse already declared ctx.
avfilter/vignette: add direct rendering.
avfilter/vignette: reindent after previous commit.
FATE/opus: increase fuzz for the celt tests

This seems to be needed on some 32bit arches.
avisynth: set duration of audio streams

Signed-off-by: Anton Khirnov <anton@khirnov.net>
estimate_timings_from_pts: Warn about A/V streams for which no duration could be set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
estimate_timings_from_pts: Also consider packet duration

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
estimate_timings_from_pts: simplify filesize end check

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
estimate_timings_from_pts: Try to get the duration for all streams

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
estimate_timings_from_pts: Execute max 1 iteration extra to find more than 1 duration

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/mpeg12enc: Favor storing DAR instead of SAR

fixes Ticket 2689

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>