Define AVMediaType enum, and use it instead of enum CodecType, whichis deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
CD+G demuxer and decoder
Patch by Michael Tison (gmail address: blackspike@....)
Originally committed as revision 20890 to svn://svn.ffmpeg.org/ffmpeg/trunk