diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-12 12:02:06 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-12 12:02:06 +0200 |
commit | 3d7d819aad52581c39aa3978bf9ae6d3c189e5a9 (patch) | |
tree | cadc7a3808f6f120283760bc45e68771de8788e6 | |
parent | fd6228e65711e63a9e35e9a1087d7ce62040e6e3 (diff) | |
download | ffmpeg-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.c | 2 |
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; } |