Commit 491d261a authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/asrc_aevalsrc: check correct variable

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent dee2db52
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment