mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
Update h264_pusher.c, fix build issue (#3444)
修复win构建失败 strcasestr->strstr
This commit is contained in:
parent
edca662208
commit
e6506a96d4
@ -68,7 +68,7 @@ void on_push_shutdown(void *user_data, int err_code, const char *err_msg) {
|
|||||||
void API_CALL on_regist(void *user_data, mk_media_source sender, int regist) {
|
void API_CALL on_regist(void *user_data, mk_media_source sender, int regist) {
|
||||||
Context *ptr = (Context *)user_data;
|
Context *ptr = (Context *)user_data;
|
||||||
const char *schema = mk_media_source_get_schema(sender);
|
const char *schema = mk_media_source_get_schema(sender);
|
||||||
if (strcasestr(ptr->url, schema) != ptr->url) {
|
if (strstr(ptr->url, schema) != ptr->url) {
|
||||||
// 协议匹配失败
|
// 协议匹配失败
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user