mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 02:04:58 +00:00
lavfi/abuffersink: fix weird indent and spacing
This commit is contained in:
parent
b59cd089ff
commit
566560b85c
@ -300,7 +300,7 @@ static av_cold int asink_init(AVFilterContext *ctx, const char *args, void *opaq
|
|||||||
AVABufferSinkParams *params = opaque;
|
AVABufferSinkParams *params = opaque;
|
||||||
|
|
||||||
if (params && params->sample_fmts) {
|
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)
|
if (!buf->sample_fmts)
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
@ -342,9 +342,9 @@ static int asink_query_formats(AVFilterContext *ctx)
|
|||||||
AVFilterChannelLayouts *layouts = NULL;
|
AVFilterChannelLayouts *layouts = NULL;
|
||||||
|
|
||||||
if (buf->sample_fmts) {
|
if (buf->sample_fmts) {
|
||||||
if (!(formats = ff_make_format_list(buf->sample_fmts)))
|
if (!(formats = ff_make_format_list(buf->sample_fmts)))
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
ff_set_common_formats(ctx, formats);
|
ff_set_common_formats(ctx, formats);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (buf->channel_layouts || buf->all_channel_counts) {
|
if (buf->channel_layouts || buf->all_channel_counts) {
|
||||||
|
Loading…
Reference in New Issue
Block a user