VCMEncodedFrame::VerifyAndAllocate: Use size_t instead of uint32_t for size argument
BUG=484432 R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/53379004 Cr-Commit-Position: refs/heads/master@{#9135}
This commit is contained in:
@ -148,7 +148,7 @@ const RTPFragmentationHeader* VCMEncodedFrame::FragmentationHeader() const {
|
||||
return &_fragmentation;
|
||||
}
|
||||
|
||||
void VCMEncodedFrame::VerifyAndAllocate(const uint32_t minimumSize)
|
||||
void VCMEncodedFrame::VerifyAndAllocate(size_t minimumSize)
|
||||
{
|
||||
if(minimumSize > _size)
|
||||
{
|
||||
|
@ -108,7 +108,7 @@ protected:
|
||||
* is copied to the new buffer.
|
||||
* Buffer size is updated to minimumSize.
|
||||
*/
|
||||
void VerifyAndAllocate(const uint32_t minimumSize);
|
||||
void VerifyAndAllocate(size_t minimumSize);
|
||||
|
||||
void Reset();
|
||||
|
||||
|
Reference in New Issue
Block a user