mirror of
https://github.com/owntone/owntone-server.git
synced 2025-12-05 15:22:31 -05:00
[transcode] Don't pass error to player on eof + some comments and cleaning
This commit is contained in:
@@ -215,7 +215,7 @@ stream_chunk_xcode_cb(int fd, short event, void *arg)
|
||||
|
||||
st = (struct stream_ctx *)arg;
|
||||
|
||||
xcoded = transcode(st->xcode, st->evbuf, STREAM_CHUNK_SIZE, &dummy);
|
||||
xcoded = transcode(st->evbuf, STREAM_CHUNK_SIZE, st->xcode, &dummy);
|
||||
if (xcoded <= 0)
|
||||
{
|
||||
if (xcoded == 0)
|
||||
|
||||
Reference in New Issue
Block a user