Simplify VCMTimestampMap.
Fixes code formatting and uses size_t properly. Also makes use of IsNewerTimestamp instead of a simple > check, which should fix an edge-case bug. BUG= R=stefan@webrtc.org Review URL: https://codereview.webrtc.org/1358863002 Cr-Commit-Position: refs/heads/master@{#10094}
This commit is contained in:
@ -46,7 +46,7 @@ public:
|
||||
|
||||
uint64_t LastReceivedPictureID() const;
|
||||
|
||||
int32_t Map(uint32_t timestamp, VCMFrameInformation* frameInfo);
|
||||
void Map(uint32_t timestamp, VCMFrameInformation* frameInfo);
|
||||
int32_t Pop(uint32_t timestamp);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user