Fixes ticket #11395
Unified · Split
| @@ -114,7 +114,7 @@ static int parse_channel_expressions(AVFilterContext *ctx, · 113 unmodified lines | |||
| 114 | if (!args1) | 114 | if (!args1) |
| 115 | return AVERROR(ENOMEM); | 115 | return AVERROR(ENOMEM); |
| 116 | 116 | ||
| 117 | if (!eval->exprs) { | 117 | if (!eval->exprs || !*eval->exprs) { |
| 118 | av_log(ctx, AV_LOG_ERROR, "Channels expressions list is empty\n"); | 118 | av_log(ctx, AV_LOG_ERROR, "Channels expressions list is empty\n"); |
| 119 | return AVERROR(EINVAL); | 119 | return AVERROR(EINVAL); |
| 120 | } | 120 | } |