This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 2f59339479 avfilter/buffersink: Fix indentation
2f59339479 is described below
commit 2f59339479bb7dec14fe948a3dd5bdfe817e6bcf
Author: Andreas Rheinhardt <[email protected]>
AuthorDate: Tue Jun 23 21:05:49 2026 +0200
Commit: James Almer <[email protected]>
CommitDate: Tue Jun 23 22:38:55 2026 +0000
avfilter/buffersink: Fix indentation
Necessary after 509c1f99a7c0a3ffb9387c1aac19fe7b2c87594a.
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavfilter/buffersink.c | 70 ++++++++++++++++++++++++------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c
index dda3abf385..e829007557 100644
--- a/libavfilter/buffersink.c
+++ b/libavfilter/buffersink.c
@@ -299,26 +299,26 @@ static int vsink_query_formats(const AVFilterContext *ctx,
const BufferSinkContext *buf = ctx->priv;
int ret;
- if (buf->nb_pixel_formats) {
- ret = ff_set_pixel_formats_from_list2(ctx, cfg_in, cfg_out,
buf->pixel_formats);
- if (ret < 0)
- return ret;
- }
- if (buf->nb_colorspaces) {
- ret = ff_set_common_color_spaces_from_list2(ctx, cfg_in, cfg_out,
buf->colorspaces);
- if (ret < 0)
- return ret;
- }
- if (buf->nb_colorranges) {
- ret = ff_set_common_color_ranges_from_list2(ctx, cfg_in, cfg_out,
buf->colorranges);
- if (ret < 0)
- return ret;
- }
- if (buf->nb_alphamodes) {
- ret = ff_set_common_alpha_modes_from_list2(ctx, cfg_in, cfg_out,
buf->alphamodes);
- if (ret < 0)
- return ret;
- }
+ if (buf->nb_pixel_formats) {
+ ret = ff_set_pixel_formats_from_list2(ctx, cfg_in, cfg_out,
buf->pixel_formats);
+ if (ret < 0)
+ return ret;
+ }
+ if (buf->nb_colorspaces) {
+ ret = ff_set_common_color_spaces_from_list2(ctx, cfg_in, cfg_out,
buf->colorspaces);
+ if (ret < 0)
+ return ret;
+ }
+ if (buf->nb_colorranges) {
+ ret = ff_set_common_color_ranges_from_list2(ctx, cfg_in, cfg_out,
buf->colorranges);
+ if (ret < 0)
+ return ret;
+ }
+ if (buf->nb_alphamodes) {
+ ret = ff_set_common_alpha_modes_from_list2(ctx, cfg_in, cfg_out,
buf->alphamodes);
+ if (ret < 0)
+ return ret;
+ }
return 0;
}
@@ -330,21 +330,21 @@ static int asink_query_formats(const AVFilterContext *ctx,
const BufferSinkContext *buf = ctx->priv;
int ret;
- if (buf->nb_sample_formats) {
- ret = ff_set_sample_formats_from_list2(ctx, cfg_in, cfg_out,
buf->sample_formats);
- if (ret < 0)
- return ret;
- }
- if (buf->nb_samplerates) {
- ret = ff_set_common_samplerates_from_list2(ctx, cfg_in, cfg_out,
buf->samplerates);
- if (ret < 0)
- return ret;
- }
- if (buf->nb_channel_layouts) {
- ret = ff_set_common_channel_layouts_from_list2(ctx, cfg_in,
cfg_out, buf->channel_layouts);
- if (ret < 0)
- return ret;
- }
+ if (buf->nb_sample_formats) {
+ ret = ff_set_sample_formats_from_list2(ctx, cfg_in, cfg_out,
buf->sample_formats);
+ if (ret < 0)
+ return ret;
+ }
+ if (buf->nb_samplerates) {
+ ret = ff_set_common_samplerates_from_list2(ctx, cfg_in, cfg_out,
buf->samplerates);
+ if (ret < 0)
+ return ret;
+ }
+ if (buf->nb_channel_layouts) {
+ ret = ff_set_common_channel_layouts_from_list2(ctx, cfg_in, cfg_out,
buf->channel_layouts);
+ if (ret < 0)
+ return ret;
+ }
return 0;
}
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]