Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  Support decoding of Lagarith frame type FRAME_SOLID_COLOR.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
nut: use meaningful error values

Fix the mispresented EINVAL for EOF on partial files, among the other.
lavc: do not leak frames in avcodec_decode_audio4

Notwithstanding the return value the frame should be freed if
is not going to be used.

Reported-by: Matthew Wolenetz <wolenetz@chromium.org>
oma: return meaningful errors
oma: properly forward errors in oma_read_packet

Prevent spurios EIO on EOF.

CC:libav-stable@libav.org
sws: factorize rgb 9+ planar funcs declarations.
lavfi/alphaextract: copy width and not linesize.

Padding data is not supposed to be copied.
lavfi/overlay: reindent fix.
gifdec: reset previous Graphic Control Extension disposal type

This fixes out of array accesses.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
x86: rnd_template: Eliminate pointless OP_AVG macro indirection
x86: dsputil hpeldsp: Move shared template functions into separate object
x86: dsputil: Remove unused MOVQ_BONE macro
x86: dsputil: Move rv40-specific functions where they belong
x86: dsputil: Remove unused ff_pb_3F constant
ffmpeg: move a local variable definition later.

Fix a segfault when using the -map option without input files.
lavfi: fix filter format negotiation loop.

query_formats() returning EAGAIN is not considered a progress
in the format negotiation.

If the filter returns EAGAIN but did set some of its formats
lists, it could be considered a partial success and counted
as progress in the negotiation. Not counting it is not a
problem because it currently only happens in the first round,
where there will always be some progress on the other filters.
lavfi: add comments to explain the negotiation loop.
fate-run: Drop unnecessary regtest() indirection

The indirection was used to abstract from the different -regression.sh
scripts. Now that only one remains, this indirection is pointless.
shorten: allocate space for padding

Fixes array overread

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
dxa: check vectors of 4x4 motion blocks

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>