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 26211 to svn://svn.ffmpeg.org/ffmpeg/trunk