Hey Ottavio, On Fri, 2003-03-28 at 07:57, Ottavio Campana wrote: > When I run it I get "mmap: Invalid argument" and then segfault. What is > invalid for mmap?
As far as I could see, you're not running VIDIOCGMBUF before mmap()'ing. You need to allocate/request the buffers (that's what VIDIOCGMBUF does) before using them. Ronald -- Ronald Bultje <[EMAIL PROTECTED]> -- video4linux-list mailing list Unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/video4linux-list