Bugfix buffer usage out of scope.

Review URL: https://webrtc-codereview.appspot.com/372001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1507 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pwestin@webrtc.org 2012-01-23 16:23:31 +00:00
parent 12dbc23851
commit b30f0edce6

View File

@ -801,8 +801,8 @@ WebRtc_Word32 RTPSender::ReSendPacket(WebRtc_UWord16 packet_id,
return 0;
}
WebRtc_UWord8 data_buffer_rtx[IP_PACKET_SIZE];
if (_RTX) {
WebRtc_UWord8 data_buffer_rtx[IP_PACKET_SIZE];
buffer_to_send_ptr = data_buffer_rtx;
CriticalSectionScoped cs(_sendCritsect);