termux-packages/packages/tvheadend/define_memalign.patch

12 lines
346 B
Diff

--- tvheadend-4.2.8/src/descrambler/ffdecsa/FFdecsa.c 2019-01-12 14:28:47.000000000 +0530
+++ tvheadend-4.2.8-mod/src/descrambler/ffdecsa/FFdecsa.c 2021-10-02 15:27:44.648481179 +0530
@@ -106,7 +106,7 @@
#define FREE(X) free(X)
#endif
#ifndef MEMALIGN
-#define MEMALIGN
+#define MEMALIGN __attribute__((aligned(8)))
#endif
//// debug tool