From 4d0e1a4536e010ecfb48d40fcde65246d655c84b Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Tue, 14 Jan 2014 14:48:42 +0000 Subject: [PATCH] v4l2: attempt to fix infinite (for small version of infinite) loop --- sys/v4l2/v4l2_calls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index a0696b8996..186e78010f 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -294,6 +294,7 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) if (n < V4L2_CID_PRIVATE_BASE) { GST_DEBUG_OBJECT (e, "skipping control %08x", n); /* continue so that we also check private controls */ + n = V4L2_CID_PRIVATE_BASE - 1; continue; } else { GST_DEBUG_OBJECT (e, "controls finished");