Index: webrtc/modules/audio_coding/test/insert_packet_with_timing.cc |
diff --git a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc |
index 44ef9df7d9fa94f03461b57077560dcf298fe0dd..4fa4e5276c943f30780abaca3ed41cdfc6baabe3 100644 |
--- a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc |
+++ b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc |
@@ -147,7 +147,7 @@ class InsertPacketWithTiming { |
receive_acm_->PlayoutData10Ms(static_cast<int>(FLAGS_output_fs_hz), |
&frame_, &muted); |
ASSERT_FALSE(muted); |
- fwrite(frame_.data_, sizeof(frame_.data_[0]), |
+ fwrite(frame_.data(), sizeof(*frame_.data()), |
frame_.samples_per_channel_ * frame_.num_channels_, pcm_out_fid_); |
*action |= kAudioPlayedOut; |
} |