mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avfilter/af_join: check ff_insert_inpad() for failure
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
13f9639e3e
commit
db5604ac26
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user