avcodec/hevc_ps: do cleanup in case of unsupported bit depth

Fixes memleak
Fixes CID1231989

Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Reviewed-by: Mickaël Raulet <mraulet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/nutdec: always initialize event_flags

Fixes: CID1231990

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/asfdec: Check av_new_packet()s return code

Fixes CID1041093

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/avf_showspectrum: fix colums typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/ffmpeg: fix metadata language example

Signed-off-by: Lou Logan <lou@lrcd.com>
x86/hecv_res_add: add ff_hevc_transform_add{8,16,32}_8_avx

~15% faster than sse2

Reviewed-by: Mickaël Raulet <mraulet@gmail.com>
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
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.