Fix integer truncation warning on MSVC
This commit is contained in:
parent
5c7a5ce129
commit
9da6329496
1 changed files with 1 additions and 1 deletions
|
|
@ -764,7 +764,7 @@ static void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length,
|
|||
}
|
||||
|
||||
if (!presentationTimeMs && frameIndex > 0) {
|
||||
firstPacketPresentationTime = receiveTimeMs - syntheticPtsBase;
|
||||
firstPacketPresentationTime = (unsigned int)(receiveTimeMs - syntheticPtsBase);
|
||||
}
|
||||
else {
|
||||
firstPacketPresentationTime = presentationTimeMs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue