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

@@ -66,7 +66,7 @@ int FecDecoder::ResetParams(unsigned int source_symbol_num) {
fec_params_->encoding_symbol_length = max_size_of_packet_;
if (OF_STATUS_OK != of_set_fec_parameters(fec_session_, fec_params_)) {
LOG_ERROR("Set FEC params failed for codec_id {}", fec_codec_id_);
LOG_ERROR("Set FEC params failed for codec_id {}", (int)fec_codec_id_);
return -1;
}

View File

@@ -62,7 +62,7 @@ uint8_t **FecEncoder::Encode(const char *data, size_t len) {
fec_params_->encoding_symbol_length = max_size_of_packet_;
if (OF_STATUS_OK != of_set_fec_parameters(fec_session_, fec_params_)) {
LOG_ERROR("Set FEC params failed for codec_id {}", fec_codec_id_);
LOG_ERROR("Set FEC params failed for codec_id {}", (int)fec_codec_id_);
return nullptr;
}