Hi Gerd & all, On Tue, 2003-02-11 at 13:30, Gerd Knorr wrote: > Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx> 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 <rbultje@xxxxxxxxxxxxxxxxxxx> Linux Video/Multimedia developer