aboutsummaryrefslogtreecommitdiff
path: root/audio/liba52-devel/files/patch-a52.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/liba52-devel/files/patch-a52.h')
-rw-r--r--audio/liba52-devel/files/patch-a52.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/liba52-devel/files/patch-a52.h b/audio/liba52-devel/files/patch-a52.h
new file mode 100644
index 000000000000..71cb5e473745
--- /dev/null
+++ b/audio/liba52-devel/files/patch-a52.h
@@ -0,0 +1,24 @@
+--- a52.h.orig Sun Dec 11 01:57:32 2005
++++ a52.h Sun Dec 11 02:42:30 2005
+@@ -24,11 +24,7 @@
+ #ifndef A52_H
+ #define A52_H
+
+-#include "../avcodec.h"
+-
+-#undef malloc
+-#undef free
+-#undef realloc
++#include <inttypes.h>
+
+ #if defined(LIBA52_FIXED)
+ typedef int32_t sample_t;
+@@ -41,7 +37,7 @@
+ typedef float level_t;
+ #endif
+
+-typedef struct a52_state_s a52_state_t;
++#include "a52_internal.h"
+
+ #define A52_CHANNEL 0
+ #define A52_MONO 1