diff options
| author | Bob Abeles <[email protected]> | 2024-02-20 08:16:39 -0800 |
|---|---|---|
| committer | Bob Abeles <[email protected]> | 2024-02-20 08:16:39 -0800 |
| commit | 3f2df94457e917dda2fed05c7ee17deefe55199e (patch) | |
| tree | 5dbf6487453323068663b7ea3f7b8712ded2faf5 /src/class | |
| parent | 65e60f3123a664bd77c7e5a13021c5d0bba70b8f (diff) | |
video_device: fix uninitialized warning
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/video/video_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c index 1affd615e..c33dfa0b0 100644 --- a/src/class/video/video_device.c +++ b/src/class/video/video_device.c @@ -559,6 +559,7 @@ static bool _negotiate_streaming_parameters(videod_streaming_interface_t const * uint_fast8_t num_intervals = frm->uncompressed.bFrameIntervalType; if (num_intervals) { interval = 0; + interval_ms = 0; } else { interval = frm->uncompressed.dwFrameInterval[2]; interval_ms = interval / 10000; |
