Hi Gerd & all, On Tue, 2003-02-11 at 13:30, Gerd Knorr wrote: > Ronald Bultje <[EMAIL PROTECTED]> writes: > > Gerd, should xawtv be protected against moronic driver programmers like > > me by checking whether nbuf is zero in mm_queue() (or maybe in > > v4l_open()) in libng/plugins/drv-v4l.c? > > This way maybe? [..] > + > + /* buffers available ? */ > + if (h->mbuf.frames < 1) > + return -1;
Looks good. Thanks. :-). Ronald -- Ronald Bultje <[EMAIL PROTECTED]> Linux Video/Multimedia developer -- video4linux-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/video4linux-list