af_format: remove redundant message prefixes

This commit is contained in:
wm4 2014-11-10 19:33:36 +01:00
parent 0b26d8c666
commit 995a6af787
1 changed files with 2 additions and 2 deletions

View File

@ -80,12 +80,12 @@ static int control(struct af_instance *af, int cmd, void *arg)
force_out_params(af, out); force_out_params(af, out);
if (in->nch != out->nch || in->bps != out->bps) { if (in->nch != out->nch || in->bps != out->bps) {
MP_ERR(af, "[af_format] Forced input/output formats are incompatible.\n"); MP_ERR(af, "Forced input/output formats are incompatible.\n");
return AF_ERROR; return AF_ERROR;
} }
if (priv->fail) { if (priv->fail) {
MP_ERR(af, "[af_format] Failing on purpose.\n"); MP_ERR(af, "Failing on purpose.\n");
return AF_ERROR; return AF_ERROR;
} }