1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 03:26:45 +02:00

fix possible crash

This commit is contained in:
Jfreegman
2014-12-06 13:26:27 -05:00
parent 47692edee4
commit 9464b369a4
2 changed files with 4 additions and 4 deletions

View File

@ -334,7 +334,9 @@ void callback_peer_timeout ( void* av, int32_t call_index, void* arg )
void write_device_callback_group(Tox *m, int groupnum, int peernum, const int16_t *pcm, unsigned int samples,
uint8_t channels, unsigned int sample_rate, void *arg)
{
ToxWindow *windows = arg;
return; /* TODO: fix this stuff */
ToxWindow *windows = arg;
int i;
for (i = 0; i < MAX_WINDOWS_NUM; ++i) {