avfilter/aeval: Fix use of uninitialized variable
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 11 Dec 2013 14:31:32 +0000 (15:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 11 Dec 2013 14:31:32 +0000 (15:31 +0100)
Fixes CID1135776

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/aeval.c

index 3a05fb0..2790cee 100644 (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")) {