[Core, mod_mariadb, mod_ilbc] Fix build on gcc 12.

This commit is contained in:
Andrey Volk
2023-07-25 00:25:53 +03:00
parent 0cdf1a5757
commit 64f8ff03be
4 changed files with 5 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ static switch_status_t switch_ilbc_fmtp_parse(const char *fmtp, switch_codec_fmt
memset(codec_fmtp, '\0', sizeof(struct switch_codec_fmtp));
if (fmtp && (mode = strstr(fmtp, "mode=")) && (mode + 5)) {
if (fmtp && (mode = strstr(fmtp, "mode=")) && *(mode + 5)) {
codec_ms = atoi(mode + 5);
}
if (!codec_ms) {