aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-12 12:02:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-12 12:02:06 +0200
commit3d7d819aad52581c39aa3978bf9ae6d3c189e5a9 (patch)
treecadc7a3808f6f120283760bc45e68771de8788e6
parentfd6228e65711e63a9e35e9a1087d7ce62040e6e3 (diff)
downloadffmpeg-3d7d819aad52581c39aa3978bf9ae6d3c189e5a9.tar.gz
avfilter/asrc_aevalsrc: fix return code, 2nd try
Found-by: ubitux 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 f81fb2dd68..6e338ad1d6 100644
--- a/libavfilter/asrc_aevalsrc.c
+++ b/libavfilter/asrc_aevalsrc.c
@@ -91,7 +91,7 @@ static int init(AVFilterContext *ctx)
if (!args1) {
av_log(ctx, AV_LOG_ERROR, "Channels expressions list is empty\n");
- ret = args1 ? AVERROR(ENOMEM) : AVERROR(EINVAL);
+ ret = eval->exprs ? AVERROR(ENOMEM) : AVERROR(EINVAL);
goto end;
}