mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 16:15:57 -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)
|
if (icy_timer && ctx->encode_ctx->icy_interval)
|
||||||
*icy_timer = (ctx->encode_ctx->total_bytes % ctx->encode_ctx->icy_interval < processed);
|
*icy_timer = (ctx->encode_ctx->total_bytes % ctx->encode_ctx->icy_interval < processed);
|
||||||
|
|
||||||
if (ret == AVERROR_EOF)
|
if ((ret < 0) && (ret != AVERROR_EOF))
|
||||||
ret = 0;
|
|
||||||
else if (ret < 0)
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
return processed;
|
return processed;
|
||||||
|
Loading…
Reference in New Issue
Block a user