1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avfilter/asrc_aevalsrc: check correct variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-04-12 11:28:27 +02:00
parent dee2db523d
commit 491d261ade

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;
}