Index: webrtc/modules/video_coding/main/source/generic_decoder.cc |
diff --git a/webrtc/modules/video_coding/main/source/generic_decoder.cc b/webrtc/modules/video_coding/main/source/generic_decoder.cc |
index 1cd67dfddfbb2a176bcfb48dc697e58cbeb83a30..408137bb528ca05590898bfaf4f032f8257ade9d 100644 |
--- a/webrtc/modules/video_coding/main/source/generic_decoder.cc |
+++ b/webrtc/modules/video_coding/main/source/generic_decoder.cc |
@@ -103,10 +103,10 @@ uint64_t VCMDecodedFrameCallback::LastReceivedPictureID() const |
return _lastReceivedPictureID; |
} |
-int32_t VCMDecodedFrameCallback::Map(uint32_t timestamp, VCMFrameInformation* frameInfo) |
-{ |
- CriticalSectionScoped cs(_critSect); |
- return _timestampMap.Add(timestamp, frameInfo); |
+void VCMDecodedFrameCallback::Map(uint32_t timestamp, |
+ VCMFrameInformation* frameInfo) { |
+ CriticalSectionScoped cs(_critSect); |
+ _timestampMap.Add(timestamp, frameInfo); |
} |
int32_t VCMDecodedFrameCallback::Pop(uint32_t timestamp) |