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

Unified Diff: media/cast/video_sender/codecs/vp8/vp8_encoder.cc

Issue 25604007: Revert 226305 "Fix code style and gyp files in cast to build cas..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1658/src/
Patch Set: Created 7 years, 2 months 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/cast/video_sender/codecs/vp8/vp8_encoder.cc
===================================================================
--- media/cast/video_sender/codecs/vp8/vp8_encoder.cc (revision 226456)
+++ media/cast/video_sender/codecs/vp8/vp8_encoder.cc (working copy)
@@ -161,7 +161,7 @@
int total_size = 0;
while ((pkt = vpx_codec_get_cx_data(encoder_, &iter)) != NULL) {
if (pkt->kind == VPX_CODEC_CX_FRAME_PKT) {
- total_size += static_cast<int>(pkt->data.frame.sz);
+ total_size += pkt->data.frame.sz;
encoded_image->data.reserve(total_size);
encoded_image->data.insert(
encoded_image->data.end(),
« no previous file with comments | « media/cast/video_receiver/video_receiver_unittest.cc ('k') | media/cast/video_sender/mock_video_encoder_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698