Browse Source

avfilter/asrc_aevalsrc: check correct variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 13 years ago
parent
commit
491d261ade
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/asrc_aevalsrc.c

+ 1
- 1
libavfilter/asrc_aevalsrc.c View File

@@ -91,7 +91,7 @@ static int init(AVFilterContext *ctx, const char *args)

if (!args1) {
av_log(ctx, AV_LOG_ERROR, "Channels expressions list is empty\n");
ret = args ? AVERROR(ENOMEM) : AVERROR(EINVAL);
ret = args1 ? AVERROR(ENOMEM) : AVERROR(EINVAL);
goto end;
}



Loading…
Cancel
Save