add: 补充MediaSource C API _strdup in linux

This commit is contained in:
李道甫 2024-04-01 18:34:09 +08:00
parent 5b850375ac
commit 5926160289
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@
using namespace toolkit;
using namespace mediakit;
#ifndef _WIN32
#define _strdup strdup
#endif
///////////////////////////////////////////RecordInfo/////////////////////////////////////////////
API_EXPORT uint64_t API_CALL mk_mp4_info_get_start_time(const mk_mp4_info ctx){
assert(ctx);