faad2: update to 2.9.1

It seems upstream abandoned sourceforge.

Add license information.

Fix CVE tag. It seems the mass CVE patch placed many wrong CVEs.

Add PKG_BUILD_PARALLEL for faster compilation.

Do not build patented functionality when BUILD_PATENTED is missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit ff62511ab2)
This commit is contained in:
Rosen Penev
2020-03-10 17:06:27 -07:00
parent f91af9d77b
commit 7bfe304622
4 changed files with 120 additions and 11 deletions
+20
View File
@@ -0,0 +1,20 @@
--- a/libfaad/common.h
+++ b/libfaad/common.h
@@ -120,8 +120,7 @@ extern "C" {
#undef DRM_PS
#undef ALLOW_SMALL_FRAMELENGTH
#undef ERROR_RESILIENCE
-#endif
-
+#else
#define SBR_DEC
//#define SBR_LOW_POWER
#define PS_DEC
@@ -129,6 +128,7 @@ extern "C" {
#ifdef SBR_LOW_POWER
#undef PS_DEC
#endif
+#endif
/* FIXED POINT: No MAIN decoding */
#ifdef FIXED_POINT