1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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) 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")) {