From 2463515aad28acff640cd46c0bc1271aa62c30ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Mon, 4 Apr 2016 14:27:24 +0200 Subject: [PATCH] Fix build --- tester/mediastreamer2_audio_stream_tester.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tester/mediastreamer2_audio_stream_tester.c b/tester/mediastreamer2_audio_stream_tester.c index 6ae4a4061..dac7fa21a 100644 --- a/tester/mediastreamer2_audio_stream_tester.c +++ b/tester/mediastreamer2_audio_stream_tester.c @@ -257,7 +257,6 @@ static void encrypted_audio_stream_base( bool_t change_ssrc, stats_t margaux_stats; int dummy=0; int number_of_dropped_packets=0; - ms_media_stream_sessions_set_encryption_mandatory(&marielle->ms.sessions,encryption_mandatory); const char *aes_128_bits_send_key = "d0RmdmcmVCspeEc3QGZiNWpVLFJhQX1cfHAwJSoj"; const char *aes_128_bits_send_key_2 = "eCYF4nYyCvmCpFWjUeDaxI2GWp2BzCRlIPfg52Te"; @@ -267,9 +266,11 @@ static void encrypted_audio_stream_base( bool_t change_ssrc, const char *aes_256_bits_send_key_2 = "N3vq6TMfvtyYpqGaEi9vAHMCzgWJvaD1PIfwEYtdEgI2ACezZo2vpOdV2YWEcQ=="; const char *aes_256_bits_recv_key = "UKg69sFLbrA7d0hEVKMtT83R3GR3sjhE0XMqNBbQ+axoDWMP5dQNfjNuSQQHbw=="; - const char *send_key ; - const char *send_key_2 ; - const char *recv_key ; + const char *send_key = NULL; + const char *send_key_2 = NULL; + const char *recv_key = NULL; + + ms_media_stream_sessions_set_encryption_mandatory(&marielle->ms.sessions,encryption_mandatory); switch (suite) { case MS_AES_128_SHA1_32: @@ -287,7 +288,8 @@ static void encrypted_audio_stream_base( bool_t change_ssrc, break; default: - BC_ASSERT_FATAL("Unsupported suite"); + BC_FAIL("Unsupported suite"); + BC_ASSERT_FATAL(FALSE); break; }