Remove operator overloading from RTPFragmentationHeader.
Instead supply a CopyFrom() method. TEST=vie_auto_test Review URL: https://webrtc-codereview.appspot.com/972004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3158 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -65,8 +65,7 @@ VCMEncodedFrame::VCMEncodedFrame(const VCMEncodedFrame& rhs)
|
||||
memcpy(_buffer, rhs._buffer, rhs._length);
|
||||
_length = rhs._length;
|
||||
}
|
||||
// Deep operator=
|
||||
_fragmentation = rhs._fragmentation;
|
||||
_fragmentation.CopyFrom(rhs._fragmentation);
|
||||
}
|
||||
|
||||
VCMEncodedFrame::~VCMEncodedFrame()
|
||||
|
||||
Reference in New Issue
Block a user