shithub: openh264

Download patch

ref: 181fe0a99ee8bba97968a020dcc8e6e7e82813e4
parent: 474deacd7a8184ec18a8d34c206f1466f52eea5a
author: Martin Storsjö <[email protected]>
date: Mon Mar 3 18:19:29 EST 2014

Enable multithreading on android

--- a/build/platform-android.mk
+++ b/build/platform-android.mk
@@ -31,7 +31,7 @@
 CXX = $(TOOLCHAINPREFIX)g++
 CC = $(TOOLCHAINPREFIX)gcc
 AR = $(TOOLCHAINPREFIX)ar
-CFLAGS += -DLINUX -DANDROID_NDK -fpic --sysroot=$(SYSROOT)
+CFLAGS += -DLINUX -DANDROID_NDK -DMT_ENABLED -fpic --sysroot=$(SYSROOT)
 CXXFLAGS += -fno-rtti -fno-exceptions
 LDFLAGS += --sysroot=$(SYSROOT)
 SHLDFLAGS = -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-soname,libwels.so