mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-18 06:41:25 +00:00
Make the JNI bindings compile on Windows
This commit is contained in:
@@ -1,8 +1,22 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#define inline __inline
|
||||
#endif
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libswscale/swscale.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma comment(lib, "avcodec.lib")
|
||||
#pragma comment(lib, "avfilter.lib")
|
||||
#pragma comment(lib, "avformat.lib")
|
||||
#pragma comment(lib, "avutil.lib")
|
||||
#pragma comment(lib, "swresample.lib")
|
||||
#pragma comment(lib, "swscale.lib")
|
||||
#pragma comment(lib, "pthreadVC2.lib")
|
||||
#endif
|
||||
|
||||
#include "nv_avc_dec.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user