Replace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_