summaryrefslogtreecommitdiff
path: root/audio/liba52-devel/files/patch-a52_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/liba52-devel/files/patch-a52_internal.h')
-rw-r--r--audio/liba52-devel/files/patch-a52_internal.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/audio/liba52-devel/files/patch-a52_internal.h b/audio/liba52-devel/files/patch-a52_internal.h
new file mode 100644
index 000000000000..095f6a60ad62
--- /dev/null
+++ b/audio/liba52-devel/files/patch-a52_internal.h
@@ -0,0 +1,33 @@
+--- a52_internal.h.orig Sun Dec 11 01:58:58 2005
++++ a52_internal.h Sun Dec 11 02:47:04 2005
+@@ -21,6 +21,15 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#ifndef __LIBA52__52_internal_h__
++# define __LIBA52__52_internal_h__
++
++#include <inttypes.h>
++
++#ifndef NULL
++# define NULL 0
++#endif
++
+ typedef struct {
+ uint8_t bai; /* fine SNR offset, fast gain */
+ uint8_t deltbae; /* delta bit allocation exists */
+@@ -87,6 +96,8 @@
+ int downmixed;
+ };
+
++typedef struct a52_state_s a52_state_t;
++
+ #define LEVEL_PLUS6DB 2.0
+ #define LEVEL_PLUS3DB 1.4142135623730951
+ #define LEVEL_3DB 0.7071067811865476
+@@ -160,3 +171,5 @@
+ #define BIAS(x) (x)
+
+ #endif
++
++#endif /* __LIBA52__52_internal_h__ */