summaryrefslogtreecommitdiff
path: root/audio/liba52-devel/files/patch-a52.h
blob: 71cb5e4737452add29f063a12f805c30753ee8d0 (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
--- 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