mirror of https://github.com/mpv-player/mpv
stream: don't exit on first iteration if there is no match
Fixes: f921b64ed7
This commit is contained in:
parent
3b3604e162
commit
df6b16c0ca
|
@ -916,6 +916,7 @@ bool stream_has_proto(const char *proto)
|
|||
}
|
||||
|
||||
talloc_free(get_protocols);
|
||||
if (match)
|
||||
return match;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue