aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-12 11:28:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-12 11:54:39 +0200
commit491d261adecec619a3c7b92249133fb3ef0f5044 (patch)
treea31e20b79fded8464acd24648de62c928f242230
parentdee2db523d404edbea35e790720f93d1b3e5bc38 (diff)
downloadffmpeg-491d261adecec619a3c7b92249133fb3ef0f5044.tar.gz
avfilter/asrc_aevalsrc: check correct variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/asrc_aevalsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c
index 86e29cc125..73cb2ab9fe 100644
--- a/libavfilter/asrc_aevalsrc.c
+++ b/libavfilter/asrc_aevalsrc.c
@@ -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;
}