AVABufferSinkParams *params = opaque;
if (params && params->sample_fmts) {
- buf->sample_fmts = ff_copy_int_list (params->sample_fmts);
+ buf->sample_fmts = ff_copy_int_list(params->sample_fmts);
if (!buf->sample_fmts)
return AVERROR(ENOMEM);
}
AVFilterChannelLayouts *layouts = NULL;
if (buf->sample_fmts) {
- if (!(formats = ff_make_format_list(buf->sample_fmts)))
- return AVERROR(ENOMEM);
- ff_set_common_formats(ctx, formats);
+ if (!(formats = ff_make_format_list(buf->sample_fmts)))
+ return AVERROR(ENOMEM);
+ ff_set_common_formats(ctx, formats);
}
if (buf->channel_layouts || buf->all_channel_counts) {