diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-07-14 13:40:43 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-07-14 13:40:43 -0500 |
commit | 3cf33dd4e7e886383531335efda3baca728b1f51 (patch) | |
tree | d6d7fc282adaf32dd7b595c70b7b843d017996a3 /main | |
parent | afcc519dff2318545b93da95b9f54fded823fdc3 (diff) | |
parent | 63ac4c9487ee085755c991813ec7e5994bf7ccc2 (diff) |
Merge "translate: explicit format destination not properly set"
Diffstat (limited to 'main')
-rw-r--r-- | main/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/translate.c b/main/translate.c index 8d37e3724..43e6e29bd 100644 --- a/main/translate.c +++ b/main/translate.c @@ -494,7 +494,7 @@ struct ast_trans_pvt *ast_translator_build_path(struct ast_format *dst, struct a AST_RWLIST_UNLOCK(&translators); return NULL; } - if ((t->dst_codec.sample_rate == ast_format_get_sample_rate(dst)) && (t->dst_codec.type == ast_format_get_type(dst)) && (!strcmp(t->dst_codec.name, ast_format_get_name(dst)))) { + if ((t->dst_codec.sample_rate == ast_format_get_sample_rate(dst)) && (t->dst_codec.type == ast_format_get_type(dst))) { explicit_dst = dst; } if (!(cur = newpvt(t, explicit_dst))) { |