Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: media/capture/video/fake_video_capture_device.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/capture/video/fake_video_capture_device.cc
diff --git a/media/capture/video/fake_video_capture_device.cc b/media/capture/video/fake_video_capture_device.cc
index c12e7a0b4ea29b45639f2a081cb09099854806fa..302a0c975fb4614e68372824497fd49a38c02bb9 100644
--- a/media/capture/video/fake_video_capture_device.cc
+++ b/media/capture/video/fake_video_capture_device.cc
@@ -119,7 +119,7 @@ void FakeVideoCaptureDevice::AllocateAndStart(
}
if (capture_format_.pixel_format == PIXEL_FORMAT_I420) {
- fake_frame_.reset(new uint8[VideoFrame::AllocationSize(
+ fake_frame_.reset(new uint8_t[VideoFrame::AllocationSize(
PIXEL_FORMAT_I420, capture_format_.frame_size)]);
}

Powered by Google App Engine
This is Rietveld 408576698