This reduces the number of false dependencies on header files and
speeds up compilation.
Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
3.5 times faster than our mersene twister.
10 times less memory needed. (=less cache trashing)
Originally committed as revision 14458 to svn://svn.ffmpeg.org/ffmpeg/trunk