You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/asrc_aevalsrc: fix return code, 2nd try
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user