History

make the decoder compile and run with treason

Sigrid Solveig Haflínudóttir committed 5 years ago

Commit 37423d41 parent be8e62f71 files · +961 −1217Browse files

Showing the changes to codec/decoder/core/src/wels_decoder_thread.cpp (1 of 71 files). Show all

Unified · Split

codec/decoder/core/src/wels_decoder_thread.cpp+0−22
@@ -38,29 +38,7 @@ · 37 unmodified lines
3838 *************************************************************************************
3939 */
4040
41−
42−#ifdef __linux__
43−#ifndef _GNU_SOURCE
44−#define _GNU_SOURCE
45−#endif
46−#include <sched.h>
47−#elif !defined(_WIN32) && !defined(__CYGWIN__)
48−#include <sys/types.h>
49−#include <sys/param.h>
50−#include <unistd.h>
51−#ifndef __Fuchsia__
52−#include <sys/sysctl.h>
53−#endif
54−#ifdef __APPLE__
55−#define HW_NCPU_NAME "hw.logicalcpu"
56−#else
57−#define HW_NCPU_NAME "hw.ncpu"
58−#endif
59−#endif
60−
6141 #include "wels_decoder_thread.h"
62−#include <stdio.h>
63−#include <stdlib.h>
6442
6543 int32_t GetCPUCount() {
6644 WelsLogicalProcessInfo pInfo;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t