mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 12:45:35 +08:00
Fix api export define error
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#ifndef _X_H_
|
||||
#define _X_H_
|
||||
|
||||
#ifdef DLL_EXPORTS
|
||||
#if defined(_MSC_VER)
|
||||
#define DLLAPI __declspec(dllexport)
|
||||
#elif defined(__GNUC__)
|
||||
#define DLLAPI __attribute__((visibility("default")))
|
||||
#else
|
||||
#define DLLAPI __declspec(dllimport)
|
||||
#define DLLAPI
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -47,7 +47,7 @@ FfmpegVideoDecoder::~FfmpegVideoDecoder() {
|
||||
}
|
||||
|
||||
int FfmpegVideoDecoder::Init() {
|
||||
av_log_set_level(AV_LOG_ERROR);
|
||||
av_log_set_level(AV_LOG_QUIET);
|
||||
|
||||
codec_id_ = AV_CODEC_ID_H264;
|
||||
codec_ = avcodec_find_decoder(codec_id_);
|
||||
|
||||
Reference in New Issue
Block a user