[artwork] Add ability to rescale Spotify (should improve caching so we don't save too large images)

This commit is contained in:
ejurgensen
2016-01-05 21:44:44 +01:00
parent 9a0a390a73
commit 7caf8cc66a
4 changed files with 127 additions and 11 deletions

View File

@@ -725,7 +725,7 @@ open_output(struct encode_ctx *ctx, struct decode_ctx *src_ctx)
goto out_fail_evbuf;
}
ctx->ofmt_ctx->pb = avio_evbuffer_open(ctx->obuf);
ctx->ofmt_ctx->pb = avio_output_evbuffer_open(ctx->obuf);
if (!ctx->ofmt_ctx->pb)
{
DPRINTF(E_LOG, L_XCODE, "Could not create output avio pb\n");