commit | b0f968a761b715da4cf81e4b9c3cab0ccd322cf2 | [log] [tgz] |
---|---|---|
author | philipel <philipel@webrtc.org> | Thu Mar 14 10:52:37 2019 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 14 13:01:20 2019 +0000 |
tree | 989b9ac7141de5185c9a04b2a406f383995b3454 | |
parent | e8efbbd61b34eee210b0d206cd67652a84362b79 [diff] [blame] |
SeqNumUnwrapper::Unwrap now returns int64_t instead of uint64_t. Bug: webrtc:10263 Change-Id: Idaeae6be01bd4eba0691226c958d70e114161ffd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127295 Commit-Queue: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Johannes Kron <kron@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27129}
diff --git a/modules/video_coding/video_packet_buffer_unittest.cc b/modules/video_coding/video_packet_buffer_unittest.cc index 3ef5624..9d8a3b0 100644 --- a/modules/video_coding/video_packet_buffer_unittest.cc +++ b/modules/video_coding/video_packet_buffer_unittest.cc
@@ -501,7 +501,7 @@ uint16_t seq_num = kFirstSeqNum; // Loop until seq_num wraps around. - SeqNumUnwrapper<uint16_t> unwrapper(0); + SeqNumUnwrapper<uint16_t> unwrapper; while (unwrapper.Unwrap(seq_num) < std::numeric_limits<uint16_t>::max()) { Insert(seq_num++, kKeyFrame, kFirst, kNotLast, 0, nullptr, timestamp); for (int i = 0; i < 5; ++i) {