Delete VCMEncodedFrame::VerifyAndAllocate
And mark EncodedImage::Allocate as deprecated. Bug: webrtc:9378 Change-Id: I03ce907fa6b87803ddb72f548f60a9bf1b7c317d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/155163 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29383}
This commit is contained in:
@ -110,16 +110,6 @@ class VCMEncodedFrame : protected EncodedImage {
|
||||
_codecSpecificInfo = *codec_specific;
|
||||
}
|
||||
|
||||
/**
|
||||
* Verifies that current allocated buffer size is larger than or equal to the
|
||||
* input size.
|
||||
* If the current buffer size is smaller, a new allocation is made and the old
|
||||
* buffer data
|
||||
* is copied to the new buffer.
|
||||
* Buffer size is updated to minimumSize.
|
||||
*/
|
||||
void VerifyAndAllocate(size_t minimumSize);
|
||||
|
||||
protected:
|
||||
void Reset();
|
||||
|
||||
|
Reference in New Issue
Block a user