remove unnecessary double allocation

BUG=

Review-Url: https://codereview.webrtc.org/2226933005
Cr-Commit-Position: refs/heads/master@{#13744}
This commit is contained in:
kthelgason 2016-08-15 03:42:00 -07:00 committed by Commit bot
parent 0ccff57024
commit 3e3ebe6937

View File

@ -414,7 +414,6 @@ static cricket::VideoFormat const kIPhone4SFormat =
// currently supported on iPhone / iPad.
AVCaptureVideoDataOutput *videoDataOutput =
[[AVCaptureVideoDataOutput alloc] init];
videoDataOutput = [[AVCaptureVideoDataOutput alloc] init];
videoDataOutput.videoSettings = @{
(NSString *)kCVPixelBufferPixelFormatTypeKey :
@(kCVPixelFormatType_420YpCbCr8BiPlanarFullRange)