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

Unified Diff: media/omx/omx_test.cc

Issue 552017: Fix build caused by omx_test (Closed)
Patch Set: fix Created 10 years, 11 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: media/omx/omx_test.cc
diff --git a/media/omx/omx_test.cc b/media/omx/omx_test.cc
index caab772df9d3dc327ae93d122b0d5743e9391707..bd1cd2f57f51b39a37639e4ed9ee608536a8eaba 100644
--- a/media/omx/omx_test.cc
+++ b/media/omx/omx_test.cc
@@ -410,6 +410,8 @@ int main(int argc, char** argv) {
DCHECK_GE(loop_count, 1);
media::OmxCodec::OmxMediaFormat input, output;
+ memset(&input, 0, sizeof(input));
+ memset(&output, 0, sizeof(output));
if (encoder) {
input.codec = media::OmxCodec::kCodecRaw;
// TODO(jiesun): make other format available.
« 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