| Index: webrtc/modules/rtp_rtcp/source/rtp_format.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format.cc b/webrtc/modules/rtp_rtcp/source/rtp_format.cc
|
| index c9800f7dd11d2eeb5d22841c1bfe918c40ca2f0e..cdb9c4920e31b02fab86482558b757b065b2538f 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtp_format.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_format.cc
|
| @@ -7,8 +7,6 @@
|
| * in the file PATENTS. All contributing project authors may
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
| -
|
| -#include <utility>
|
|
|
| #include "webrtc/modules/rtp_rtcp/source/rtp_format.h"
|
|
|
| @@ -24,9 +22,7 @@
|
| FrameType frame_type) {
|
| switch (type) {
|
| case kRtpVideoH264:
|
| - assert(rtp_type_header != NULL);
|
| - return new RtpPacketizerH264(max_payload_len,
|
| - rtp_type_header->H264.packetization_mode);
|
| + return new RtpPacketizerH264(frame_type, max_payload_len);
|
| case kRtpVideoVp8:
|
| assert(rtp_type_header != NULL);
|
| return new RtpPacketizerVp8(rtp_type_header->VP8, max_payload_len);
|
|
|