aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2011-12-20 13:18:48 +0100
committerStefano Sabatini <stefasab@gmail.com>2011-12-20 13:19:36 +0100
commitf1622a17fd8f2979e164304b09b56072529d5d02 (patch)
tree0d0659f45c731f80b00bc3999424480ad7df059b
parent4d475f7eb3969a378f1c2722118c57b62d2ac461 (diff)
downloadffmpeg-f1622a17fd8f2979e164304b09b56072529d5d02.tar.gz
lavd/lavfi: reindent block in lavfi_read_header
-rw-r--r--libavdevice/lavfi.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index ed37f23267..b04278271c 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -187,22 +187,22 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx,
}
if (type == AVMEDIA_TYPE_VIDEO) {
- AVBufferSinkParams *buffersink_params = av_buffersink_params_alloc();
+ AVBufferSinkParams *buffersink_params = av_buffersink_params_alloc();
#if FF_API_OLD_VSINK_API
- ret = avfilter_graph_create_filter(&sink, buffersink,
- inout->name, NULL,
- pix_fmts, lavfi->graph);
+ ret = avfilter_graph_create_filter(&sink, buffersink,
+ inout->name, NULL,
+ pix_fmts, lavfi->graph);
#else
- buffersink_params->pixel_fmts = pix_fmts;
- ret = avfilter_graph_create_filter(&sink, buffersink,
- inout->name, NULL,
- buffersink_params, lavfi->graph);
+ buffersink_params->pixel_fmts = pix_fmts;
+ ret = avfilter_graph_create_filter(&sink, buffersink,
+ inout->name, NULL,
+ buffersink_params, lavfi->graph);
#endif
- av_freep(&buffersink_params);
+ av_freep(&buffersink_params);
- if (ret < 0)
- goto end;
+ if (ret < 0)
+ goto end;
} else if (type == AVMEDIA_TYPE_AUDIO) {
enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_S16, -1 };
const int packing_fmts[] = { AVFILTER_PACKED, -1 };