mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
0d916c7f96
This shouldn't matter, but it's probably better if the code to check is valid - otherwise an extremely clever compiler might fail to compile it, and the feature would be misdetected. (Probably.) Found by cppcheck.
8 lines
139 B
C
8 lines
139 B
C
#include <sys/time.h>
|
|
#include <linux/videodev2.h>
|
|
int main(void)
|
|
{
|
|
struct v4l2_ext_controls ext;
|
|
return !!&ext.controls->value;
|
|
}
|