[cpia] USB anyone?

sbertin@mindspring.com sbertin@mindspring.com
Tue, 18 Jan 2000 17:35:25 -0500 (EST)


On 18 Jan, Jochen Scharrlach wrote:
> Have you asked the i4l-crowd about this? I don't think that a close()
> on an unregistered video_device would be *possible*! The code looks
> like this:

I hadn't looked at what v4l does.  The video_unregister_device call in
cpia_unregister_camera definately should not happen if the camera is
open.  Just put an if(cam->open_count == 0) in front of it.

Scott J. Bertin
sbertin@mindspring.com