stream: Make ast_stream_topology_create_from_format_cap() allow NULL cap.

Change-Id: Ie29760c49c25d7022ba2124698283181a0dd5d08
This commit is contained in:
Richard Mudgett
2017-04-20 19:25:10 -05:00
parent d71c6e3bfd
commit 5c1851cbc0
3 changed files with 5 additions and 11 deletions

View File

@@ -356,7 +356,7 @@ int ast_stream_topology_set_stream(struct ast_stream_topology *topology,
* creates a topology and separates the media types in format_cap into
* separate streams.
*
* \param caps The format capabilities structure
* \param caps The format capabilities structure (NULL creates an empty topology)
*
* \retval non-NULL success
* \retval NULL failure