码迷,mamicode.com
首页 > Windows程序 > 详细

rtmpdump应用在window中

时间:2019-05-29 14:29:05      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:end   str   window   win32   com   函数   tmp   deb   应用   

rtmp.c 中RTMP_GetTime()函数要改成如下:

#pragma comment(lib, "winmm.lib ")
uint32_t
RTMP_GetTime()
{
// #ifdef _DEBUG
// return 0;
// #elif defined(_WIN32)
// return timeGetTime();
#ifdef _WIN32
return timeGetTime();
#else
struct tms t;
if (!clk_tck) clk_tck = sysconf(_SC_CLK_TCK);
return times(&t) * 1000 / clk_tck;
#endif
}

rtmpdump应用在window中

标签:end   str   window   win32   com   函数   tmp   deb   应用   

原文地址:https://www.cnblogs.com/bigfi/p/10943434.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!