Skip to content

Commit

Permalink
Fix bug generating VPID_Code on Linux due to char_t vs. uint8_t confu…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
garethsb committed Sep 27, 2023
1 parent c0745c1 commit eca4fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Development/nmos/sdp_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ namespace nmos
{
return sdp_parameters::fmtp_t::value_type{ sdp::fields::DID_SDID, make_fmtp_did_sdid(did_sdid) };
}));
if (0 != params.vpid_code) fmtp.push_back({ sdp::fields::VPID_Code, utility::ostringstreamed(params.vpid_code) });
if (0 != params.vpid_code) fmtp.push_back({ sdp::fields::VPID_Code, utility::ostringstreamed((uint32_t)params.vpid_code) });
if (0 != params.exactframerate) fmtp.push_back({ sdp::fields::exactframerate, nmos::details::make_exactframerate(params.exactframerate) });
if (!params.tm.empty()) fmtp.push_back({ sdp::fields::TM, params.tm.name });
if (!params.ssn.empty()) fmtp.push_back({ sdp::fields::smpte_standard_number, params.ssn.name });
Expand Down

0 comments on commit eca4fca

Please sign in to comment.