aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Kuzmin <parafin@ximea.com>2012-06-22 14:48:01 +0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2012-06-24 00:42:16 +0200
commit82b51be6789aecc2d881232db6ea841d8d0ab8f9 (patch)
tree48df45162df18172367b1a60e5095dc7c875a3aa
parentf880dd00c71b895120fc0981eae83602f6adf0bd (diff)
downloadlibraw1394-82b51be6789aecc2d881232db6ea841d8d0ab8f9.tar.gz
Enable write access to isochronous reception buffer
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
-rw-r--r--src/fw-iso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fw-iso.c b/src/fw-iso.c
index 9599299..8e8149e 100644
--- a/src/fw-iso.c
+++ b/src/fw-iso.c
@@ -473,7 +473,7 @@ iso_init(fw_handle_t handle, int type,
prot = PROT_READ | PROT_WRITE;
break;
case FW_CDEV_ISO_CONTEXT_RECEIVE:
- prot = PROT_READ;
+ prot = PROT_READ | PROT_WRITE;
break;
default:
errno = EINVAL;