forked from mdelete/opusframework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opus-include.patch
62 lines (52 loc) · 1.9 KB
/
opus-include.patch
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
diff -Naur libogg-src.orig/include/ogg/ogg.h libogg-src/include/ogg/ogg.h
--- libogg-src.orig/include/ogg/ogg.h 2014-05-27 21:52:34.000000000 +0200
+++ libogg-src/include/ogg/ogg.h 2015-08-01 20:45:04.000000000 +0200
@@ -22,7 +22,7 @@
#endif
#include <stddef.h>
-#include <ogg/os_types.h>
+#include "os_types.h"
typedef struct {
void *iov_base;
diff -Naur libogg-src.orig/src/bitwise.c libogg-src/src/bitwise.c
--- libogg-src.orig/src/bitwise.c 2014-05-27 21:52:34.000000000 +0200
+++ libogg-src/src/bitwise.c 2015-08-01 20:45:59.000000000 +0200
@@ -21,7 +21,7 @@
#include <string.h>
#include <stdlib.h>
#include <limits.h>
-#include <ogg/ogg.h>
+#include "ogg.h"
#define BUFFER_INCREMENT 256
diff -Naur libogg-src.orig/src/framing.c libogg-src/src/framing.c
--- libogg-src.orig/src/framing.c 2014-05-27 21:52:34.000000000 +0200
+++ libogg-src/src/framing.c 2015-08-01 20:46:09.000000000 +0200
@@ -23,7 +23,7 @@
#include <stdlib.h>
#include <limits.h>
#include <string.h>
-#include <ogg/ogg.h>
+#include "ogg.h"
/* A complete description of Ogg framing exists in docs/framing.html */
diff -Naur libopus-src.orig/src/opus_encoder.c libopus-src/src/opus_encoder.c
--- libopus-src.orig/src/opus_encoder.c 2013-12-04 23:35:42.000000000 +0100
+++ libopus-src/src/opus_encoder.c 2015-08-01 20:46:45.000000000 +0200
@@ -47,7 +47,7 @@
#ifdef FIXED_POINT
#include "fixed/structs_FIX.h"
#else
-#include "float/structs_FLP.h"
+#include "structs_FLP.h"
#endif
#define MAX_ENCODER_BUFFER 480
diff -Naur libopusfile-src.orig/include/opusfile.h libopusfile-src/include/opusfile.h
--- libopusfile-src.orig/include/opusfile.h 2014-04-29 19:07:09.000000000 +0200
+++ libopusfile-src/include/opusfile.h 2015-08-01 20:44:53.000000000 +0200
@@ -106,8 +106,8 @@
# include <stdarg.h>
# include <stdio.h>
-# include <ogg/ogg.h>
-# include <opus_multistream.h>
+# include "ogg.h"
+# include "opus_multistream.h"
/**@cond PRIVATE*/