0
0
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:
Kacper Michajłow 2024-06-15 20:01:39 +02:00
parent 3b3604e162
commit df6b16c0ca

View File

@ -916,7 +916,8 @@ bool stream_has_proto(const char *proto)
}
talloc_free(get_protocols);
return match;
if (match)
return match;
}
return false;