avfilter/aeval: silence "may be used uninitialized" warning
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 7 May 2014 14:14:44 +0000 (16:14 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 7 May 2014 14:15:50 +0000 (16:15 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/aeval.c

index 2790cee..45629a9 100644 (file)
@@ -105,7 +105,7 @@ static int parse_channel_expressions(AVFilterContext *ctx,
 {
     EvalContext *eval = ctx->priv;
     char *args1 = av_strdup(eval->exprs);
-    char *expr, *last_expr, *buf;
+    char *expr, *last_expr = NULL, *buf;
     double (* const *func1)(void *, double) = NULL;
     const char * const *func1_names = NULL;
     int i, ret = 0;