diff options
author | Benny Prijono <bennylp@teluu.com> | 2011-07-23 02:54:03 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2011-07-23 02:54:03 +0000 |
commit | 0969b7bf31ebf7d555d23fc90739be031b8150b8 (patch) | |
tree | 49f52f6180301c08e9b6ab8e82810f785021a4c2 /pjmedia | |
parent | c336074922672ac6d31e1d0337f3dac7c6b4563d (diff) |
Misc (re #1320): fixed compilation error if SRTP is disabled. Thanks Bo Shi for the report
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3678 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia')
-rw-r--r-- | pjmedia/src/test/mips_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjmedia/src/test/mips_test.c b/pjmedia/src/test/mips_test.c index 31a33ed1..91551196 100644 --- a/pjmedia/src/test/mips_test.c +++ b/pjmedia/src/test/mips_test.c @@ -1726,6 +1726,7 @@ static pjmedia_port* create_stream( pj_pool_t *pool, if (status != PJ_SUCCESS) return NULL; +#if PJMEDIA_HAS_SRTP if (srtp_enabled) { pjmedia_srtp_setting opt; pjmedia_srtp_crypto crypto; @@ -1758,6 +1759,7 @@ static pjmedia_port* create_stream( pj_pool_t *pool, sp->transport = srtp; } +#endif /* Create stream */ status = pjmedia_stream_create(sp->endpt, pool, &si, sp->transport, NULL, |