Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrisez committed Apr 4, 2016
1 parent 100568b commit 8b6585b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tester/mediastreamer2_audio_stream_tester.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -271,6 +270,8 @@ static void encrypted_audio_stream_base( bool_t change_ssrc,
const char *send_key_2 ;
const char *recv_key ;

ms_media_stream_sessions_set_encryption_mandatory(&marielle->ms.sessions,encryption_mandatory);

switch (suite) {
case MS_AES_128_SHA1_32:
case MS_AES_128_SHA1_80:
Expand All @@ -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;
}

Expand Down

0 comments on commit 8b6585b

Please sign in to comment.