diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 13:18:39 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 13:18:39 +0000 |
commit | 3c135a8f6e9de5552eb9e68710b2165626091cca (patch) | |
tree | f929ff1b8317d228e748ebfd2d219a726910c0c6 /main/translate.c | |
parent | 9ec06834aa8b170447f70241de3d7f6d7cef8f46 (diff) |
Fix plc_samples warning when registering a translator. (issue #9897 reported by xylome)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67631 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/translate.c')
-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 ca044c331..5e2391a08 100644 --- a/main/translate.c +++ b/main/translate.c @@ -673,7 +673,7 @@ int __ast_register_translator(struct ast_translator *t, struct ast_module *mod) t->plc_samples, t->buffer_samples); return -1; } - if (t->dstfmt != AST_FORMAT_SLINEAR) + if (t->dstfmt != powerof(AST_FORMAT_SLINEAR)) ast_log(LOG_WARNING, "plc_samples %d format %x\n", t->plc_samples, t->dstfmt); } |