bitstream endianness, so they cannot reuse the same code without a lot of function call overhead. Thus use templating to compile two different binaries. Originally committed as revision 25312 to svn://svn.ffmpeg.org/ffmpeg/trunk