reduce http timeout to 4s and make it configurable

This commit is contained in:
skyjet18
2023-01-24 20:57:12 +01:00
committed by Thilo Graf
parent 66363cc76b
commit e4d1d85a6e
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