Update spdlog to v1.14.1 and fix compile error

This commit is contained in:
dijunkun
2024-05-24 15:04:40 +08:00
parent a20927ec6c
commit 5deb52ce2d
5 changed files with 9 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ void RtpPacket::TryToDecodeRtpPacket() {
} else if (PAYLOAD_TYPE::DATA == PAYLOAD_TYPE(buffer_[1] & 0x7F)) {
DecodeData();
} else {
LOG_ERROR("Unknown pt: {}", PAYLOAD_TYPE(buffer_[1] & 0x7F));
LOG_ERROR("Unknown pt: {}", (int)PAYLOAD_TYPE(buffer_[1] & 0x7F));
}
}