Use own libevent http client for downloading artwork, ffmpeg seems a

bit too slow
This commit is contained in:
ejurgensen
2015-03-31 00:08:29 +02:00
parent f947948a29
commit 96200eb808
3 changed files with 31 additions and 99 deletions

View File

@@ -12,7 +12,6 @@ struct http_client_ctx
{
int async;
const char *url;
int ret;
/* For sync mode, a keyval/evbuf to store response headers and body
* Can be set to NULL to ignore that part of the response
@@ -30,6 +29,7 @@ struct http_client_ctx
void (*cb)(struct evhttp_request *, void *);
/* Private */
int ret;
void *evbase;
};