Add missing multiple inclusion guards; clean up #endif comments; add missing library prefixes; keep guard names consistent.
Signed-off-by: Mans Rullgard <mans@mansr.com>
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