[FFmpeg-devel] [PATCH 2.7/3] libavformat/protocols.c: avio_enum_protocols(): Indent code

Michael Witten mfwitten at gmail.com
Wed Aug 11 22:00:09 EEST 2021


Nothing but white space changed:

  $ git diff --ignore-all-space "$THIS"^ "$THIS" && echo NOTHING
  NOTHING

This is just setting up for the next commit.
---
 libavformat/protocols.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavformat/protocols.c b/libavformat/protocols.c
index ec7c72b14f..3f8433e317 100644
--- a/libavformat/protocols.c
+++ b/libavformat/protocols.c
@@ -100,10 +100,10 @@ iterate:
         *opaque = NULL;
         return NULL;
     }
-    if ((output && (*p)->url_write) || (!output && (*p)->url_read)) {
-        *opaque = (void *)p;
-        return (*p)->name;
-    }
+        if ((output && (*p)->url_write) || (!output && (*p)->url_read)) {
+            *opaque = (void *)p;
+            return (*p)->name;
+        }
     ++p;
     goto iterate;
 }
-- 
2.22.0



More information about the ffmpeg-devel mailing list