[lkml]   [2012]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectpossible bug (or not clear coding) in uvc_v4l2.c
Good day, 

I am sorry to disturb you, I have been reading through uvc driver source
and this caught my eye:

678: int pin = 0;
689: } else if (pin < selector->bNrInPins) {
690: pin = selector->baSourceID[index];

pin is always 0 in the comparison, was this intended?
(wasn't the line 690 supposed to be before the comparison?
or the index to be compared to bNrInPins?)

Please excuse me wasting your tine if it is a total nonsense.

Jozef Vesely

PS: I am looking for a reason why MJPEG stopped working
on my cameras (long time ago), any hints?

 \ /
  Last update: 2012-03-20 17:43    [W:0.030 / U:54.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site