add: 补充MediaSource C API _strdup in linux
This commit is contained in:
parent
5b850375ac
commit
5926160289
|
|
@ -25,6 +25,10 @@
|
||||||
using namespace toolkit;
|
using namespace toolkit;
|
||||||
using namespace mediakit;
|
using namespace mediakit;
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
|
#define _strdup strdup
|
||||||
|
#endif
|
||||||
|
|
||||||
///////////////////////////////////////////RecordInfo/////////////////////////////////////////////
|
///////////////////////////////////////////RecordInfo/////////////////////////////////////////////
|
||||||
API_EXPORT uint64_t API_CALL mk_mp4_info_get_start_time(const mk_mp4_info ctx){
|
API_EXPORT uint64_t API_CALL mk_mp4_info_get_start_time(const mk_mp4_info ctx){
|
||||||
assert(ctx);
|
assert(ctx);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue