Skip to content

Latest commit

 

History

History
47 lines (45 loc) · 1.1 KB

libvorbisidec-1.2.1.patch

File metadata and controls

47 lines (45 loc) · 1.1 KB
 
Oct 22, 2017
Oct 22, 2017
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
diff -ruN libvorbisidec-1.2.1.orig/Android.mk libvorbisidec-1.2.1/Android.mk
--- libvorbisidec-1.2.1.orig/Android.mk 1969-12-31 16:00:00.000000000 -0800
+++ libvorbisidec-1.2.1/Android.mk 2017-10-22 11:49:09.948298409 -0700
@@ -0,0 +1,32 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := vorbisidec
+
+LOCAL_C_INCLUDES :=
+
+LOCAL_CFLAGS :=
+
+ifeq ($(TARGET_ARCH),arm)
+ LOCAL_CFLAGS += -D_ARM_ASSEM_
+endif
+
+LOCAL_SRC_FILES += \
+ mdct.c.arm \
+ block.c \
+ window.c.arm \
+ synthesis.c \
+ info.c \
+ floor1.c.arm \
+ floor0.c.arm \
+ vorbisfile.c.arm \
+ res012.c \
+ mapping0.c \
+ registry.c \
+ codebook.c \
+ sharedbook.c.arm \
+
+LOCAL_SHARED_LIBRARIES := ogg
+
+include $(BUILD_STATIC_LIBRARY)
diff -ruN libvorbisidec-1.2.1.orig/misc.h libvorbisidec-1.2.1/misc.h
--- libvorbisidec-1.2.1.orig/misc.h 2017-10-22 11:25:03.341817045 -0700
+++ libvorbisidec-1.2.1/misc.h 2017-10-12 20:05:06.719770194 -0700
40
41
42
43
44
45
46
47
@@ -30,6 +30,7 @@
#include "asm_arm.h"
#include <stdlib.h> /* for abs() */
+#include <endian.h>
#ifndef _V_WIDE_MATH
#define _V_WIDE_MATH