summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar dmaas 2003-01-05 20:58:19 +0000
committerGravatar dmaas 2003-01-05 20:58:19 +0000
commit5bb327dc9030acfdc281583f1b1bc67380c04cbc (patch)
tree66900ca110fddb67f656fd9877228ee7ef43a66f /src/main.c
parentupdate iso API for multi-channel reception and new packet buffer layout (diff)
emulate legacy ISO reception API on top of new rawiso API
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@99 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1c6f190..c676fa7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -148,8 +148,9 @@ struct raw1394_handle *raw1394_new_handle(void)
handle->bus_reset_handler = bus_reset_default;
handle->tag_handler = tag_handler_default;
handle->arm_tag_handler = arm_tag_handler_default;
- memset(handle->iso_handler, 0, sizeof(handle->iso_handler));
handle->iso_buffer = NULL;
+ handle->legacy_iso_active = 0;
+ memset(handle->iso_handler, 0, sizeof(handle->iso_handler));
return handle;
}