[Ffmpeg-devel] [PATCH] Apple Video Encoder (rpza)

François Revol revol
Mon Jun 6 18:58:32 CEST 2005


> > 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.






More information about the ffmpeg-devel mailing list