This allocates per-thread copies of some MpegEncContext.ac_val which is used concurrently from the encoding threads. Originally committed as revision 23933 to svn://svn.ffmpeg.org/ffmpeg/trunk