Change a case of CODEC_TYPE_ into AVMEDIA_TYPE_