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>
Originally committed as revision 22527 to svn://svn.ffmpeg.org/ffmpeg/trunk