fix another segfault

This commit is contained in:
Isaac Connor 2014-09-08 16:46:41 -04:00 committed by Jan M. Hochstein
parent dade075dfb
commit ebe4842ec2
1 changed files with 7 additions and 7 deletions

View File

@ -2134,7 +2134,7 @@ int LocalCamera::PostCapture()
return( -1 );
}
}
if ( v4l2_data.bufptr ) {
if ( v4l2_data ) {
Debug( 3, "Requeueing buffer %d", v4l2_data.bufptr->index );
if ( vidioctl( vid_fd, VIDIOC_QBUF, v4l2_data.bufptr ) < 0 )
{