Fix for STL vector function data not available.
R=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1626004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4190 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
d30859e58e
commit
8d80fa83fc
@ -637,7 +637,9 @@ Channel::OnReceivedPayloadData(const uint8_t* payloadData,
|
||||
std::vector<uint16_t> nack_list = _audioCodingModule.GetNackList(
|
||||
round_trip_time);
|
||||
if (!nack_list.empty()) {
|
||||
ResendPackets(nack_list.data(), nack_list.size());
|
||||
// Can't use nack_list.data() since it's not supported by all
|
||||
// compilers.
|
||||
ResendPackets(&(nack_list[0]), nack_list.size());
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user