avfilter/showwaves: add "cline" mode (centered line)
avfilter/showwaves: split out draw sample code
avfilter/showwaves: add split_channels option
doc/filters: fix cline option name recently added
avfilter/showwaves: align const mode values (cosmetics)
huffyuvdec: fix old (v1) rgba

Commit deadcf5e misplaced a hunk.

Fixes ticket #3877.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
fate: add test for old (v1) huffyuv and rgba

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_lenscorrection: get rid of some floats
avfilter/vf_lenscorrection: get rid of all floats per frame

there are some still left for 1 time initialization

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_lenscorrection: get rid of floats in init code

The only remaining floats are in the user interface, they are left as they
should not cause a problem in practice

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil/motion_vector.h: fix coordinate types

See b0352b1997a83f1b6b27919b94aab539f099b25b for more information on the
feature.
doc/APIChanges: fill 2 hashes from my recent API additions
vsrc_movie: Adjust a silly typo from b977b287f61fea48ecd6251d54a26334213b7ec6
error_resilience: Drop asserts from guess_mv()

The asserts check struct members that are not referenced in guess_mv()
and one of them fails to compile.
mpeg12enc: Add missing #include for PICT_FRAME
setpts: Add missing inttypes.h #include for PRId64

Also convert a debug av_log() to av_dlog().
adts: Return more meaningful error codes

Signed-off-by: Diego Biurrun <diego@biurrun.de>
avfilter/vf_lenscorrection: fix memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
imc: reject files with unfathomable sampling rates

With huge sampling rates, the table derivation method does not converge fast
enough. While fixing it using e.g. Newton-Rhapson-like methods (the curve is
nicely convex) is possible, it is much simpler to reject these cases.

The value of 96000 was arbitrarily chosen as a realistic value, though
1000000 would still work and converge.

Fixes ticket #3868.

Suggested-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/apad: fix logic when whole_len or pad_len options are specified

In particular, allow pad_len and whole_len to have value set to 0, which
means that no padding will be added. Previously a value set to 0 meant
that that the filter had to pad forever.

The new semantics is clearer, also simplifies scripting since the option
value might be automatically computed, so that no checks need to be done
in case it is 0.

The old semantics was never documented and the logic was broken (the
filter was always adding samples indefinitely), so this should not break
backward compatibility.