shithub: openh264

Download patch

ref: b4fdfa64af3ea224227b8fee79f0d3f486974f5d
parent: a0002c2be85e4c6be8abb997bd5e589ec26ccf69
author: Martin Storsjö <[email protected]>
date: Sun May 4 12:00:04 EDT 2014

Use the new library name in the android sample projects

--- a/codec/build/android/dec/jni/welsdecdemo.mk
+++ b/codec/build/android/dec/jni/welsdecdemo.mk
@@ -3,7 +3,7 @@
 
 include $(CLEAR_VARS)
 LOCAL_MODULE    := wels
-LOCAL_SRC_FILES := ../../../../../libwels.so
+LOCAL_SRC_FILES := ../../../../../libopenh264.so
 include $(PREBUILT_SHARED_LIBRARY)
 
 
--- a/codec/build/android/dec/src/com/wels/dec/WelsDecTest.java
+++ b/codec/build/android/dec/src/com/wels/dec/WelsDecTest.java
@@ -104,7 +104,7 @@
     private static final String TAG = "welsdec";
     static {
         try {
-            System.loadLibrary("wels");
+            System.loadLibrary("openh264");
             System.loadLibrary("stlport_shared");
             System.loadLibrary("welsdecdemo");
             Log.v(TAG, "Load libwelsdec successful");
--- a/codec/build/android/enc/jni/welsencdemo.mk
+++ b/codec/build/android/enc/jni/welsencdemo.mk
@@ -3,7 +3,7 @@
 
 include $(CLEAR_VARS)
 LOCAL_MODULE    := wels
-LOCAL_SRC_FILES := ../../../../../libwels.so
+LOCAL_SRC_FILES := ../../../../../libopenh264.so
 include $(PREBUILT_SHARED_LIBRARY)
 
 
--- a/codec/build/android/enc/src/com/wels/enc/WelsEncTest.java
+++ b/codec/build/android/enc/src/com/wels/enc/WelsEncTest.java
@@ -104,7 +104,7 @@
     private static final String TAG = "welsenc";
     static {
         try {
-            System.loadLibrary("wels");
+            System.loadLibrary("openh264");
             System.loadLibrary("stlport_shared");
             System.loadLibrary("welsencdemo");
             Log.v(TAG, "Load libwelsencdemo.so successful");