[FFmpeg-devel] [PATCH 2.5/3] libavformat/protocols.c: avio_enum_protocols(): Add block curly braces to 'if' statement
Michael Witten
mfwitten at gmail.com
Wed Aug 11 22:00:07 EEST 2021
This is preparation for the next commit.
---
libavformat/protocols.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/protocols.c b/libavformat/protocols.c
index 5e4bf5cbae..bedaa9ef77 100644
--- a/libavformat/protocols.c
+++ b/libavformat/protocols.c
@@ -101,8 +101,9 @@ iterate:
*opaque = NULL;
return NULL;
}
- if ((output && (*p)->url_write) || (!output && (*p)->url_read))
+ if ((output && (*p)->url_write) || (!output && (*p)->url_read)) {
return (*p)->name;
+ }
++p;
goto iterate;
}
--
2.22.0
More information about the ffmpeg-devel
mailing list