Various updates to media codecs