avfilter/aeval: Fix use of uninitialized variable

Fixes CID1135776

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-12-11 15:31:32 +01:00
parent b6eee405ff
commit 0fe6906d96

View File

@ -172,7 +172,7 @@ end:
static av_cold int init(AVFilterContext *ctx)
{
EvalContext *eval = ctx->priv;
int ret;
int ret = 0;
if (eval->chlayout_str) {
if (!strcmp(eval->chlayout_str, "same") && !strcmp(ctx->filter->name, "aeval")) {