mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-15 20:30:00 +01:00
- fix possible crash when unable to open v4l device
This commit is contained in:
@@ -360,7 +360,6 @@ int v4lsetpalette(v4ldevice *vd, int palette)
|
||||
int v4lgetmbuf(v4ldevice *vd)
|
||||
{
|
||||
if(ioctl(vd->fd, VIDIOCGMBUF, &(vd->mbuf))<0) {
|
||||
veejay_msg(0, "v4lgetmbuf:VIDIOCGMBUF %s", strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user