diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_sdp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_sdp.c b/tests/test_sdp.c index a5d3710d8..408888fc0 100644 --- a/tests/test_sdp.c +++ b/tests/test_sdp.c @@ -623,7 +623,11 @@ AST_TEST_DEFINE(sdp_to_topology) goto end; } - topology = ast_get_topology_from_sdp(sdp); + topology = ast_get_topology_from_sdp(sdp, 0); + if (!topology) { + res = AST_TEST_FAIL; + goto end; + } if (ast_stream_topology_get_count(topology) != 3) { ast_test_status_update(test, "Unexpected topology count '%d'. Expecting 2\n", |