mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 12:45:35 +08:00
Update spdlog to v1.14.1 and fix compile error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user