Significantly reduce codectest execution time. Originally committed as revision 20804 to svn://svn.ffmpeg.org/ffmpeg/trunk