[FFmpeg-cvslog] avfilter/aeval: silence "may be used uninitialized" warning
Michael Niedermayer
git at videolan.org
Wed May 7 17:13:15 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 7 16:14:44 2014 +0200| [efbf107f5b28866d2e82701484e2859f5aa77e6d] | committer: Michael Niedermayer
avfilter/aeval: silence "may be used uninitialized" warning
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=efbf107f5b28866d2e82701484e2859f5aa77e6d
---
libavfilter/aeval.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/aeval.c b/libavfilter/aeval.c
index 2790cee..45629a9 100644
--- a/libavfilter/aeval.c
+++ b/libavfilter/aeval.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list