On Tuesday 18 January 2005 18:19, Johannes Berg wrote: > gerard klaver schrieb: > > >In this way the write cycle in sane_read will be reduced and is it > >possible to write a image from for example a 640 x 480 webcam in > >one cycle to the frontend buffer. > > > > > What's the advantage? If there really is an advantage, I think it should > probably be made dynamic instead. Using this much space on the stack > isn't really a good thing IMHO. > That would be my comment too. 1Mib on the stack - hmmm, I don't like this idea. If we really need such an amount of mem, use malloc!
My 2 cents Gerhard
