Commit db5604ac authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_join: check ff_insert_inpad() for failure

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 13f9639e
......@@ -232,7 +232,10 @@ static av_cold int join_init(AVFilterContext *ctx)
pad.needs_fifo = 1;
ff_insert_inpad(ctx, i, &pad);
if ((ret = ff_insert_inpad(ctx, i, &pad)) < 0) {
av_freep(&pad.name);
return ret;
}
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment