diff options
Diffstat (limited to 'v4l2-apps/util/qv4l2/general-tab.cpp')
-rw-r--r-- | v4l2-apps/util/qv4l2/general-tab.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l2-apps/util/qv4l2/general-tab.cpp b/v4l2-apps/util/qv4l2/general-tab.cpp index 87a0f520d..93ab329ba 100644 --- a/v4l2-apps/util/qv4l2/general-tab.cpp +++ b/v4l2-apps/util/qv4l2/general-tab.cpp @@ -41,6 +41,8 @@ GeneralTab::GeneralTab(int _fd, int n, QWidget *parent) : memset(&tuner, 0, sizeof(tuner)); ioctl(fd, VIDIOC_G_TUNER, &tuner); + if (tuner.rangehigh>INT_MAX) + tuner.rangehigh=INT_MAX; struct v4l2_input vin; memset(&vin, 0, sizeof(vin)); |