use codec_get_id() instead of deprecated codec_get_[bmp/wav]_id()