mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
[transcode] Fixup dead assignment
This commit is contained in:
parent
c13ed8761a
commit
548d9ada2e
@ -1467,9 +1467,7 @@ transcode(struct evbuffer *evbuf, int *icy_timer, struct transcode_ctx *ctx, int
|
||||
if (icy_timer && ctx->encode_ctx->icy_interval)
|
||||
*icy_timer = (ctx->encode_ctx->total_bytes % ctx->encode_ctx->icy_interval < processed);
|
||||
|
||||
if (ret == AVERROR_EOF)
|
||||
ret = 0;
|
||||
else if (ret < 0)
|
||||
if ((ret < 0) && (ret != AVERROR_EOF))
|
||||
return ret;
|
||||
|
||||
return processed;
|
||||
|
Loading…
Reference in New Issue
Block a user