mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-19 19:42:24 +02:00
stream: don't exit on first iteration if there is no match
Fixes: f921b64ed7
This commit is contained in:
parent
3b3604e162
commit
df6b16c0ca
@ -916,7 +916,8 @@ bool stream_has_proto(const char *proto)
|
||||
}
|
||||
|
||||
talloc_free(get_protocols);
|
||||
return match;
|
||||
if (match)
|
||||
return match;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user