aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/translate.c b/main/translate.c
index 7ed772458..f13f62746 100644
--- a/main/translate.c
+++ b/main/translate.c
@@ -598,7 +598,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);
}