diff options
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r-- | auto_tests/toxav_many_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c index 75aec9c7..1e41b7fa 100644 --- a/auto_tests/toxav_many_test.c +++ b/auto_tests/toxav_many_test.c | |||
@@ -138,7 +138,7 @@ void *in_thread_call (void *arg) | |||
138 | 138 | ||
139 | const int frame_size = (av_DefaultSettings.audio_sample_rate * av_DefaultSettings.audio_frame_duration / 1000); | 139 | const int frame_size = (av_DefaultSettings.audio_sample_rate * av_DefaultSettings.audio_frame_duration / 1000); |
140 | int16_t sample_payload[frame_size]; | 140 | int16_t sample_payload[frame_size]; |
141 | randombytes_salsa20_random_buf(sample_payload, sizeof(int16_t) * frame_size); | 141 | randombytes((uint8_t *)sample_payload, sizeof(int16_t) * frame_size); |
142 | 142 | ||
143 | uint8_t prepared_payload[RTP_PAYLOAD_SIZE]; | 143 | uint8_t prepared_payload[RTP_PAYLOAD_SIZE]; |
144 | 144 | ||