diff options
Diffstat (limited to 'remoting/host/capturer_fake_ascii.cc')
-rw-r--r-- | remoting/host/capturer_fake_ascii.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/capturer_fake_ascii.cc b/remoting/host/capturer_fake_ascii.cc index 1729fb6..8ea73c4 100644 --- a/remoting/host/capturer_fake_ascii.cc +++ b/remoting/host/capturer_fake_ascii.cc @@ -22,8 +22,8 @@ CapturerFakeAscii::~CapturerFakeAscii() { void CapturerFakeAscii::ScreenConfigurationChanged() { width_ = kWidth; height_ = kHeight; - pixel_format_ = media::VideoFrame::ASCII; bytes_per_row_ = width_ * kBytesPerPixel; + pixel_format_ = media::VideoFrame::ASCII; // Create memory for the buffers. int buffer_size = height_ * bytes_per_row_; |