
Instead, compute the needed buffer size for the encoded VP8 frame prior to copying the data. Bug: chromium:1012256 Change-Id: I3dda921f6d8f974731d2138bc5f6166cfdb9a321 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157303 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29531}