diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dv1394.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dv1394.cc b/src/dv1394.cc index 0fde723..2086604 100644 --- a/src/dv1394.cc +++ b/src/dv1394.cc @@ -77,6 +77,7 @@ bool dv1394::connect() handle = raw1394_new_handle_on_port(port); //printf(" handle: %p\n", handle); + if(!handle) return false; frame = iec61883_dv_fb_init(handle, write_frame, this); //printf(" frame: %p\n", frame); |