avprobe: also output dar/par if only defined in stream

Based on a patch by Jan Gerber <j@v2v.cc>
Update release notes for the 9 release.

Add a paragraph about MSVC and mention 24-bit FLAC encoding.
Prepare for 9 Release.
finalize changelog for version 9
mxfdec: fix NULL checking in mxf_get_sorted_table_segments()

The following out-of-memory check is broken.

    *sorted_segments  = av_mallocz(...);
    if (!sorted_segments) { ... }

The correct NULL check should use *sorted_segments.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
swscale: fix NULL checking in sws_alloc_context()

sws_getCachedContext() and sws_getContext() expect sws_alloc_context()
to return NULL when out of memory, as follows.

    if (!(context = sws_alloc_context()))
        return NULL;

This patch fixes sws_alloc_context() to return NULL in that case.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Fix AVCI50 SPS to specify a SAR of 4:3 instead of 3:4.
tests/lavfi-regression: always require three parameters in do_lavfi_pixfmts()

Force commands to specify the name of the test to run. This simplifies
extending the function with a new parameter, which will be done in a
following patch.
lavfi: add kerndeint filter

This is a port of the kerndeint filter (libmpcodecs/vf_kerndeint) by
Donal A. Graft (original avisynth plugin author), and is based on the
work by Jérémy Tran <tran.jeremy.av@gmail.com> done for SOCIS 2012.
lavfi: add histeq filter

This is a port of virtual dub's histogram equalization filter by Donald
A. Graft. Based on the work by Jérémy Tran <tran.jeremy.av@gmail.com>,
done for SOCIS 2012.
alsdec: change channel sorting so it match reference implementation

Read channel source instead of channel target for channel sorting.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
w64dec: support metadata (summarylist guid)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
lavu: check that assert level is defined

fix warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/drawutils: fix blending computation in blend_line function

If width is not alligned with hsub, background component should only be
multiplied once by sub alpha component.
Merge commit 'b14e89b3c5e6d7f6401a2ff1e3d198fa902e988a'

* commit 'b14e89b3c5e6d7f6401a2ff1e3d198fa902e988a':
  Prepare for 9 Release.
  Update release notes for the 9 release.
  avprobe: also output dar/par if only defined in stream

Conflicts:
	RELEASE
	avprobe.c
	doc/RELEASE_NOTES

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  swscale: fix NULL checking in sws_alloc_context()
  mxfdec: fix NULL checking in mxf_get_sorted_table_segments()
  finalize changelog for version 9

Conflicts:
	Changelog
	libavformat/mxfdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/kerndeint: fix mismatch between declared pixel format and test

+10l.
Allow remaining 32bit RGB packed pix_fmts in kerndeint filter.

Reviewed-by: Stefano Sabatini
lavu/base64: return meaningful error code.
lavu: test for broken binutils on ARM

Some old gnu assemblers fail to assemble qdadd correctly
Ideally we should check this at build time, but better to
check at run time than mysteriously failing.

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