forked from FFmpeg/FFmpeg
avfilter/aeval: tighten the check for empty expression
Fixes ticket #11395 Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
9d9ac8e2ca
commit
e262411f32
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ static int parse_channel_expressions(AVFilterContext *ctx,
|
|||
if (!args1)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
if (!eval->exprs) {
|
||||
if (!eval->exprs || !*eval->exprs) {
|
||||
av_log(ctx, AV_LOG_ERROR, "Channels expressions list is empty\n");
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue