packages/libs/faad2/patches/030-sbr-ps-dec.patch
Rosen Penev ff62511ab2
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>
2020-03-11 13:39:45 -07:00

20 lines
377 B
Diff

--- 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