mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +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:
@@ -2508,7 +2508,7 @@ static struct ast_channel *vpb_request(const char *type, struct ast_format_cap *
|
||||
if (!(ast_format_cap_iscompatible_format(cap, ast_format_slin))) {
|
||||
struct ast_str *buf;
|
||||
|
||||
buf = ast_str_create(256);
|
||||
buf = ast_str_create(AST_FORMAT_CAP_NAMES_LEN);
|
||||
if (!buf) {
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user