Skip to content

Commit ceb5c3c

Browse files
committed
Merge pull request SynoCommunity#14 from GuillaumeSmaha/cytec-ffmpeg-update-fdk-aac
Edit patch for fdk-aac: Invert inline and void for compatibility with gcc 3.3.4
2 parents 7c65fca + 55e6802 commit ceb5c3c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

cross/fdk-aac/patches/001-gcc-compatibility-inline.patch

+20
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,23 @@
99
#else
1010
#define FORCEINLINE
1111
#endif
12+
--- libFDK/include/fft.h.orig 2016-05-18 08:01:16.259465851 +0200
13+
+++ libFDK/include/fft.h 2016-05-18 08:00:28.950238245 +0200
14+
@@ -121,7 +121,7 @@
15+
*/
16+
17+
LNK_SECTION_CODE_L1
18+
-static void FORCEINLINE fft_4(FIXP_DBL *x)
19+
+static FORCEINLINE void fft_4(FIXP_DBL *x)
20+
{
21+
FIXP_DBL a00, a10, a20, a30, tmp0, tmp1;
22+
23+
@@ -149,7 +149,7 @@
24+
}
25+
26+
LNK_SECTION_CODE_L1
27+
-static void FORCEINLINE fft_8(FIXP_DBL *x)
28+
+static FORCEINLINE void fft_8(FIXP_DBL *x)
29+
{
30+
#define W_PiFOURTH STC(0x5a82799a)
31+

0 commit comments

Comments
 (0)