aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-10-26 18:24:58 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-10-26 18:24:58 +0000
commit4b917988635bca78277d8d46268fbc3f6808d55c (patch)
tree83d21a8f5ec348b1d7a4812efa6388e2b0bfb21b /audio
parent6e3f37d3dc79c624fbdc58e680c38b197fe0f56e (diff)
downloadports-4b917988635bca78277d8d46268fbc3f6808d55c.tar.gz
ports-4b917988635bca78277d8d46268fbc3f6808d55c.zip
Re-add accidentally removed prototype
PR: ports/73021 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=120266
Diffstat (limited to 'audio')
-rw-r--r--audio/faac/Makefile2
-rw-r--r--audio/faac/files/patch-gcc51
2 files changed, 11 insertions, 42 deletions
diff --git a/audio/faac/Makefile b/audio/faac/Makefile
index 7ad6713f39b2..a15a4f134f30 100644
--- a/audio/faac/Makefile
+++ b/audio/faac/Makefile
@@ -7,7 +7,7 @@
PORTNAME= faac
PORTVERSION= 1.24
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= faac
diff --git a/audio/faac/files/patch-gcc b/audio/faac/files/patch-gcc
index 848d3ac22375..55ff07e98ed3 100644
--- a/audio/faac/files/patch-gcc
+++ b/audio/faac/files/patch-gcc
@@ -1,5 +1,5 @@
--- include/faac.h.orig Mon Nov 24 13:10:32 2003
-+++ include/faac.h Wed Jul 21 14:00:09 2004
++++ include/faac.h Fri Oct 22 20:03:09 2004
@@ -36,7 +36,6 @@
# endif
#endif
@@ -8,14 +8,18 @@
typedef struct {
void *ptr;
-@@ -77,16 +76,11 @@
+@@ -76,17 +75,16 @@
+ int FAACAPI faacEncGetDecoderSpecificInfo(faacEncHandle hEncoder, unsigned char **ppBuffer,
unsigned long *pSizeOfDecoderSpecificInfo);
-
--int FAACAPI faacEncEncode(faacEncHandle hEncoder, int32_t * inputBuffer, unsigned int samplesInput,
+-
+ int FAACAPI faacEncEncode(faacEncHandle hEncoder, int32_t * inputBuffer, unsigned int samplesInput,
- unsigned char *outputBuffer,
- unsigned int bufferSize);
--
++ unsigned char *outputBuffer,
++ unsigned int bufferSize);
++
+
int FAACAPI faacEncClose(faacEncHandle hEncoder);
@@ -26,7 +30,7 @@
#ifdef __cplusplus
}
--- include/faaccfg.h.orig Wed Oct 29 05:31:24 2003
-+++ include/faaccfg.h Wed Jul 21 14:00:09 2004
++++ include/faaccfg.h Fri Oct 22 19:59:53 2004
@@ -45,7 +45,6 @@
#define SHORTCTL_NOSHORT 1
#define SHORTCTL_NOLONG 2
@@ -42,38 +46,3 @@
-#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);