mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avfilter/aeval: don't leak the strdup'd expression string
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
e262411f32
commit
cd174c7c7c
1 changed files with 2 additions and 1 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue