summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-11-18 17:09:29 +0800
committerJun Zhao <jun.zhao@intel.com>2018-11-27 10:45:25 +0800
commite002ec332b75af3ba17191e1329ed2450996e294 (patch)
tree715820676a2c3369320978dc06134c46facb82cc /libavfilter
parenta036c25969498693539f5e494e1f25ad2227e24c (diff)
lavfi/buffersrc: Indent the code.
commit b0012de420f missed reindent. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/buffersrc.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index cd56f8ca45..0c12650e1e 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -205,21 +205,21 @@ static int av_buffersrc_add_frame_internal(AVFilterContext *ctx,
if (!(flags & AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT)) {
- switch (ctx->outputs[0]->type) {
- case AVMEDIA_TYPE_VIDEO:
- CHECK_VIDEO_PARAM_CHANGE(ctx, s, frame->width, frame->height,
- frame->format);
- break;
- case AVMEDIA_TYPE_AUDIO:
- /* For layouts unknown on input but known on link after negotiation. */
- if (!frame->channel_layout)
- frame->channel_layout = s->channel_layout;
- CHECK_AUDIO_PARAM_CHANGE(ctx, s, frame->sample_rate, frame->channel_layout,
- frame->channels, frame->format);
- break;
- default:
- return AVERROR(EINVAL);
- }
+ switch (ctx->outputs[0]->type) {
+ case AVMEDIA_TYPE_VIDEO:
+ CHECK_VIDEO_PARAM_CHANGE(ctx, s, frame->width, frame->height,
+ frame->format);
+ break;
+ case AVMEDIA_TYPE_AUDIO:
+ /* For layouts unknown on input but known on link after negotiation. */
+ if (!frame->channel_layout)
+ frame->channel_layout = s->channel_layout;
+ CHECK_AUDIO_PARAM_CHANGE(ctx, s, frame->sample_rate, frame->channel_layout,
+ frame->channels, frame->format);
+ break;
+ default:
+ return AVERROR(EINVAL);
+ }
}