Merge remote-tracking branch 'origin/master'

This commit is contained in:
Dmytro Bogovych 2024-10-24 12:29:43 +03:00
commit 62e4828241
3 changed files with 666 additions and 661 deletions

View File

@ -16,6 +16,7 @@
#define stricmp strcasecmp #define stricmp strcasecmp
#endif #endif
#include <cstdint>
class strx class strx
{ {

File diff suppressed because it is too large Load Diff

View File

@ -116,7 +116,7 @@ CodecList::Settings::OpusSpec CodecList::Settings::OpusSpec::parse(const std::st
{ {
OpusSpec result; OpusSpec result;
auto parts = strx::split(spec, "-"); auto parts = strx::split(spec, "-/");
if (parts.size() == 3) if (parts.size() == 3)
{ {
result.mPayloadType = strx::toInt(strx::trim(parts.front()).c_str(), -1); result.mPayloadType = strx::toInt(strx::trim(parts.front()).c_str(), -1);