Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Issue 2993513002: Fix off-by-one bugs in video_coding::PacketBuffer when the buffer is filled with a single frame. (Closed)

Created:
3 years, 4 months ago by philipel
Modified:
3 years, 4 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix off-by-one bugs in video_coding::PacketBuffer when the buffer is filled with a single frame. BUG=webrtc:8028 Review-Url: https://codereview.webrtc.org/2993513002 Cr-Commit-Position: refs/heads/master@{#19209} Committed: https://chromium.googlesource.com/external/webrtc/+/ee13e8919c20de5860a510e91fac71fd5a7e9b8d

Patch Set 1 #

Total comments: 11

Patch Set 2 : Feedback #

Patch Set 3 : Feedback #

Patch Set 4 : const --> static constexpr #

Patch Set 5 : new --> new[] #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -10 lines) Patch
M webrtc/modules/video_coding/frame_object.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/frame_object.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/packet_buffer.cc View 1 2 3 chunks +20 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/video_packet_buffer_unittest.cc View 1 2 3 4 3 chunks +70 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
philipel
3 years, 4 months ago (2017-08-01 11:13:56 UTC) #2
stefan-webrtc
https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (left): https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#oldcode260 webrtc/modules/video_coding/packet_buffer.cc:260: // we will have at most |size_ - 1| ...
3 years, 4 months ago (2017-08-01 11:24:17 UTC) #3
philipel
https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (left): https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#oldcode260 webrtc/modules/video_coding/packet_buffer.cc:260: // we will have at most |size_ - 1| ...
3 years, 4 months ago (2017-08-01 11:51:23 UTC) #4
stefan-webrtc
https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode356 webrtc/modules/video_coding/packet_buffer.cc:356: data_buffer_[index].seqNum != seq_num) { On 2017/08/01 11:51:23, philipel wrote: ...
3 years, 4 months ago (2017-08-01 12:06:22 UTC) #5
philipel
https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode356 webrtc/modules/video_coding/packet_buffer.cc:356: data_buffer_[index].seqNum != seq_num) { On 2017/08/01 12:06:22, stefan-webrtc wrote: ...
3 years, 4 months ago (2017-08-01 13:00:06 UTC) #6
stefan-webrtc
lgtm https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2993513002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode356 webrtc/modules/video_coding/packet_buffer.cc:356: data_buffer_[index].seqNum != seq_num) { On 2017/08/01 13:00:05, philipel ...
3 years, 4 months ago (2017-08-01 15:14:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2993513002/40001
3 years, 4 months ago (2017-08-01 15:16:26 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_dbg/builds/11083)
3 years, 4 months ago (2017-08-01 15:23:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2993513002/60001
3 years, 4 months ago (2017-08-01 15:38:56 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_asan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_asan/builds/26750)
3 years, 4 months ago (2017-08-01 15:55:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2993513002/80001
3 years, 4 months ago (2017-08-02 08:43:37 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/external/webrtc/+/ee13e8919c20de5860a510e91fac71fd5a7e9b8d
3 years, 4 months ago (2017-08-02 09:07:54 UTC) #22
philipel
3 years, 4 months ago (2017-08-02 11:17:50 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2990183002/ by philipel@webrtc.org.

The reason for reverting is: Break performance bots..

Powered by Google App Engine
This is Rietveld 408576698