FIX: [mediacodec] more exception checking