diff mbox series

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

Message ID 45e106fdfe83467ea64211d9dc176681@gmail.com
State New
Headers show
Series [FFmpeg-devel,2.1/3] libavformat/protocols.c: avio_enum_protocols(): Split declaration and initialization | expand

Checks

Context Check Description
andriy/configure warning Failed to apply patch

Commit Message

Michael Witten Aug. 11, 2021, 7 p.m. UTC
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 mbox series

Patch

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;
 }