mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
avfilter/af_channelsplit: check ff_insert_outpad() for failure
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
99dd47a647
commit
730734d4f3
@ -71,7 +71,9 @@ static av_cold int init(AVFilterContext *ctx)
|
||||
pad.type = AVMEDIA_TYPE_AUDIO;
|
||||
pad.name = av_get_channel_name(channel);
|
||||
|
||||
ff_insert_outpad(ctx, i, &pad);
|
||||
if ((ret = ff_insert_outpad(ctx, i, &pad)) < 0) {
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
fail:
|
||||
|
Loading…
Reference in New Issue
Block a user