Commit 0fe6906d authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/aeval: Fix use of uninitialized variable

Fixes CID1135776
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b6eee405
...@@ -172,7 +172,7 @@ end: ...@@ -172,7 +172,7 @@ end:
static av_cold int init(AVFilterContext *ctx) static av_cold int init(AVFilterContext *ctx)
{ {
EvalContext *eval = ctx->priv; EvalContext *eval = ctx->priv;
int ret; int ret = 0;
if (eval->chlayout_str) { if (eval->chlayout_str) {
if (!strcmp(eval->chlayout_str, "same") && !strcmp(ctx->filter->name, "aeval")) { if (!strcmp(eval->chlayout_str, "same") && !strcmp(ctx->filter->name, "aeval")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment