diff options
Diffstat (limited to 'main/frame.c')
-rw-r--r-- | main/frame.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/frame.c b/main/frame.c index 65bfc008f..8713ce40d 100644 --- a/main/frame.c +++ b/main/frame.c @@ -866,6 +866,8 @@ int ast_parse_allow_disallow(struct ast_codec_pref *pref, struct ast_format_cap } } else if (!iter_allowing) { memset(pref, 0, sizeof(*pref)); + } else { + ast_codec_pref_append_all(pref); } } } |