shithub: openh264

Download patch

ref: fb570c3c786572b1c474bd55d22e081ea0634deb
parent: 4bc0b8ad188cf373e3224e9471963c116816fea6
author: Martin Storsjö <martin@martin.st>
date: Fri Oct 18 05:19:38 EDT 2019

Fix building for android

Remove unused includes from wels_decoder_thread.cpp.

The include path to cpu-features.h is only added to COMMON_INCLUDES,
as only files in codec/common/src included it - before the newly added
wels_decoder_thread.cpp, which didn't really need it.

--- a/codec/decoder/core/src/wels_decoder_thread.cpp
+++ b/codec/decoder/core/src/wels_decoder_thread.cpp
@@ -57,12 +57,6 @@
 #define HW_NCPU_NAME "hw.ncpu"
 #endif
 #endif
-#ifdef ANDROID_NDK
-#include <cpu-features.h>
-#endif
-#ifdef __ANDROID__
-#include <android/api-level.h>
-#endif
 
 #include "wels_decoder_thread.h"
 #include <stdio.h>