diff mbox series

[FFmpeg-devel,33/34] avformat/tee: Reindentation

Message ID AM7PR03MB6660DAF3F2ECD3287022BF438FD29@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit c012fc34df040378450ec333f522bfa781a574d8
Headers show
Series [FFmpeg-devel,01/11] avformat/mux: Sanitize packets without data and side-data | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 6, 2021, 2:28 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavformat/tee.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
diff mbox series

Patch

diff --git a/libavformat/tee.c b/libavformat/tee.c
index 88a40ebe87..7ce9f7499d 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;
 }