On Sun, 10 Feb 2002, Kevin Atkinson wrote: > I would email the author but I vaguely remember someone posting a similar > problem so I thought someone on this list might know. Here is some of the > code: > > p = mmap(NULL, vbuf.length, PROT_READ, MAP_SHARED, fd, vbuf.offset); > > if ((int) p == -1) { > if (errno == ENOMEM && i > 0) > break; > else > ASSERT("map capture buffer #%d", 0, i); > } else { Its necessary to adjust mp1e to open /dev/video with O_RDWR rather than read only, also, the mmap must be with PROT_READ|PROT_WRITE. Regards, Steve