Index: webrtc/modules/video_coding/encoded_frame.cc |
diff --git a/webrtc/modules/video_coding/encoded_frame.cc b/webrtc/modules/video_coding/encoded_frame.cc |
index 23e681d9aefecc7bec4c2d44efe8ec2c875c60bb..fb12c5bc68da0083605600aaf06f028255788e37 100644 |
--- a/webrtc/modules/video_coding/encoded_frame.cc |
+++ b/webrtc/modules/video_coding/encoded_frame.cc |
@@ -21,7 +21,6 @@ VCMEncodedFrame::VCMEncodedFrame() |
_payloadType(0), |
_missingFrame(false), |
_codec(kVideoCodecUnknown), |
- _fragmentation(), |
_rotation_set(false) { |
_codecSpecificInfo.codecType = kVideoCodecUnknown; |
} |
@@ -32,7 +31,6 @@ VCMEncodedFrame::VCMEncodedFrame(const webrtc::EncodedImage& rhs) |
_payloadType(0), |
_missingFrame(false), |
_codec(kVideoCodecUnknown), |
- _fragmentation(), |
_rotation_set(false) { |
_codecSpecificInfo.codecType = kVideoCodecUnknown; |
_buffer = NULL; |
@@ -52,7 +50,6 @@ VCMEncodedFrame::VCMEncodedFrame(const VCMEncodedFrame& rhs) |
_missingFrame(rhs._missingFrame), |
_codecSpecificInfo(rhs._codecSpecificInfo), |
_codec(rhs._codec), |
- _fragmentation(), |
_rotation_set(rhs._rotation_set) { |
_buffer = NULL; |
_size = 0; |
@@ -63,7 +60,6 @@ VCMEncodedFrame::VCMEncodedFrame(const VCMEncodedFrame& rhs) |
memcpy(_buffer, rhs._buffer, rhs._length); |
_length = rhs._length; |
} |
- _fragmentation.CopyFrom(rhs._fragmentation); |
} |
VCMEncodedFrame::~VCMEncodedFrame() { |
@@ -203,10 +199,6 @@ void VCMEncodedFrame::CopyCodecSpecific(const RTPVideoHeader* header) { |
} |
} |
-const RTPFragmentationHeader* VCMEncodedFrame::FragmentationHeader() const { |
- return &_fragmentation; |
-} |
- |
void VCMEncodedFrame::VerifyAndAllocate(size_t minimumSize) { |
if (minimumSize > _size) { |
// create buffer of sufficient size |