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

Unified Diff: content/renderer/pepper/video_encoder_shim.cc

Issue 1276633004: convince gcc that cpu_used et al are always initialized (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just zero values Created 5 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/video_encoder_shim.cc
diff --git a/content/renderer/pepper/video_encoder_shim.cc b/content/renderer/pepper/video_encoder_shim.cc
index 43c63474a4533293ad3fb3b6235e5235ad148c0d..ac4e1b3c2d5ef2d7891f270d576bf8ad259e9257 100644
--- a/content/renderer/pepper/video_encoder_shim.cc
+++ b/content/renderer/pepper/video_encoder_shim.cc
@@ -77,6 +77,9 @@ void GetVpxCodecParameters(media::VideoCodecProfile codec,
break;
default:
*vpx_codec = nullptr;
+ *min_quantizer = 0;
+ *max_quantizer = 0;
+ *cpu_used = 0;
NOTREACHED();
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698