conf: use the iterator directly when parsing video devices
We start with both i and def->nvideos at 0 and increment both after every successful iteration. Use i directly, instead of passing the def->nvideos value through j.
Showing
想要评论请 注册 或 登录