drop CodecIsXXX() methods, define an enum with types instead
renamed GetCodecId() to GetCodecByName(). added av_codec_is_decoder(). call av_register_all() before getting a list of codecs