diff options
author | irungentoo <irungentoo@gmail.com> | 2014-05-25 12:28:59 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-05-25 12:28:59 -0400 |
commit | 9a4659e5758509bf1bc97bff5b0dd07307fc2383 (patch) | |
tree | f9259feacb3df9d281cb6ce32c4836318f31ee2b /auto_tests/toxav_many_test.c | |
parent | 82e38883a239f265089982bc255de0f9db618ce7 (diff) |
Replaced randombytes_salsa20_random_buf() with randombytes() in av tests.
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 | ||