reduce http timeout to 4s and make it configurable

Origin commit data
------------------
Branch: master
Commit: 4a56ebd0b3
Author: skyjet18 <57456827+skyjet18@users.noreply.github.com>
Date: 2023-01-24 (Tue, 24 Jan 2023)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
skyjet18
2023-01-24 20:57:12 +01:00
committed by vanhofen
parent 4fb62f13e6
commit 8a1cb9883f
5 changed files with 20 additions and 11 deletions

View File

@@ -37,11 +37,7 @@
static inline av_const int sign_extend(int val, unsigned bits)
{
unsigned shift = 8 * sizeof(int) - bits;
union
{
unsigned u;
int s;
} v = { (unsigned) val << shift };
union { unsigned u; int s; } v = { (unsigned) val << shift };
return v.s >> shift;
}
#endif