Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jul 29, 2024
1 parent 96c14ab commit da637d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/m3u8download.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,13 @@ static int m3u8download_addqueue(
goto end;
}

code = curl_easy_setopt(download.curl, CURLOPT_SHARE, root->playlist.multi_client.curl_share);

if (code != CURLE_OK) {
err = M3U8ERR_CURL_SETOPT_FAILURE;
goto end;
}

if (byterange.length > 0) {
const biguint_t start = byterange.offset;
const biguint_t end = (byterange.length + start) - 1;
Expand Down

0 comments on commit da637d3

Please sign in to comment.