commit | c18f1d7c9432a2bf7d112820eb2b1dd2dbe2ba4b | [log] [tgz] |
---|---|---|
author | philipel <philipel@webrtc.org> | Wed Aug 02 04:18:02 2017 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 02 11:18:02 2017 +0000 |
tree | 4ba06cc2080bfc313583dec5b22a008d5f895eb9 | |
parent | 605da2fed10ac4ae348e2830e3a821c111d30263 [diff] [blame] |
Revert of Fix off-by-one bugs in video_coding::PacketBuffer when the buffer is filled with a single frame. (patchset #5 id:80001 of https://codereview.chromium.org/2993513002/ ) Reason for revert: Break performance bots. Original issue's 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 TBR=stefan@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:8028 Review-Url: https://codereview.webrtc.org/2990183002 Cr-Commit-Position: refs/heads/master@{#19211}
diff --git a/webrtc/modules/video_coding/frame_object.h b/webrtc/modules/video_coding/frame_object.h index 0751077..fb2cd33 100644 --- a/webrtc/modules/video_coding/frame_object.h +++ b/webrtc/modules/video_coding/frame_object.h
@@ -42,7 +42,7 @@ // been implemented. virtual bool delayed_by_retransmission() const { return 0; } - size_t size() const { return _length; } + size_t size() { return _length; } // The tuple (|picture_id|, |spatial_layer|) uniquely identifies a frame // object. For codec types that don't necessarily have picture ids they