diff options
Diffstat (limited to 'media/cast/sender/fake_software_video_encoder.cc')
-rw-r--r-- | media/cast/sender/fake_software_video_encoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/cast/sender/fake_software_video_encoder.cc b/media/cast/sender/fake_software_video_encoder.cc index 7a2a333..0cd0139 100644 --- a/media/cast/sender/fake_software_video_encoder.cc +++ b/media/cast/sender/fake_software_video_encoder.cc @@ -57,7 +57,7 @@ void FakeSoftwareVideoEncoder::Encode( values.SetInteger("ref", encoded_frame->referenced_frame_id); values.SetInteger("id", encoded_frame->frame_id); values.SetInteger("size", frame_size_); - base::JSONWriter::Write(&values, &encoded_frame->data); + base::JSONWriter::Write(values, &encoded_frame->data); encoded_frame->data.resize( std::max<size_t>(encoded_frame->data.size(), frame_size_), ' '); } |