input/CdioParanoia: remove loop from Read()

The Read() method is not required to fill the whole buffer.  By
returning as soon as at least one byte was read, we allow faster
cancellation.
This commit is contained in:
Max Kellermann
2022-07-08 12:26:52 +02:00
parent 5573e78364
commit c32dceb4d4
2 changed files with 38 additions and 47 deletions

1
NEWS
View File

@@ -3,6 +3,7 @@ ver 0.23.8 (not yet released)
- curl: fix crash if web server does not understand WebDAV
* input
- cdio_paranoia: fix crash if no drive was found
- cdio_paranoia: faster cancellation
* output
- pipewire: fix crash with PipeWire 0.3.53
* mixer