summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ffmpeg/libavfilter/aeval.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/libavfilter/aeval.c')
-rw-r--r--chromium/third_party/ffmpeg/libavfilter/aeval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/ffmpeg/libavfilter/aeval.c b/chromium/third_party/ffmpeg/libavfilter/aeval.c
index 3a05fb016ec..45629a98ea2 100644
--- a/chromium/third_party/ffmpeg/libavfilter/aeval.c
+++ b/chromium/third_party/ffmpeg/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;
@@ -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")) {