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

Unified Diff: media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.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_h264_to_annex_b_bitstream_converter.cc
diff --git a/media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc b/media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc
index dd1b3d7df5893042163677f63f3c60d008b3df08..897658def02df5db34ed97f54a23259bc0d7dbc2 100644
--- a/media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc
+++ b/media/filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc
@@ -41,7 +41,7 @@ bool FFmpegH264ToAnnexBBitstreamConverter::ConvertPacket(AVPacket* packet) {
}
}
- uint32 output_packet_size = converter_.CalculateNeededOutputBufferSize(
+ uint32_t output_packet_size = converter_.CalculateNeededOutputBufferSize(
packet->data, packet->size, avc_config.get());
if (output_packet_size == 0)
@@ -59,7 +59,7 @@ bool FFmpegH264ToAnnexBBitstreamConverter::ConvertPacket(AVPacket* packet) {
// Proceed with the conversion of the actual in-band NAL units, leave room
// for configuration in the beginning.
- uint32 io_size = dest_packet.size;
+ uint32_t io_size = dest_packet.size;
if (!converter_.ConvertNalUnitStreamToByteStream(
packet->data, packet->size,
avc_config.get(),

Powered by Google App Engine
This is Rietveld 408576698