media_find
if ((match = media_find(env->sc_mediatypes, file)) != NULL)
struct media_type *media_find(struct mediatypes *, const char *);