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

Unified Diff: media/filters/ffmpeg_video_decoder.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/filters/ffmpeg_video_decoder.cc
diff --git a/media/filters/ffmpeg_video_decoder.cc b/media/filters/ffmpeg_video_decoder.cc
index 04350fc094d7a0d3bd926edc4ff76ee79cc47185..09a119f9d8b818392dac1b507f6a5c9c70c851f7 100644
--- a/media/filters/ffmpeg_video_decoder.cc
+++ b/media/filters/ffmpeg_video_decoder.cc
@@ -61,7 +61,7 @@ static int GetVideoBufferImpl(struct AVCodecContext* s,
return decoder->GetVideoBuffer(s, frame, flags);
}
-static void ReleaseVideoBufferImpl(void* opaque, uint8* data) {
+static void ReleaseVideoBufferImpl(void* opaque, uint8_t* data) {
scoped_refptr<VideoFrame> video_frame;
video_frame.swap(reinterpret_cast<VideoFrame**>(&opaque));
}
@@ -286,7 +286,7 @@ bool FFmpegVideoDecoder::FFmpegDecode(
packet.data = NULL;
packet.size = 0;
} else {
- packet.data = const_cast<uint8*>(buffer->data());
+ packet.data = const_cast<uint8_t*>(buffer->data());
packet.size = buffer->data_size();
// Let FFmpeg handle presentation timestamp reordering.

Powered by Google App Engine
This is Rietveld 408576698