> > Is this a new requirement? > > no, random() is forbidden in libav*, ill shoot everyone who commited > non debug > code which uses random() ;) I think I've found a definition for NULL that will satisfy everyone: #define NULL ((void *)((((unsigned)random()) % 2) >> 1) Fran?ois.