termux-packages/packages/tvheadend/define_memalign.patch
Aditya Alok 45af2870f3
tvheadend: define MEMALIGN
tvheadend: fix bus error
2021-10-02 18:45:56 +05:30

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