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

Unified Diff: media/capture/video/mac/video_capture_device_decklink_mac.mm

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/mac/video_capture_device_decklink_mac.mm
diff --git a/media/capture/video/mac/video_capture_device_decklink_mac.mm b/media/capture/video/mac/video_capture_device_decklink_mac.mm
index 6877f962061ac4d052d8885e8f905907faac93d3..9dc9865b4b171c3544e8c41460cba074def49659 100644
--- a/media/capture/video/mac/video_capture_device_decklink_mac.mm
+++ b/media/capture/video/mac/video_capture_device_decklink_mac.mm
@@ -232,7 +232,7 @@ HRESULT DeckLinkCaptureDelegate::VideoInputFrameArrived(
IDeckLinkVideoInputFrame* video_frame,
IDeckLinkAudioInputPacket* /* audio_packet */) {
// Capture frames are manipulated as an IDeckLinkVideoFrame.
- uint8* video_data = NULL;
+ uint8_t* video_data = NULL;
video_frame->GetBytes(reinterpret_cast<void**>(&video_data));
media::VideoPixelFormat pixel_format =
@@ -444,7 +444,7 @@ VideoCaptureDeviceDeckLinkMac::~VideoCaptureDeviceDeckLinkMac() {
}
void VideoCaptureDeviceDeckLinkMac::OnIncomingCapturedData(
- const uint8* data,
+ const uint8_t* data,
size_t length,
const VideoCaptureFormat& frame_format,
int rotation, // Clockwise.

Powered by Google App Engine
This is Rietveld 408576698