summaryrefslogtreecommitdiff
path: root/audio/faac/files/patch-gcc
blob: 848d3ac2237518b552ac85ef1166a6605dbe9f28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
--- include/faac.h.orig	Mon Nov 24 13:10:32 2003
+++ include/faac.h	Wed Jul 21 14:00:09 2004
@@ -36,7 +36,6 @@
 # endif
 #endif
 
-#pragma pack(push, 1)
 
 typedef struct {
   void *ptr;
@@ -77,16 +76,11 @@
 					  unsigned long *pSizeOfDecoderSpecificInfo);
 
 
-int FAACAPI faacEncEncode(faacEncHandle hEncoder, int32_t * inputBuffer, unsigned int samplesInput,
-			 unsigned char *outputBuffer,
-			 unsigned int bufferSize);
-
 
 int FAACAPI faacEncClose(faacEncHandle hEncoder);
 
 
 
-#pragma pack(pop)
 
 #ifdef __cplusplus
 }
--- include/faaccfg.h.orig	Wed Oct 29 05:31:24 2003
+++ include/faaccfg.h	Wed Jul 21 14:00:09 2004
@@ -45,7 +45,6 @@
 #define SHORTCTL_NOSHORT   1
 #define SHORTCTL_NOLONG    2
 
-#pragma pack(push, 1)
 typedef struct faacEncConfiguration
 {
     /* config version */
@@ -117,6 +116,5 @@
 
 } faacEncConfiguration, *faacEncConfigurationPtr;
 
-#pragma pack(pop)
 
 #endif /* _FAACCFG_H_ */
--- libfaac/frame.h.orig	Wed Jul 21 14:08:23 2004
+++ libfaac/frame.h	Wed Jul 21 14:08:32 2004
@@ -60,7 +60,6 @@
   #endif
 #endif
 
-#pragma pack(push, 1)
 
 typedef struct {
   psymodel_t *model;
@@ -151,7 +150,6 @@
 int FAACAPI faacEncClose(faacEncHandle hEncoder);
 
 
-#pragma pack(pop)
 
 #ifdef __cplusplus
 }
--- libfaac/aacquant.h.orig	Wed Jul 21 14:08:45 2004
+++ libfaac/aacquant.h	Wed Jul 21 14:08:53 2004
@@ -37,14 +37,12 @@
 #define POW20(x)  pow(2.0,((double)x)*.25)
 #define IPOW20(x)  pow(2.0,-((double)x)*.1875)
 
-#pragma pack(push, 1)
 typedef struct
   {
     double *pow43;
     double *adj43;
     double quality;
   } AACQuantCfg;
-#pragma pack(pop)
 
 void AACQuantizeInit(CoderInfo *coderInfo, unsigned int numChannels,
 		     AACQuantCfg *aacquantCfg);