Index: webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm b/webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm |
index 8394d664fbd9fba33420f4ba1de8fcd56bd0b9d1..942171be29b52c18ea957798c2d0d6447f5e695b 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm |
@@ -12,7 +12,6 @@ |
#import "RTCVideoFrame+Private.h" |
-#include "webrtc/api/video/i420_buffer.h" |
#include "webrtc/common_video/include/corevideo_frame_buffer.h" |
namespace webrtc { |
@@ -61,7 +60,7 @@ |
// not critical here. |
webrtc::VideoRotation rotation = static_cast<webrtc::VideoRotation>(frame.rotation); |
if (apply_rotation() && rotation != kVideoRotation_0) { |
- buffer = I420Buffer::Rotate(*buffer->NativeToI420Buffer(), rotation); |
+ buffer = I420Buffer::Rotate(buffer->NativeToI420Buffer(), rotation); |
rotation = kVideoRotation_0; |
} |