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

Unified Diff: trunk/src/media/cast/receiver/video_decoder.cc

Issue 328313002: Revert 276603 "Cast: Synthetic benchmark tool." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | « trunk/src/media/cast/cast_testing.gypi ('k') | trunk/src/media/cast/test/cast_benchmarks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/cast/receiver/video_decoder.cc
===================================================================
--- trunk/src/media/cast/receiver/video_decoder.cc (revision 276619)
+++ trunk/src/media/cast/receiver/video_decoder.cc (working copy)
@@ -185,8 +185,8 @@
virtual scoped_refptr<VideoFrame> Decode(uint8* data, int len) OVERRIDE {
base::JSONReader reader;
- scoped_ptr<base::Value> values(
- reader.Read(base::StringPiece(reinterpret_cast<char*>(data))));
+ scoped_ptr<base::Value> values(reader.Read(
+ base::StringPiece(reinterpret_cast<char*>(data), len)));
base::DictionaryValue* dict = NULL;
values->GetAsDictionary(&dict);
« no previous file with comments | « trunk/src/media/cast/cast_testing.gypi ('k') | trunk/src/media/cast/test/cast_benchmarks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698