Fixes ticket #11395

Signed-off-by: James Almer <jamr...@gmail.com>
---
 libavfilter/aeval.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/aeval.c b/libavfilter/aeval.c
index 0e7ba8df80..45813dada6 100644
--- a/libavfilter/aeval.c
+++ b/libavfilter/aeval.c
@@ -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);
     }
-- 
2.47.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to