Update examples/player.py

This commit is contained in:
kokarare1212 2021-05-21 12:45:41 +09:00
parent 19e1dbbde6
commit 5173a6ba91
1 changed files with 0 additions and 1 deletions

View File

@ -101,7 +101,6 @@ def play(track_id_str: str):
while True:
byte = stream.input_stream.stream().read()
if byte == -1:
ffplay.kill()
return
ffplay.stdin.write(bytes([byte]))