Update h264_pusher.c, fix build issue (#3444)

修复win构建失败 strcasestr->strstr
This commit is contained in:
Dw9 2024-04-08 10:16:45 +08:00 committed by GitHub
parent edca662208
commit e6506a96d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {
Context *ptr = (Context *)user_data;
const char *schema = mk_media_source_get_schema(sender);
if (strcasestr(ptr->url, schema) != ptr->url) {
if (strstr(ptr->url, schema) != ptr->url) {
// 协议匹配失败
return;
}