mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
reduce http timeout to 4s and make it configurable
This commit is contained in:
6
libeplayer3/external/ffmpeg/mathops.h
vendored
6
libeplayer3/external/ffmpeg/mathops.h
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user