mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-10 06:49:40 +00:00
ast_format_cap_get_names: To display all formats, the buffer was increased.
ASTERISK-25533 #close Change-Id: Ie1a9d1a6511b3f1a56b93d04475fbf8a4e40010a
This commit is contained in:
@@ -321,6 +321,11 @@ int ast_format_cap_has_type(const struct ast_format_cap *cap, enum ast_media_typ
|
||||
*/
|
||||
const char *ast_format_cap_get_names(struct ast_format_cap *cap, struct ast_str **buf);
|
||||
|
||||
#ifndef AST_FORMAT_CAP_NAMES_LEN
|
||||
/*! Buffer size for callers of ast_format_cap_get_names to allocate. */
|
||||
#define AST_FORMAT_CAP_NAMES_LEN 384
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* \brief Determine if a format cap has no formats in it.
|
||||
*
|
||||
|
Reference in New Issue
Block a user