You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/aeval: don't leak the strdup'd expression string
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -116,7 +116,8 @@ static int parse_channel_expressions(AVFilterContext *ctx,
|
||||
|
||||
if (!eval->exprs || !*eval->exprs) {
|
||||
av_log(ctx, AV_LOG_ERROR, "Channels expressions list is empty\n");
|
||||
return AVERROR(EINVAL);
|
||||
ret = AVERROR(EINVAL);
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (!strcmp(ctx->filter->name, "aeval")) {
|
||||
|
Reference in New Issue
Block a user