postprocess: Avoid overflow

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
pp: fix typo in avg() comment.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
pp: fix a few typo in the internal header.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libpostproc: fix leak of 2kb

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libpostproc: Fix off by 1 error in the C dering code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
dering: Allocate the correct buffer size

Avoid out of buffer reads.
postproc: Make sure all the memory is initialized

Spotted through valgrind.
postproc: fix null pointer dereference with invalid option strings

Fixes CID1135760
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
dering: Fix the clobber list
options: Support | as option separator