summaryrefslogtreecommitdiff
path: root/libavformat/tee.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-06 04:25:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-03 20:56:12 +0200
commitc012fc34df040378450ec333f522bfa781a574d8 (patch)
tree9816c2807b13afd4d04795567286cbe9e7b335eb /libavformat/tee.c
parentb3612b5f5297284629669cddc4a3eb4fd43498ef (diff)
avformat/tee: Reindentation
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r--libavformat/tee.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/tee.c b/libavformat/tee.c
index 902c91f093..dfdf70cb08 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -98,15 +98,15 @@ static inline int parse_slave_failure_policy_option(const char *opt, TeeSlave *t
static int parse_slave_fifo_policy(const char *use_fifo, TeeSlave *tee_slave)
{
- /*TODO - change this to use proper function for parsing boolean
- * options when there is one */
- if (av_match_name(use_fifo, "true,y,yes,enable,enabled,on,1")) {
- tee_slave->use_fifo = 1;
- } else if (av_match_name(use_fifo, "false,n,no,disable,disabled,off,0")) {
- tee_slave->use_fifo = 0;
- } else {
- return AVERROR(EINVAL);
- }
+ /*TODO - change this to use proper function for parsing boolean
+ * options when there is one */
+ if (av_match_name(use_fifo, "true,y,yes,enable,enabled,on,1")) {
+ tee_slave->use_fifo = 1;
+ } else if (av_match_name(use_fifo, "false,n,no,disable,disabled,off,0")) {
+ tee_slave->use_fifo = 0;
+ } else {
+ return AVERROR(EINVAL);
+ }
return 0;
}