mirror of
https://github.com/mpv-player/mpv
synced 2024-12-15 19:35:49 +00: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;
|
|
}
|