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.
Showing the changes to codec/decoder/core/src/wels_decoder_thread.cpp (1 of 1 file). Show all
Unified · Split
| @@ -57,12 +57,6 @@ · 56 unmodified lines | ||
| 57 | 57 | #define HW_NCPU_NAME "hw.ncpu" |
| 58 | 58 | #endif |
| 59 | 59 | #endif |
| 60 | −#ifdef ANDROID_NDK | |
| 61 | −#include <cpu-features.h> | |
| 62 | −#endif | |
| 63 | −#ifdef __ANDROID__ | |
| 64 | −#include <android/api-level.h> | |
| 65 | −#endif | |
| 66 | 60 | |
| 67 | 61 | #include "wels_decoder_thread.h" |
| 68 | 62 | #include <stdio.h> |