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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".