Browse Source

avfilter/aeval: Fix use of uninitialized variable

Fixes CID1135776

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
0fe6906d96
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/aeval.c

+ 1
- 1
libavfilter/aeval.c View 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")) {


Loading…
Cancel
Save